brennan
6/30/2015 - 9:01 PM

gistfile1.java

<form method="post" action="&mvte:global:sessionurl;Screen=BASK"> 

    <input type="hidden" name="Action" value="ADPM"> <mvt:foreach iterator="product" array="category_listing:products"> 

    <input type="hidden" name="Products[ &mvt:product:id; ]:code" value="&mvte:product:code;"> 

    <input type="text" name="Products[ &mvt:product:id; ]:quantity" value=”0"> 

    </mvt:foreach> 

  <input type="submit" value="Add to Basket"> 

</form>