Many of the shopping cart systems out there are setup in one language and that language is often English. But we recognize that not every shop caters to English-speaking buyers and have built a system that accommodates a variety of shops and sellers.
With E-junkie's Cart Customization feature and a little bit of coding, you can switch your cart to another language.
In this tutorial, we'll walk you through that switch step-by-step.
Here is an example of what our default cart looks like:
For this blog I am going to change the text that we can
change to Spanish because that is the a most common language change request our support staff
gets e-mailed about.
Here is our default View Cart Code:
<a
href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=49889&ejc=2"
target="ej_ejc" class="ec_ejc_thkbx"
onClick="javascript:return EJEJC_lc(this);"><img
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; }
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js'
type='text/javascript'></script>
Here is the code with the extra coding to change the text:
<a
href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=49889&ejc=2"
target="ej_ejc" class="ec_ejc_thkbx"
onClick="javascript:return EJEJC_lc(this);"><img
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("#country1").attr("innerHTML",
"Tu País");
jQuery("#state1").attr("innerHTML",
"Código Postal");
jQuery("#state2").attr("innerHTML",
"Actualización de la Compra");
jQuery("#dscnt_cd").attr("innerHTML",
" Código de Descuento");
jQuery("#discount2").attr("innerHTML",
"Actualización de la Compra");
jQuery("#btnContShop").attr("value",
"Volver a la Tienda");
jQuery("#btnUpdtCart").attr("value",
"Actualización de la Compra");
jQuery("#EJEJC_closeWindowButton").attr("innerHTML",
"<b>Cerrar</b>");
jQuery("#tdPmnt").attr("innerHTML"
,”Pagar");
}
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js'
type='text/javascript'></script>
And finally, here is what the cart will look like:
As always, if you have any questions about E-junkie you can contact our
support staff here.
Post a Comment