I am creating a blank order form where the customer can add the product code, product attribute and qty and hit the add to cart button. What I have done is created a page called bulk ordering and assigned products, category, product attributes along with other necessary tokens like hdft, cssui link etc. Here is the code I am trying to use it on this page and when I input the product code, attribute in this case color and Qty and click on Add to Basket. The page goes to the Basket but nothing is added. What am I doing or missing.
Appreciate it and Thanks
Appreciate it and Thanks
Code:
<form method="post" action="&mvte:global:sessionurl;Screen=BASK"> <input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" /> <input type="hidden" name="Action" value="ADPM"> <table class="tbADPM"> <tr class="tr-header"> <td class="tdsku">Sku</td> <td class="tdcolor">Color</td> <td class="tdqty">Qty</td> </tr> <tr class="tr-bulk-items"> <td class="tdsku"><input type="text" name="Products[1]:code" value="" class="textfield" /></td> <td class="tdcolor"> <input type="text" name="Products[1]:attributes[1]:value" value="" class="textfield" /> </td> <td class="tdqty"> <input type="text" name="Products[1]:quantity" value="" class="textfield" /> </td> </tr> <tr class="tr-bulk-items"> <td class="tdsku"><input type="text" name="Products[2]:code" value="" class="textfield" /></td> <td class="tdcolor"> <input type="text" name="Products[2]:attributes[2]:value" value="" class="textfield" /> </td> <td class="tdqty"> <input type="text" name="Products[2]:quantity" value="" class="textfield" /> </td> </tr> <tr class="tr-bulk-items"> <td class="tdsku"><input type="text" name="Products[3]:code" value="" class="textfield" /></td> <td class="tdcolor"> <input type="text" name="Products[3]:attributes[3]:value" value="" class="textfield" /> </td> <td class="tdqty"> <input type="text" name="Products[3]:quantity" value="" class="textfield" /> </td> </tr> <tr class="bulk-add"> <td class="tdsku"></td> <td class="tdcolor"></td> <td class="tdqty"><div class="continue-shopping"><input type="submit" class="button add-to-cart" value="Add to Basket"></div></td> </tr> </table> </form>
Comment