E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2012, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Tue, 7 Feb 2012 05:06:33 GMT Fri, 10 Feb 2012 16:01:19 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #14 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Tue, 7 Feb 2012 05:06:33 GMT http://www.e-junkie.com/ej/trouble.custom-cart.jquery.htm]]> E-junkie Discussions; E-junkieGuru Post #13 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Mon, 6 Feb 2012 15:42:36 GMT http://www.e-junkie.com/ej/help.custom-cart.htm page in the troubleshooting section!

I wasted a lot of time trying to figure out why it was not working and if it was in the troubleshooting section, I would have figured it out right away.

Thanks!!]]>
E-junkie Discussions; TourisCurrent
Post #12 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Thu, 8 Dec 2011 06:18:57 GMT E-junkieGuruI've already responded to your related inquiry here:
http://www.e-junkie.com/bb/topic/4522/pg/0#post19751

However, your site appears to be using its own jQuery which may be conflicting with the jQuery in our cart that's used for customization; in this case, you can use 'ejejc_jQuery' in place of 'jQuery'

Hello:

That was it! Thank you very much. The issue is solved by replacing all the occurrences of 'jQuery' by 'ejejc_jQuery'

Thank you. Best regards,
Luis Garcia]]>
E-junkie Discussions; LuisArtedelaMemoria
Post #11 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Thu, 8 Dec 2011 01:33:02 GMT http://www.e-junkie.com/bb/topic/4522/pg/0#post19751

However, your site appears to be using its own jQuery which may be conflicting with the jQuery in our cart that's used for customization; in this case, you can use 'ejejc_jQuery' in place of 'jQuery' for our cart customization code, like this (for the example code provided in my other forum reply to you):

<script language="javascript" type="text/javascript">
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
ejejc_jQuery("#country1").attr("innerHTML", "Ship to Country");
ejejc_jQuery("#state1").attr("innerHTML", "ZIP/Postal Code");
ejejc_jQuery("#state2").attr("innerHTML", "Update Cart after entering");
ejejc_jQuery("#dscnt_cd").attr("innerHTML", "Discount Code");
ejejc_jQuery("#discount2").attr("innerHTML", "Update Cart after entering");
ejejc_jQuery("#btnContShop").attr("value", "Continue Shopping");
ejejc_jQuery("#btnUpdtCart").attr("value", "Update Cart");
ejejc_jQuery("#EJEJC_closeWindowButton").attr("innerHTML", "<b>Close</b>");
}
</script>]]>
E-junkie Discussions; E-junkieGuru
Post #10 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Wed, 7 Dec 2011 16:13:14 GMT
I'm trying to customize the test labels, to translate them into Spanish.

The innerHTML values don't show the new intended value. This is the problem. For instance:

jQuery("#state1").attr("innerHTML", "Código Postal");

should show Código Postal instead of

ZIP/Postal Code

For other non "innerHTML" values, the customization works fine. I use the following code:


<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
// Not working, displaying 'Your Country' instead
jQuery("#country1").attr("innerHTML", "País");
// Not working, displaying 'ZIP/Postal Code' instead
jQuery("#state1").attr("innerHTML", "Código Postal");
// Working OK
jQuery("#btnContShop").attr("value", "Continuar comprando");
// Working OK
jQuery("#btnUpdtCart").attr("value", "Pulsar en 'Actualizar Carrito'");
}
// -->
</script><br />
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>

Other detail:
- I'm using this on a Wordpress(.org) blog

Any ideas will be very welcome.

Thank you. Regards,
Luis]]>
E-junkie Discussions; LuisArtedelaMemoria
Post #9 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Mon, 12 Jul 2010 23:05:00 GMT
<--

...that line needs to be like this:

<!--]]>
E-junkie Discussions; E-junkieGuru
Post #8 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Sat, 10 Jul 2010 17:51:24 GMT E-junkie Discussions; E-junkieNinja Post #7 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Fri, 9 Jul 2010 23:54:42 GMT
I don't understand your comment about French -- I didn't ask to make any changes in French. Was this comment posted on the correct thread?]]>
E-junkie Discussions; johnatthebar
Post #6 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Fri, 9 Jul 2010 22:01:00 GMT E-junkie Discussions; E-junkieNinja Post #5 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Fri, 9 Jul 2010 01:52:39 GMT
I've now entered your slimmed-down code, but the changes <a href="http://portlandafoot.org/subscribe/">still don't appear</a>. Obviously I'm hoping this can be fixed ASAP.]]>
E-junkie Discussions; johnatthebar
Post #4 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Thu, 8 Jul 2010 03:14:11 GMT
Aside from that, you only need to include jQuery lines for the labels you're customizing to say something different than the standard cart, and you seem to have some duplicates which could be causing a problem, so try this View Cart code instead:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=110480&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img align="right" src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a>
<script language="javascript" type="text/javascript">
<--
function EJEJC_lc(th) { return false; }
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#state2").attr("innerHTML", "We get the full address from PayPal");
jQuery("#tdPmnt").attr("innerHTML",
"For gifts or multiple addresses, enter a 'Note to Seller' on PayPal");
}
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>]]>
E-junkie Discussions; E-junkieGuru
Post #3 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Wed, 7 Jul 2010 17:41:54 GMT
Here's the page in question:
http://portlandafoot.org/subscribe/

And here's the code I've entered in my attempt to customize the cart:

<p><a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=110480&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img align="right" src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a><br />
<script language="javascript" type="text/javascript">
<--
function EJEJC_lc(th) { return false; }
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#country1").attr("innerHTML", "Ship to Country");
jQuery("#state1").attr("innerHTML", "Ship to Postal Code");
jQuery("#state2").attr("innerHTML", "We'll get the full address from PayPal");
jQuery("#dscnt_cd").attr("innerHTML", "Discount Code");
jQuery("#discount2").attr("innerHTML", "(Update Cart after entering)");
jQuery("#btnContShop").attr("value", "Continue Shopping");
jQuery("#btnUpdtCart").attr("value", "Update Cart");
jQuery("#tdPmnt").attr("innerHTML", "For gifts or multiple addresses, enter a 'note to seller' on PayPal");
jQuery("#tdPmnt").attr("innerHTML", "<b>Checkout:</b>");
jQuery("#btnContShop").remove();
jQuery("#EJEJC_closeWindowButton").attr("innerHTML", "<b>Close</b>");
}
// -->
</script><br />
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script></p>

What's going wrong here?]]>
E-junkie Discussions; johnatthebar
Post #2 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Mon, 4 May 2009 23:28:29 GMT
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#country1").attr("innerHTML", "Ship to Country");
jQuery("#state1").attr("innerHTML", "Ship to Postal Code");
jQuery("#state2").attr("innerHTML", "(Update Cart after entering)");
jQuery("#dscnt_cd").attr("innerHTML", "Discount Code");
jQuery("#discount2").attr("innerHTML", "(Update Cart after entering)");
jQuery("#btnContShop").attr("value", "Continue Shopping");
jQuery("#btnUpdtCart").attr("value", "Update Cart");
jQuery("#tdPmnt").attr("innerHTML", "<b>Checkout:</b>");
jQuery("#EJEJC_closeWindowButton").attr("innerHTML", "<b>Close</b>");
}]]>
E-junkie Discussions; E-junkieGuru
Post #1 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 http://www.e-junkie.com/bb/topic/3359/pg/0#post20255 Mon, 4 May 2009 08:50:18 GMT I would love to get a french shopping cart window ! How to do that ?
I know about buttons and Thank you page but how to modifiy the shopping cart window ?

Thanks]]>
E-junkie Discussions; basile