<?php include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/lang.php"); ?>
<html><head><TITLE> Classic Store Demo Shopping Cart | Americart Shopping Cart</title><META name="keywords" content="americart, best shopping cart, cartserver, cheap shopping cart,easy shopping cart, ecommerce, e-commerce, html shopping cart, inexpensive shopping cart, online shopping cart,online store, pay pal shopping cart, secure ecommerce, secure shopping cart, shop cart, shopping cart,shopping cart service, shopping cart software, shopping cart solution, web commerce"><META name="description" content="Americart: the easiest, most cost-effective ecommerce shopping cart software. It's an online service, so no software to download. Inexpensive, easy to configure - requires no programming. Used by thousands of merchants."></HEAD></head><body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#000000"><center><img src="waynes.gif" alt="Wayne's Widget World!" width=505 height=62><hr noshade size=1><!--begin example #1--><img align=left src="widgeta.gif" width=207 height=174><table border=0 cellspacing=0 cellpadding=4>  <tr bgcolor="#F0F0F0">    <form action="http://www.cartserver.com/sc/cart.cgi" method=POST>    <input type=hidden name="item" value="a-1358^widgeta^Wacky Widget A^op1^1^^^^1.2^http://www.cartserver.com/sc/widgeta.gif">    <!--When changing the item var, don't disrupt the field count:    "cart-id^partnumber^description^cost^quantity^per_item_shipping^insurance_fee^unit_of_measure^ship_weight^photo_FULL_url"    Don't remove the ^ field separator when leaving a field blank. -->    <td><font face="Curlz MT, Arial" size=+1>Wacky Widget A</td>    <td>      <select name=op1>        <option selected value="=error= You must select a metal type for this product.">Select Metal</option>        <option value="tin - $9.99">tin - $9.99</option>        <option value="123|steel - $11.25">steel - $11.25</option>        <option value="gold - $18.54">gold - $18.54</option>      </select>    </td>    <td><input type=image border=0 name=add src="cartaddsml.gif" width=100 height=34></td>    </form>  </tr></table><font face=arial size=-1><p align=left>Here is a single item in a one rowtable using a variable size/price option. The hidden variable "item" contains thekeyword "op1" in the price field instead of a legal price. This tells the cart toparse the select variable named "op1" to obtain the price. Notice that the selectdrop down has a size and price separated by a <i>space dash space</i>. Use this format toinsure correct parsing by the cart. Any of the option variables op1 - op44 can beused to price an item.</p></font><br clear=all><!--end example #1--><hr noshade size=1><!--begin example #2--><img align=left src="widgeta.gif" width=104 height=87><table border=0 cellspacing=0 cellpadding=4>  <tr bgcolor="#F0F0F0">    <form action="http://www.cartserver.com/sc/cart.cgi" method=POST>    <input type=hidden name="item" value="a-1358^widgeta^Wacky Widget A^op1op12op4^1^^^^1.2^http://www.cartserver.com/sc/widgeta.gif">    <td><font face="Curlz MT, Arial" size=+1>Wacky Widget A</td>    <td>      <select name=op1>        <option selected value="=error= You must select a metal type for this product.">Select Metal</option>        <option value="tin - $9.99">tin - $9.99</option>        <option value="steel - $11.25">steel - $11.25</option>        <option value="gold - $18.54">gold - $18.54</option>      </select>    </td>    <td><input type=checkbox name=op12 value="hardened - $3.00"><font size=-1>Hardened<br>(add $3.00)</font></td>    <td><input type=checkbox name=op4 value="deburred - $2.20"><font size=-1>Deburred<br>(add $2.20)</font></td>    <td><input type=image border=0 name=add src="cartaddsml.gif" width=100 height=34></td>    </form>  </tr></table><br clear=all><font face=arial size=-1><p align=left>Here is another single item in a one rowtable with variable options. The hidden variable "item" contains the keywords"op1op12op4" instead of a legal price in the price field.  This tells the cartto parse the selections named "op1", "op12", and "op4" (in that order), and sumup all associated costs to obtain the item price. To not addcost to an item for an option, make the value "hardened - $0.00".</p></font><!--end example #2--><hr noshade size=1><!--begin example #3--><table border=1 cellspacing=0 cellpadding=3>  <tr bgcolor="#F0F0F0">    <td><font size=-2 face=arial>Part number</td>    <td><font size=-2 face=arial>Item Description</td>    <td><font size=-2 face=arial>select desired material</td>    <td><font size=-2 face=arial>click to add to cart</td>  </tr>  <tr>    <form action="http://www.cartserver.com/sc/cart.cgi" method=POST>    <input type=hidden name="item" value="a-1358^widgeta^Wacky Widget A^op1^1">    <td><font face=Arial>widgeta</td>    <td><font face=Arial>Wacky Widget A</td>    <td>      <select name=op1>        <option selected value="tin - $9.99">tin - $9.99        <option>steel - $11.25        <option>gold - $18.54</option>      </select>    </td>    <td><input type=image border=0 name=add src="cartaddsml.gif" width=100 height=34></td>    </form>  </tr>  <tr>    <form action="http://www.cartserver.com/sc/cart.cgi" method=POST>    <input type=hidden name="item" value="a-1358^widgetb^Wonderful Widget B^op1^1">    <td><font face=Arial>widgetb</td>    <td><font face=Arial>Wonderful Widget B</td>    <td>      <select name=op1>        <option selected>bronze - $8.99        <option>pewter - $10.99        <option>iron - $12.99        <option>silver - $15.99        <option>brass - $19.99        <option>gold - $23.99      </select>    </td>    <td><input type=image border=0 name=add src="cartaddsml.gif" width=100 height=34></td>    </form>  </tr></table><font face=arial size=-1><p align=left>This example has the same basic cart functionalityas the one above, but illustrates a table of similar products usefulto present many itemsin a small space. Notice that each row in the table containing product is actually a small formtotally independent from adjacent rows.</p></font><!--end example #3--><hr noshade size=1><!--begin example #4--><font face=arial size=-1><p align=left>This example illustrates a way to use the productpicture as an add to cart button.</p></font><form action="http://www.cartserver.com/sc/cart.cgi" method=POST><input type=hidden name="item" value="a-1358^widgeta^Wacky Widget a^6.32^1"><input align=left border=0 type=image name=add src=widgeta.gif width=104 height=87></form><br><font face=arial size=-1><p align=left>This widget is just $6.32.</p><p align=left>(Click the image to place in cart.)</p></font><br clear=all><!--end example #4--><hr noshade size=1><!--begin example #5--><img src=widgetb.gif width=207 height=174 align=left><table align=right>  <tr bgcolor="#F0F0F0">    <form action="http://www.cartserver.com/sc/cart.cgi" method=POST>    <input type="hidden" name="item" value="a-1358^widgetb^Wonderful Widget B^6.32^op2">    <th>      <font face="Arial"><font size=-1>Quantity: </font>      <select name=op2>        <option selected>1        <option>2        <option>3        <option>4        <option>5        <option>6        <option>7        <option>8        <option>9      </select>      <hr width=100% size=1 noshade>      <font size=-1>Engrave Initials:</font> <input type=text size=3 maxlength=3 name=op24>      <hr width=100% size=1 noshade>      <input border=0 type=image name=add src=cartadd2.gif width=163 height=56>      </font>    </th>    </form>  </tr></table><font face=arial size=-1><p align=left>This example illustrates a way to allow the customerto place more than one thing in their cart using a select drop down. In the quantity fieldof the hidden "item" variable, enter the name of the select. (op2 in this example). There isalso a simple usage of a text box to allow the shopper to add text to the item description.</p></font><br clear=all><!--end example #5--><hr noshade size=1><!--begin example #6--><img src=widgeta.gif width=207 height=174 align=left><table align=right>  <tr>    <form action="http://www.cartserver.com/sc/cart.cgi" method=POST>    <input type=hidden name=nodash value=" ">    <!-- little trick to not use dash separators in item description.         We don't need them for this item since we are using br tags         in the select pull downs to make the descriptions pretty. -->    <input type="hidden" name="item" value="a-1358^widgeta^Wacky Widget A^6.32^op2">    <td>      qty:<input name=op2 size=2 value="1">      <select name=op4>        <option selected value="<br>Size: small">small</option>        <option value="<br>Size: medium">medium</option>        <option value="<br>Size: large">large</option>      </select>      <select name=op1>        <option selected value="<br>Metal: tin">tin</option>        <option value="<br>Metal: steel">steel</option>        <option value="<br>Metal: gold">gold</option>      </select>    </td>  </tr>  <tr>    <td><input align=right type=image name=add src=cartadd2.gif width=163 height=56></td>  </form>  </tr></table><font face=arial size=-1><p align=left>This example illustrates a way to allow the customer toplace an arbitrary number of an item in the cart using a text box.  In the quantity field ofthe hidden "item" variable, we put the name of the variable for the text box. (op2 in thisexample). Just to spice it up, we threw in two extra options (op4 & op1). They're not markedfor parsing in the hidden  variable, and so are just appended to the description. Notice thateven though op4 comes before op1 in the source, op1 is appended to the description firstin the cart.</p></font><br clear=all><!--end example #6--><hr noshade size=1><!--begin example for view and checkout--><font face=arial size=-1><p align=left>Here are the standard implementations for viewing cartcontents and going to checkout. These can appear anywhere on your site you wish, but be surenot to put them inside another &lt;form&gt;&lt;/form&gt; construct. (Nesting forms is a bad thing!)<table>  <tr>    <form action="http://www.cartserver.com/sc/cart.cgi" method=POST>    <input type=hidden name=item value="a-1358">    <td><input type=image border=0 name=checkout src="cimg/gl-out.gif" width=154 height=46></td>    <td>&nbsp; &nbsp;</td>    <td><input type=image border=0 name=view src="cimg/gl-view.gif" width=154 height=46></td>    </form>  </tr></table><!--end example for view and checkout--><hr size=1 noshade><!--<a href="http://www.cartserver.com/americart/"><img border=0 align=middlesrc="tinybag.gif" width=46 height=60 align=left>Americart home</a>--><!-- footer starts --><?php include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"); ?><!-- footer ends --></body></html>
