LinkPointCart The Online Shopping Solution

Help Search our knowledge base:

Index - FAQ - Misc

 Related Items
1. Creating an order form using multiple buttons

 Details
Frequently Asked
Question (FAQ)

Document Number: 1144

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.
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://www.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://www.linkpointcart.net/images2/themes/two_tone/add.gif">
    </td>
  </tr>
</table>
</form>


Button Two
<form method="post" style="margin-bottom: 0" action="https://www.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://www.linkpointcart.net/images2/themes/two_tone/add.gif">
    </td>
  </tr>
</table>
</form>


Combined
<form method="post" style="margin-bottom: 0" action="https://www.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://www.linkpointcart.net/images2/themes/two_tone/add.gif">
    </td>
  </tr>
</table>
</form>
Copyright © 2006-2017 LinkPointCart, All Rights Reserved. - Privacy Policy
  HACKER SAFE certified sites prevent over 99.9% of hacker crime.