![LinkPointCart](/template_images/header1.gif) |
The Online Shopping Solution |
|
|
Combining two products into a single add to cart button
This example requires that you do not have any special product properties, and do now allow quantities to entered in the button.
Below is an example of how to combine two or more products into a single add to cart button. Clicking on the one button will all products to the shoppers basket.
See also:
Creating an order form using multiple buttons
Button One
<form method="post" style="margin-bottom: 0" action="https://vietbox.vnwww.linkpointcart.net/cgi-bin/cart.cgi">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" align="center">
<input type="hidden" name="AddItem" value="demo|TestONE|12345|1|||prompt|1">
<input type="image" name="AddGraphic" border="0" alt="Add To Cart" src="https://vietbox.vnwww.linkpointcart.net/images2/themes/two_tone/add.gif">
</td>
</tr>
</table>
</form>
Button Two
<form method="post" style="margin-bottom: 0" action="https://vietbox.vnwww.linkpointcart.net/cgi-bin/cart.cgi">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" align="center">
<input type="hidden" name="AddItem" value="demo|TestTWO|6789|1|||prompt|1">
<input type="image" name="AddGraphic" border="0" alt="Add To Cart" src="https://vietbox.vnwww.linkpointcart.net/images2/themes/two_tone/add.gif">
</td>
</tr>
</table>
</form>
Combined
<form method="post" style="margin-bottom: 0" action="https://vietbox.vnwww.linkpointcart.net/cgi-bin/cart.cgi">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" align="center">
<input type="hidden" name="AddItem" value="demo|TestONE|12345|1|||prompt|1">
<input type="hidden" name="AddItem" value="demo|TestTWO|6789|1|||prompt|1">
<input type="image" name="AddGraphic" border="0" alt="Add To Cart" src="https://vietbox.vnwww.linkpointcart.net/images2/themes/two_tone/add.gif">
</td>
</tr>
</table>
</form> |
|
|
|
Copyright © 2006-2024 LinkPointCart, All Rights Reserved. - |
|
|