Created
September 20, 2017 19:05
-
-
Save steveosoule/79d6c0d9866e1813224904214eed0ca8 to your computer and use it in GitHub Desktop.
Miva - PATR mvt:call PROD
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:assign name="g.Product_URL" value="l.settings:product:link $ '?Session_ID=' $ g.Session_ID $ '&Error_MissingAttributes=1&Quantity=' $ g.Quantity" /> | |
<mvt:assign name="l.counter" value="1" /> | |
<mvt:while expr="l.counter LE miva_array_elements(g.Product_Attributes[l.counter])"> | |
<mvt:assign name="g.Product_URL" value="g.Product_URL $ '&Product_Attributes[' $ l.counter $ ']:value=' $ g.Product_Attributes[ l.counter ]:value" /> | |
<mvt:assign name="l.counter" value="l.counter + 1" /> | |
</mvt:while> | |
<mvt:call action="g.Product_URL" method="'GET'"> | |
<mvt:eval expr="s.callvalue" /> | |
</mvt:call> | |
<mvt:exit/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment