3 / 3
Dec 2012

I customized the js cart code to translate some strings:

<script language="javascript" type="text/javascript">

<!--

function EJEJC_lc(th) { return false; }

function EJEJC_config() { EJEJC_POSTCALL=true; }

function EJEJC_shown() {

jQuery("#btnUpdtCart").attr("value", "Aggiorna il carrello");

jQuery("#btnContShop").remove();

jQuery("#country1").attr("innerHTML", "Invia al Paese");

jQuery("#state1").attr("innerHTML", "Codice Postale");

jQuery("#state2").attr("innerHTML", "Aggiorna il carrello dopo l'inserimento");

jQuery("#dscnt_cd").attr("innerHTML", "Codice Sconto");

jQuery("#discount2").attr("innerHTML", "Aggiorna il carrello dopo l'inserimento del codice sconto");

jQuery("#btnContShop").attr("value", "Continua gli acquisti");



jQuery("#EJEJC_closeWindowButton").attr("innerHTML", "<b>Chiudi</b>");

}

// -->

</script>

<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>



Among all, only the "Update Cart" string is translated. The other ones remain unchanged. What am I doing wrong?

The webpage is this:

http://www.fotocomefare.com/prova-e-junkie/

  • created

    Dec '12
  • last reply

    Dec '12
  • 2

    replies

  • 1.0k

    views

  • 2

    users

  • 3

    links