A small improvement in order that mistakes do not appear of javascript

Search for:

document.getElementById("productNEWprice1").innerH TML = currencysymbol1 + myTotalPrice + currencysymbol2;

Replace:

if(document.getElementById("productNEWprice1")!=nu ll){
document.getElementById("productNEWprice1").innerH TML = currencysymbol1 + myTotalPrice + currencysymbol2;
}


---

Una pequeña mejora para que no aparezcan errores de javascript

Buscad:

document.getElementById("productNEWprice1").innerH TML = currencysymbol1 + myTotalPrice + currencysymbol2;


Reemplazad:

if(document.getElementById("productNEWprice1")!=nu ll){
document.getElementById("productNEWprice1").innerH TML = currencysymbol1 + myTotalPrice + currencysymbol2;
}


More...