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://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>
Add this line
<input type="hidden" name="CheckOut" value="Online">
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="CheckOut" value="Online">
<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>
See Also: Can I send you the shipping and billing information so that you do not need to request it? |