Announcement

Collapse
No announcement yet.

Multi-Add Product Form for MANUALLY entering product codes and qty's

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

    Multi-Add Product Form for MANUALLY entering product codes and qty's

    Is there a way to use the new multi-add product form system to build out a "blank" form where the customer can input product codes and quantities and add in one shot? I've tried using the code below, but I think the lack of the "product ID" being included as part of the Name is causing it to fail. Is including the ID as the name as outlined in the docs required? Is there a way around it in the event we want them to be able to plug in their own product codes on a blank form? Are the sentences above even coherent? I have Christmas hangover.

    HTML Code:
    <form method="post" action="http://www.DOMAIN.com/mm5/merchant.mvc?Screen=BASK">
    <input type="hidden" name="Action" value="ADPM">
    <input type="hidden" name="Attributes" value="Yes">
    <input type="hidden" name="Store_Code" value="&mvte:store:code;">
    <!-- 1st Add Form -->
    <input type="text" name="Product_Code" value=""> Code<br />
    <input type="text" name="Quantity" value="0" > QTY<br /><br />
    <!-- 2nd Add Form -->
    <input type="text" name="Product_Code" value=""> Code<br />
    <input type="text" name="Quantity" value="0" > QTY<br /><br />
    <input type="submit" value="Add to Cart" >
    </form>
    Ted Hust
    AarcMediaGroup.com

    Celebrating 13 Years of Outstanding Service & Support
    Miva Merchant Design

    #2
    Re: Multi-Add Product Form for MANUALLY entering product codes and qty's

    Brennan just helped me solve this issue. If you want to include a blank form as I outlined, here's the code to get you started.....

    HTML Code:
    <form method="post" action="http://www.spill911.com/mm5/merchant.mvc?Screen=BASK">
    <input type="hidden" name="Action" value="ADPM">
    <input type="text" name="Products[1]:code" value=""> Code<br />
    <input type="text" name="Products[1]:quantity" value="" > QTY<br /><br />
    <input type="text" name="Products[2]:code" value=""> Code<br />
    <input type="text" name="Products[2]:quantity" value="" > QTY<br /><br />
    <input type="submit" value="Add to Cart" >
    </form>
    NOTE, my issue was I wasn't inputting the proper name allowing the code and qty for each item to be treated separately.
    Ted Hust
    AarcMediaGroup.com

    Celebrating 13 Years of Outstanding Service & Support
    Miva Merchant Design

    Comment


      #3
      I was looking for something like this. Thanks for the solution aarcmedia...you are appreciated!

      Jamie
      Jamie Donaldson
      JSDVS Web Design / Development
      Web Design | Web Development | E-commerce Design & Integration

      Comment

      Working...
      X