How can I have multiple products on one page, and allow customers to specify attributes and quantities for each different product?

If you wish to allow customers to specify different quantity amounts and different attribute values for several products on the same page, you must add a unique number to the product/attribute/quantity tags for each product on the page, which will tell SoftCart that those values are for that specific product only. This only applies if you are using one “Add to Cart” button for the entire group of products.

Here is some example template code that will achieve this goal:

Be sure to include a unique number that will differentiate each product, and the appropriate product sku number.
<input type=”hidden” name=”product01″ value=”product01 sku number”>
The following tags represent the product’s attributes. The product’s number scheme is repeated here.
<select name=”size01″>
<option value=”small”>Small</option>
<option value=”large”>Large</option>
The quantity tag also includes the matching product number, telling SoftCart that this quantity field is only for “product01″.
<input type=”text” size=”5″ name=”quantity01″ value=”1″>
This scheme is repeated in the next product, using a new unique number to identify it (02).
<input type=”hidden” name=”product02″ value=”12345678″>
<select name=”size02″>
<option value=”small”>Small</option>
<option value=”large”>Large</option>
<input type=”text” size=”5″ name=”quantity02″ value=”1″>