Hi Guys,
I have build this cartdmd="addmulti" form:
<form action="/Default.aspx" method="get"> <input type="hidden" name="cartcmd" value="addMulti" /> <input type="hidden" name="ID" value="@pageID" /> <input type="hidden" name="ProductLoopCounter1" id="ProductLoopCounter1" value="1"> <input type="hidden" name="ProductID1" id="ProductID1" value="PROD4"> <input type="hidden" name="VariantID1" id="VariantID1" value=""> <input type="hidden" name="UnitID1" id="UnitID1" value=""> <input type="hidden" name="wishListID1" id="wishListID1" value="0"> <input type="text" name=Quantity1" id="Quantity1" value="10"> <input type="hidden" name="ProductLoopCounter2" id="ProductLoopCounter2" value="2"> <input type="hidden" name="ProductID2" id="ProductID2" value="PROD78"> <input type="hidden" name="VariantID2" id="VariantID2" value=""> <input type="hidden" name="UnitID2" id="UnitID2" value=""> <input type="hidden" name="wishListID2" id="wishListID2" value="0"> <input type="text" name=Quantity2" id="Quantity2" value="15"> <input type="hidden" name="ProductLoopCounter3" id="ProductLoopCounter3" value="3"> <input type="hidden" name="ProductID3" id="ProductID3" value="PROD107"> <input type="hidden" name="VariantID3" id="VariantID3" value=""> <input type="hidden" name="UnitID3" id="UnitID3" value=""> <input type="hidden" name="wishListID3" id="wishListID3" value="0"> <input type="text" name=Quantity3" id="Quantity3" value="10"> <input type="submit" id="btn-addToCart" value="Add to cart" /> <form>
When adding to the cart, I need to be able to provide OrderLine field value for each of the products I am adding here.
In other words - How do I add a product via cartcmd="addmulti" with a OrderLine field value.
Any suggestions?
/Dmitrij