Re: I need help to write a mvt:if statement please
The javascript is in this snippet:
I'd replace it with a graphic button of some sort, and a regular html link, like so:
For your prices, just wrap the price with this conditional to hide it if it's 0.00
The javascript is in this snippet:
Code:
<div class="checkout-button"><input type="button" value="Checkout" onclick="window.location = '&mvt:global:secure_sessionurl;Screen=OINF&Store_Code=&mvta:store:code;';" class="shadow_button" /></div>
Code:
<div class="checkout-button"><a href="&mvt:global:secure_sessionurl;Screen=OINF&Store_Code=&mvta:store:code;"><img src="graphics/00000001/mybutton.gif" alt="Checkout" /></a></div>
Code:
Product: <mvt:if expr="l.settings:item:price NE '0.00'"> &mvt:item:formatted_price; </mvt:if>
Comment