I'd like to change the text after the ZIP code box from "update cart after entering" to "We get the full address from PayPal". I'd also like to add a sentence of text that says "For gifts or multiple addresses, enter a 'Note to Seller' on PayPal."
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?
Sorry about that, I did not notice that the first comment on the thread was from a different E-junkie client. As for the code you are trying to add. I have looked at your code and there is no reason I can find that it should not work I am going to check with development and see if we can find out why the text is not being replaced.
Hello:
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
I'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' 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-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
PLEASE add this fix (replacing all the occurrences of jQuery with ejejc_jQuery) to the 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!!
Good idea; I've added a troubleshooting page about it here, linked from the main cart customization help page:
http://www.e-junkie.com/ej/trouble.custom-cart.jquery.htm
Hello,
I have made the changes suggested above but the shopping cart is still being shown as default.
Here is my code:
<a class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this);" href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=1175276&cl=232553&ejc=2" target="ejejc"> <img src="http://www.e-junkie.com/ej/ejadd_to_cart.gif" alt="Add to Cart" border="0" /> </a>
<a class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this);" href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=232553&ejc=2" target="ejejc"> <img src="http://www.e-junkie.com/ej/ejview_cart.gif" alt="View Cart" border="0" /> </a>
<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
ejejc_jQuery("#state2").attr("innerHTML", " Actualiza el Carrito Despues de Ingresar el Codigo ");
ejejc_jQuery("#dscnt_cd").attr("innerHTML", " Codigo de Descuento ");
ejejc_jQuery("#discount2").attr("innerHTML", " Actualiza el Carrito Despues de Ingresar el Codigo ");
ejejc_jQuery("#btnContShop").attr("value", " Sequir Comprando ");
ejejc_jQuery("#btnUpdtCart").attr("value", " Actualizar el Carrito ");
ejejc_jQuery("#EJEJC_closeWindowButton").attr("innerHTML", "<b>Cerrar</b>");
}
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>
Your help is greatly appreciated.
Regards,
Daniel
Hm, that customization code appears to work fine when I copy and paste it into a test page.
You may need to force-refresh the page in your browser to make sure it's downloading the most current page direct from your server, rather than showing you an older copy of the page it cached from a previous visit. To force a full reload of the page, hold down the Ctrl key (on PC) or Shift key (on Mac) while you click the Reload/Refresh button.
If the page still doesn't show your customizations after that, please provide a link to the page where you've added this customization code, so we can have a closer look at what might be going on there.
I held down the Ctrl key while refreshing the page and the customizations are still not showing.
The link to the page is;
http://www.cursodecomputacionbasica.com/programa-para-limpiar-pc/
The ADD TO CART and VIEW CART buttons are at the very bottom of the page.
Your customizations currently appear to be working fine on that page, so perhaps you have sorted this out already? Note the customization only works with E-junkie Cart buttons. The other Buy Now buttons you are using elsewhere on that page would bypass our cart entirely to take buyers directly to instant checkout for just one item at a time, so in that case there is no cart to customize.
This help page explains how PayPal determines the language used on their checkout site:
http://www.e-junkie.com/ej/faq.paypal.language.htm
I have seen some E-junkie carts that once you click the checkout button they take you to an order summary page that has a language selection drop down on the top right hand corner. How do I achieve this?
You can find the page at the below link.
http://www.problogger.net/learn/
Whether that language selector menu appears or not is determined entirely at PayPal's end. It's been tough to track down any further details about that, but apparently it depends on the Residence country of the seller's PayPal account. If the seller's country has been set up for language localization, the language menu would appear for their buyers, so apparently your country has not been set up for that yet.
Unfortunately, the Amount, Quantity, and Remove labels in the cart don't appear to be customizable, but most other text in the cart can be customized as we explain here:
1http://www.e-junkie.com/ej/help.custom-cart.htm1
Suggested Topics
Topic | Category | Replies | Views | Activity |
---|---|---|---|---|
504 Gateway Timeout | E-junkie Discussions | 1 | 414 | Apr '24 |
Ebay delivery | E-junkie Discussions | 2 | 350 | Dec '24 |
Loved the product! | E-junkie Discussions | 0 | 238 | Jul '24 |
Reddit Link Click Tracking | E-junkie Discussions | 2 | 261 | Aug '24 |
Issue with CC processing | E-junkie Discussions | 3 | 228 | Aug '24 |