Skip to content

Instantly share code, notes, and snippets.

@mivajenn mivajenn/BASK
Last active Aug 29, 2015

Embed
What would you like to do?
<mvt:if expr="g.request EQ 'AJAX'">
<mvt:foreach iterator="group" array="basket:groups">
<mvt:if expr="l.settings:group:line_id EQ g.lastbasketline AND l.settings:group:quantity GT g.lastqty">
<mvt:assign name="error" value="1" />
</mvt:if>
</mvt:foreach>
<mvt:if expr="g.error">
<div id="ERROR">
Please select another options than what you currently have in your basket.
</div>
<mvt:else>
<div id="BASK">
Add to cart success
</div>
</mvt:if>
<mvt:exit />
</mvt:if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.