-
-
Save mivajenn/6dc55c19faea01e95952 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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