GlobalCart
Special Offer
FREE PCI Compliance
Free Visa/MC PCI Compliance and make your site Hacker Safe!
More >>
Hacker Safe byScanAlert

Help Search our knowledge base:

Index - FAQ - Misc

 Details
Frequently Asked
Question (FAQ)

Document Number: 1161

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.
Creating an add to cart button that goes directly to checkout.

Below is an example of how to combine a normal add to cart button with a checkout button. This way your shopper will be taken directly to checkout instead of seeing a basket summary.

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


Add this line
<input type="hidden" name="CheckOut" value="Online">

Combined
<form method="post" style="margin-bottom: 0" action="https://www.globalcart.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="CheckOut" value="Online">
      <input type="image" name="AddGraphic" border="0" alt="Add To Cart" src="https://www.globalcart.net/images2/themes/two_tone/add.gif">
    </td>
  </tr>
</table>
</form>


See Also: Can I send you the shipping and billing information so that you do not need to request it?
GoDaddy   HACKER SAFE certified sites prevent over 99.9% of hacker crime. Copyright © 2008-2021 GlobalCart, All Rights Reserved. - Privacy Policy PCI Certified Cart