Merchant Login Reseller Login
 
 
HOME FEATURES COMPATIBLE SERVICES PRICING RESELLERS CONTACT US FREE DEMO SUPPORT
   
 

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


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


Combined
<form method="post" style="margin-bottom: 0" action="https://hyelighting.cartmanager.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://hyelighting.cartmanager.net/images2/themes/two_tone/add.gif">
    </td>
  </tr>
</table>
</form>
 
SSL Secure Site TERMS OF USE | PRIVACY POLICY
Copyright © 1998-2024 by CartManager. All Rights Reserved

www3.cartmanager.net