Hi
In the V6 forum, Norman kindly identified a method of using JavaScript to strip off the pence/cents from a displayed price.
For example, I would like to display the pricing in the main catalog area in the form £1,000 / $1,870 rather than the default form £1,000.00 / $1,870.00.
I have studied the V6 solution with care and cannot get it to work correctly on my V7 site where I have dual GBP and USD pricing. The symptoms are that the price/cents remain present in the catalog preview displays.
The script that Norman proposed in the thread was:-
<!--
document.write("NETQUOTEVAR:COST".replace(/&#46;\d\d/,""));
// -->
</script>
<noscript>NETQUOTEVAR:COST</noscript>
Any help on this point would be very much appreciated and I apologise if I have mis-understood something.
Thank you for such a superb community forum,
John.
In the V6 forum, Norman kindly identified a method of using JavaScript to strip off the pence/cents from a displayed price.
For example, I would like to display the pricing in the main catalog area in the form £1,000 / $1,870 rather than the default form £1,000.00 / $1,870.00.
I have studied the V6 solution with care and cannot get it to work correctly on my V7 site where I have dual GBP and USD pricing. The symptoms are that the price/cents remain present in the catalog preview displays.
The script that Norman proposed in the thread was:-
<!--
document.write("NETQUOTEVAR:COST".replace(/&#46;\d\d/,""));
// -->
</script>
<noscript>NETQUOTEVAR:COST</noscript>
Any help on this point would be very much appreciated and I apologise if I have mis-understood something.
Thank you for such a superb community forum,
John.
Comment