We have set up delivery to be free over £300 and I was hoping to use a document.write script to tell people if delivery would be free on the product they were viewing. Am I have problem, I think it is because the NETQUOTEVAR for the product includes the £ sign. Is there a different variable I can use or a way around this? I have included the type of script I was hoping to use in Act_ProductPrice.html
<script type="text/javascript">
var cost = NETQUOTEVAR:COST
if (cost > 300)
{
document.write("& Free Delivery")
}
</script>
Any help appreciated.
Wyn
<script type="text/javascript">
var cost = NETQUOTEVAR:COST
if (cost > 300)
{
document.write("& Free Delivery")
}
</script>
Any help appreciated.
Wyn
Comment