Announcement

Collapse
No announcement yet.

Multi Products Add Manually with Product Code, Product Attribute and Qty

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multi Products Add Manually with Product Code, Product Attribute and Qty

    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

    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>
    Keyboard Not Found..... Press F1 to continue

    #2
    Here are some threads on this. Maybe it can help you.

    http://www.miva.com/forums/forum/onl...ducts-at-Once=

    Aaargh! I will learn this eventually. The other link is below my closing.

    Hope it helps!

    Jamie
    Last edited by jsdva; 02-02-16, 08:45 AM.
    Jamie Donaldson
    JSDVS Web Design / Development
    Web Design | Web Development | E-commerce Design & Integration

    Comment

    Working...
    X