User guide
Installation & Setup 47
AShop Software © Copyright 2002 - 2010
multiproductEXAMPLE.html).
<form action="multiproductbuy.php" method="post">
<p>
<input name="products[]" type="checkbox" id="products" value="126">
Product 126</p>
<p>
<input name="products[]" type="checkbox" id="products" value="111">
Product 111</p>
<p>
<input name="products[]" type="checkbox" id="products" value="115">
Product 115</p>
<p>
<input type="submit" name="Submit" value="Add to cart">
<input name="returnurl" type="hidden" id="returnurl" value="multiproductEXAMPLE.html">
<input name="action" type="hidden" id="action" value="basket">
<br>
</p>
</form>
Change the productid numbers to match the actual products. Add options for more or less products. The
checkboxes can be initially checked or unchecked. Fields can be hidden to include groups of products
in multiple forms on the page. The HTML forms are editable using an HTML editor program such as
DreamWeaver or FrontPage.
Here is an example where the same three products added from hidden fields.
<form action="multiproductbuy.php" method="post">
<p>
<input name="products[]" type="hidden" id="products" value="126"><input name="products[]"
type="hidden" id="products" value="111"><input name="products[]" type="hidden" id="products"
value="115">
Description of the multi-product.
</p>
<p>
<input type="submit" name="Submit" value="Buy All Three Products">
<input name="returnurl" type="hidden" id="returnurl" value="multiproductEXAMPLE.html">
<input name="action" type="hidden" id="action" value="basket">
<br>
</p>
</form>










