I am attempting to write some code that will display a text message on the page if the basket contents is under 5000 USD or if it is NOT one of several product codes. I came up with this, but it's totally useless and wrong. If someone can help me format this correctly, it would be appreciated,
<mvt:if expr="( l.settings:basket:total LT '5000') OR (l.settings:Product_Code NE '50') OR (l.settings:Product_Code NE 'EXTERNAL') or (l.settings:Product_Code NE 'Digital_Map')">
TEXT
<mvt:else>
TEXT2
</mvt:if>
Which just displays the world TEXT.
Kevin
<mvt:if expr="( l.settings:basket:total LT '5000') OR (l.settings:Product_Code NE '50') OR (l.settings:Product_Code NE 'EXTERNAL') or (l.settings:Product_Code NE 'Digital_Map')">
TEXT
<mvt:else>
TEXT2
</mvt:if>
Which just displays the world TEXT.
Kevin
Comment