Example 6
In this example we have multiple items with separate quantities being ordered by a single add to cart button. If no value is put in then that item is not added to the cart.
Note that these are examples of what CartManager software can be made to do. You can create any layout, use any colors, or web design you wish for use with CartManager.
The code used to create this button can be found below.
![divider](../images2/hr-rule500.jpg)
|
<form method="POST" action="//www.cartmanager.net/cgi-bin/cart.cgi">
<font size="-2"> Quantity</font><br>
<input type="text" size="4" name="VARQuan1"> Monster Truck 4x4 Tracker
<input type="hidden" name="AddItem1" value="demo|Monster Truck 4x4 Tracker|900.00|VARQuan1|ST01||prompt|80"><br>
<input type="text" size="4" name="VARQuan2"> Slickster Big City Finder
<input type="hidden" name="AddItem2" value="demo|Slickster Big City Finder|800.00|VARQuan2|ST02||prompt|80"><br>
<input type="text" size="4" name="VARQuan3"> Amphibious FrogTub Seeker
<select name="AddItem3">
<option value="demo|Amphibious FrogTub Seeker|950.00|VARQuan3|ST03||prompt|80">White $950</option>
<option value="demo|Amphibious FrogTub Seeker - Forest Green|1050.00|VARQuan3|ST03-fg||prompt|80"
>Forest Green $1050</option>
<option value="demo|Amphibious FrogTub Seeker - Camo|1000.00|VARQuan3|ST03-camo||prompt|80">Camo $1000</option>
</select><br><br>
<input type="image" name="submit" src="../images2/add.gif">
</form>
|
|
|