Here is some sample code to "VIEW" the contents of the shopping cart or "CHECK OUT" from your web pages.
Simply cut-and-paste the code to your pages. You may use any GIF or JPG
image. Remember to replace demo/cart with your username/profile.
This is the simplest way to view cart or check out.
View Cart | Check Out
<a href="http://www.coolcart.net/shop/coolcart.aspx/democart">View Cart</a> |
<a href="http://www.coolcart.net/shop/coolcart.aspx/democart">Check Out</a>
You can use any
GIF or JPG image. Just right click the image and save to disk. Then cut-and-paste
the code below.
<a href="http://www.coolcart.net/shop/coolcart.aspx/democart">
<img src="viewcart.gif" border=0></a>
<a href="http://www.coolcart.net/shop/coolcart.aspx/democart">
<img src="checkoutnow.gif" border=0></a>
You can use the standard FORM post buttons
<form method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<input type="hidden" name="ReturnLink" value="http://www.coolcart.com/view.html">
<input type="submit" Name="View" VALUE="View Cart">
<input type="submit" Name="Check Out" VALUE="Check Out">
</form>
Using Post Submit buttons for Add to Cart, View Cart, and Check Out. (For the "View" button, be sure to say name="View")
<FORM method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<B>Your Wonderful Product</B>
Price $5.00
<BR>
<INPUT NAME="Qty" size=3 VALUE=""> Quantity <BR>
<INPUT TYPE="HIDDEN" NAME="ID" VALUE="Product 10">
<INPUT TYPE="HIDDEN" NAME="Describe" VALUE="Using Post Submit buttons for Add to Cart, View Cart, and Check Out">
<INPUT TYPE="HIDDEN" NAME="Price" VALUE="5.00">
<INPUT TYPE="HIDDEN" NAME="Multi" VALUE="n">
<INPUT TYPE="HIDDEN" NAME="Ship" VALUE="3.00">
<input type="HIDDEN" name="ReturnLink" value="http://www.coolcart.com/view.html">
<INPUT TYPE="submit" VALUE="Add to Cart">
<INPUT TYPE="submit" Name="View" VALUE="View Cart">
<INPUT TYPE="submit" Name="Check Out" VALUE="Check Out">
</FORM>
Using post type=image for Add
to Cart and View Cart. (Be sure to say name="View" for the view image.)
<FORM method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<B>Your Wonderful Product II</B>
Price $5.00
<BR>
<INPUT NAME="Qty" size=3 VALUE=""> Quantity <BR>
<INPUT TYPE="HIDDEN" NAME="ID" VALUE="Product 11">
<INPUT TYPE="HIDDEN" NAME="Describe" VALUE="Using images for Add to Cart
and View Cart">
<INPUT TYPE="HIDDEN" NAME="Price" VALUE="5.00">
<INPUT TYPE="HIDDEN" NAME="Multi" VALUE="n">
<INPUT TYPE="HIDDEN" NAME="Ship" VALUE="3.00">
<input type="HIDDEN" name="ReturnLink" value="http://www.coolcart.com/view.html">
<input type=image src="addtocart.gif" border=0>
<input type=image name="View" src="viewcart.gif" border=0 width=76 height=21>
</FORM>
Mixing POST type=image Add to Cart with GET HREF links for Check Out & View Cart. (Be sure to say name="View" for the view image.)
<FORM method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<B>Your Wonderful Product III</B>
Price $5.00
<BR>
<INPUT NAME="Qty" size=3 VALUE=""> Quantity <BR>
<INPUT TYPE="HIDDEN" NAME="ID" VALUE="Product 12">
<INPUT TYPE="HIDDEN" NAME="Describe" VALUE="Mixing POST and GETS">
<INPUT TYPE="HIDDEN" NAME="Price" VALUE="5.00">
<INPUT TYPE="HIDDEN" NAME="Multi" VALUE="n">
<INPUT TYPE="HIDDEN" NAME="Ship" VALUE="3.00">
<Input type="HIDDEN" name="ReturnLink" value="http://www.coolcart.com/view.html">
<Input type=image src="addtocart.gif" border=0>
<a href="http://www.coolcart.net/shop/coolcart.aspx/democart"><img src="viewcart.gif" border=0></a>
<a href="http://www.coolcart.net/shop/coolcart.aspx/democart"><img src="checkoutnow.gif" border=0></a>
</FORM>
You can combined View and Check Out on a button.
<form method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<input type="hidden" name="ReturnLink" value="http://www.coolcart.com/view.html">
<input TYPE="submit" VALUE="View Cart / Check Out">
</form>
The following examples use the post method to view or check out.
<TABLE BORDER=0>
<TR><TD><form method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<input type="hidden" name="ReturnLink" value="http://www.coolcart.com/view.html">
<input type=image name="View" src="cartview.gif" border=0>
</TD></FORM><TD>
<form method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<input type="hidden" name="ReturnLink" value="http://www.coolcart.com/view.html">
<input type=image name="Check Out" src="cartcheck.gif" border=0>
</TD></FORM></TR>
</TABLE>
It's a good idea
to enter the width and height of the images for faster loading.
<form method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<input type="hidden" name="ReturnLink" value="http://www.coolcart.com/view.html">
<input type=image name="View" src="viewcart.gif" border=0 width=76 height=21>
</form>
<form method=post action="http://www.coolcart.net/shop/coolcart.aspx/democart">
<input type="hidden" name="ReturnLink" value="http://www.coolcart.com/view.html">
<input type=image name="Check Out" src="checkoutnow.gif" border=0 width=76 height=21>
</form>
San Antonio, TX - Tel: 210-764-8302
|