Design Cart - Online Shopping Cart Easy Dynamic Secure Scalable

Help Search our knowledge base:

Index - FAQ - Misc

 Details
Frequently Asked
Question (FAQ)

Document Number: 962

Optimize for Printing
E-Mail This Link

 Feedback
This document ...
helps resolve my question or problem.
does not apply to my question or problem.
is inaccurate for my question or problem.
How can I create one large order form for all my products?

You can use our button builder to create each button then simply "stack" the buttons on top of each other.

The button builder will product HTML that looks something like this
Quantity:
<form method="post" style="margin-bottom: 0" action="https://designcart.com/cgi-bin/cart.cgi">
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align=right>Quantity</td><td width=5>:</td>
    <td align=left><input type="text" name="VARabcQuantity" value="1" size="4"></td>
  </tr>
  <tr>
    <td colspan="3" align="center">
      <input type="hidden" name="AddItemabc" value="demo|Test product|4.95|VARabcQuantity|abc" >
      <input type="submit" value="Add To Cart" alt="Add to cart"/>
    </td>
  </tr>
</table>
</form>

The left side shows you what this button looks like in your web browser. The right side shows you the HTML source that is required to make this button. Please read below for a description of each colored area in the source HTML.

GREENThis text should only appear at the top of the order form. Make sure to delete this line from every button you create after the first one.
BLUEOPTIONAL: To avoid having multiple "Add To Cart" buttons, delete this text from all except the last button.
REDThis text should only appear at the bottom of the order form. Make sure to delete this line from every button you create except the last one.

Here is an example of 3 products combined. Note that the red, blue, and green portions only exist in the locations described above.
Quantity:
Quantity:
Quantity:
<form method="post" style="margin-bottom: 0" action="https://designcart.com/cgi-bin/cart.cgi">
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align=right>Quantity</td><td width=5>:</td>
    <td align=left><input type="text" name="VARabcQuantity" value="" size="4"></td>
  </tr>
  <tr>
    <td colspan="3" align="center">
      <input type="hidden" name="AddItemabc" value="demo|Test product 1|4.95|VARabcQuantity|abc" >
    </td>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align=right>Quantity</td><td width=5>:</td>
    <td align=left><input type="text" name="VARabcdQuantity" value="" size="4"></td>
  </tr>
  <tr>
    <td colspan="3" align="center">
      <input type="hidden" name="AddItemabcd" value="demo|Test product 2|4.95|VARabcdQuantity|abcd" >
    </td>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align=right>Quantity</td><td width=5>:</td>
    <td align=left><input type="text" name="VARabcdeQuantity" value="" size="4"></td>
  </tr>
  <tr>
    <td colspan="3" align="center">
      <input type="hidden" name="AddItemabcde" value="demo|Test product 3|4.95|VARabcdeQuantity|abcde" >
      <input type="submit" value="Add To Cart" alt="Add to cart"/>
    </td>
  </tr>
</table>

</form>

Note: Feel free to add any additional text or product descriptions as you see fit.
SSL Copyright © DesignCart 2000-2024 - All Rights Reserved
Privacy Policy         Terms of Use         FAQ's         Contact Us         Site Map
HACKER SAFE certified sites prevent over 99.9% of hacker crime.