Instantly share code, notes, and snippets.

What would you like to do?
Miva - PATR mvt:call PROD
<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:call action="g.Product_URL" method="'GET'">
<mvt:eval expr="s.callvalue" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment