Help: Order Buttons


Notes: Order Buttons

Below are examples of the different types of order buttons, they all have the required fields necessary to use all the programs options. Try using them all when you create your buttons, this allows you to turn program options On or Off without having to edit your pages again!

Example Order Button:   (Add to Cart)

<FORM METHOD=POST ACTION="/cgi-bin/acart/apple-cart.pl?add">
      <input TYPE=TEXT NAME="quantity:H02" size=3 value="1">
      <INPUT TYPE=HIDDEN NAME="number:H02" VALUE="H02">
      <input TYPE=HIDDEN NAME="desc:H02" value="Plan 2 Monthly Hosting">
      <input TYPE=HIDDEN NAME="price:H02" value="6.95">
      <INPUT TYPE=HIDDEN NAME="color:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="size:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="wt:H02" VALUE="0">
      <INPUT TYPE=HIDDEN NAME="select:H02" VALUE="yes">
      <INPUT TYPE=HIDDEN NAME="spec1:H02" VALUE="None">
      <INPUT TYPE=HIDDEN NAME="spec2:H02" VALUE="None">
      <INPUT TYPE=HIDDEN NAME="image:H02" VALUE="">
      <INPUT TYPE=HIDDEN NAME="taxs:H02" VALUE="yes">    ← yes if Taxable and no if not
      <INPUT TYPE=HIDDEN NAME="ships:H02" VALUE="yes">    ← yes if Shipping Charges apply and no if not
      <INPUT TYPE=HIDDEN NAME="page" value="thispage.html">
      <INPUT TYPE=HIDDEN NAME="session" value="!SESSION!">
      <INPUT TYPE=submit NAME="submit" value="Order">
</FORM>

Note: You can now do multiple price product pricing, with the color and or size fields!

I.E. Below and in sample page product3.htm

Color Size

<select name="color:103" size="1">
<option selected value="Blue"> Blue
<option value="Green,5.00"> Green - add 5.00
<option value="Tan,10.00"> Tan - add 10.00
</select>

<select name="size:103" size="1">
<option selected value="4x4"> 4x4
<option value="6x6,15.00"> 6x6 - add 15.00
<option value="8x8,25.00"> 8x8 - add 25.00
</select>

Just put the color name a comma, and the amount to add on to the price. i.e. Tan,5.00 (for size) 6x6,15.00


Example Order Button for Semi direct processing: (Intl. shipping, tax, discounts, screen)

<FORM ACTION="/cgi-bin/acart/apple-out.pl?checkout" METHOD="POST">
      <INPUT TYPE=HIDDEN NAME="acart_order_form" VALUE="Yes">
      <INPUT TYPE=HIDDEN NAME="action" VALUE="checkout">
      <INPUT TYPE=TEXT NAME="quantity:H02" size=3 value="1">
      <INPUT TYPE=HIDDEN NAME="number:H02" VALUE="H02">
      <INPUT TYPE=HIDDEN NAME="desc:H02" value="Plan 2 Monthly Hosting">
      <INPUT TYPE=HIDDEN NAME="price:H02" value="6.95">
      <INPUT TYPE=HIDDEN NAME="color:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="size:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="wt:H02" VALUE="0">
      <INPUT TYPE=HIDDEN NAME="select:H02" VALUE="yes">
      <INPUT TYPE=HIDDEN NAME="spec1:H02" VALUE="None">
      <INPUT TYPE=HIDDEN NAME="spec2:H02" VALUE="None">
      <INPUT TYPE=HIDDEN NAME="image:H02" VALUE="">
      <INPUT TYPE=HIDDEN NAME="taxs:H02" VALUE="yes">    ← yes if Taxable and no if not
      <INPUT TYPE=HIDDEN NAME="ships:H02" VALUE="yes">    ← yes if Shipping Charges apply and no if not
      <INPUT TYPE=HIDDEN NAME="page" value="thispage.html">
      <INPUT TYPE=HIDDEN name="session" value="!SESSION!">
      <INPUT TYPE=submit name="submit" value="Order">
</FORM>

Example Order Button for direct processing:   (Credit Card Screen)

<FORM ACTION="/cgi-bin/acart/apple-out.pl?Check_out" METHOD="POST">
      <INPUT TYPE=HIDDEN NAME="acart_order_form" VALUE="Yes">
      <INPUT TYPE=HIDDEN NAME="action" VALUE="Check_out">
      <INPUT TYPE=HIDDEN NAME="state" VALUE="NONE">
      <INPUT TYPE=HIDDEN NAME="discount" VALUE="NONE">
      <INPUT TYPE=TEXT NAME="quantity:H02" size=3 value="1">
      <INPUT TYPE=HIDDEN NAME="number:H02" VALUE="H02">
      <INPUT TYPE=HIDDEN NAME="desc:H02" value="Plan 2 Monthly Hosting">
      <INPUT TYPE=HIDDEN NAME="price:H02" value="6.95">
      <INPUT TYPE=HIDDEN NAME="color:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="size:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="wt:H02" VALUE="0">
      <INPUT TYPE=HIDDEN NAME="select:H02" VALUE="yes">
      <INPUT TYPE=HIDDEN NAME="spec1:H02" VALUE="None">
      <INPUT TYPE=HIDDEN NAME="spec2:H02" VALUE="None">
      <INPUT TYPE=HIDDEN NAME="image:H02" VALUE="">
      <INPUT TYPE=HIDDEN NAME="taxs:H02" VALUE="yes">    ← yes if Taxable and no if not
      <INPUT TYPE=HIDDEN NAME="ships:H02" VALUE="yes">    ← yes if Shipping Charges apply and no if not
      <INPUT TYPE=HIDDEN NAME="page" value="helporderbuttons.html">
      <INPUT TYPE=HIDDEN name="session" value="!SESSION!">
      <INPUT TYPE=submit name="submit" value="Order">
</FORM>

Sample Submit button with no image and style:  

<input type=submit name=submit value="ORDER" style="background-color: #406A9E; color: #ffffff; font-family: Verdana,Arial; font-size: 10pt; border: 1 solid #cccccc">


Sample Submit button with Upload

Note: to use uploads you must have "enctype="multipart/form-data" in the form tag below!
<FORM METHOD=POST ACTION="/cgi-bin/acart/apple-cart.pl?add" enctype="multipart/form-data">
      <input TYPE=TEXT NAME="quantity:H02" size=3 value="1">
      <INPUT TYPE=HIDDEN NAME="number:H02" VALUE="H02">
      <input TYPE=HIDDEN NAME="desc:H02" value="Plan 2 Monthly Hosting">
      <input TYPE=HIDDEN NAME="price:H02" value="6.95">
      <INPUT TYPE=HIDDEN NAME="color:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="size:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="wt:H02" VALUE="0">
      <INPUT TYPE=HIDDEN NAME="select:H02" VALUE="yes">
      <INPUT TYPE=HIDDEN NAME="spec1:H02" VALUE="Image">
      <INPUT TYPE=HIDDEN NAME="spec2:H02" VALUE="Uploaded">
      <INPUT TYPE=FILE NAME="upfile:H02" size=30>
      <INPUT TYPE=HIDDEN NAME="image:H02" VALUE="">
      <INPUT TYPE=HIDDEN NAME="taxs:H02" VALUE="yes">    ← yes if Taxable and no if not
      <INPUT TYPE=HIDDEN NAME="ships:H02" VALUE="yes">    ← yes if Shipping Charges apply and no if not
      <input TYPE=HIDDEN NAME="page" value="helporderbuttons.html">
      <input TYPE=HIDDEN name="session" value="!SESSION!">
      <input type=submit name=submit value="ORDER" style="background-color: #406A9E; color: #ffffff; font-family: Verdana,Arial; font-size: 10pt; border: 1 solid #cccccc">
</form>
Example Order Button with Upload and Special Instruction fields

Note: to use uploads you must have "enctype="multipart/form-data" in the form tag below!
QTY: Name:   Inscription:
Your Image:
<FORM METHOD=POST ACTION="/cgi-bin/acart/apple-cart.pl?add" enctype="multipart/form-data">
      <INPUT TYPE=HIDDEN NAME="number:H02" VALUE="H02">
      <input TYPE=HIDDEN NAME="desc:H02" value="Plan 2 Monthly Hosting">
      <input TYPE=HIDDEN NAME="price:H02" value="6.95">
      <INPUT TYPE=HIDDEN NAME="color:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="size:H02" VALUE="-">
      <INPUT TYPE=HIDDEN NAME="wt:H02" VALUE="0">
      <INPUT TYPE=HIDDEN NAME="select:H02" VALUE="yes">
      <b>QTY:</b> <INPUT TYPE=TEXT NAME="quantity:H02" size=2 value="1">
      <b>Name:</b> <INPUT TYPE=TEXT NAME="spec1:H02" size=20>  
      <b>Inscription:</b> <INPUT TYPE=TEXT NAME="spec2:H02" size=20><br>
      <b>Your Image:</b> <INPUT TYPE=FILE NAME="upfile:H02" size=50>
      <INPUT TYPE=HIDDEN NAME="image:H02" VALUE="">
      <INPUT TYPE=HIDDEN NAME="taxs:H02" VALUE="yes">    ← yes if Taxable and no if not
      <INPUT TYPE=HIDDEN NAME="ships:H02" VALUE="yes">    ← yes if Shipping Charges apply and no if not
      <INPUT TYPE=HIDDEN NAME="page" value="helporderbuttons.html">
      <INPUT TYPE=HIDDEN name="session" value="!SESSION!">
      <INPUT TYPE=submit name="submit" value="Order">
</FORM>
Example View Cart Button:
<FORM METHOD=POST ACTION="/cgi-bin/acart/apple-cart.pl?review">
<INPUT TYPE=HIDDEN NAME="page" VALUE="helporderbuttons.html">
<input type="hidden" name="session" value="!SESSION!">
<input type=submit name=submit value="View Cart" style="background-color: #406A9E; color: #ffffff; font-family: Verdana,Arial; font-size: 10pt; border: 1 solid #cccccc">
</form>


Example Order Link:   (Add to Cart) Note: use %20 for spaces!

Example: Buy a $25 Visa Gift Card
			 
<a href="/cgi-bin/acart/apple-cart.pl?add&action=add&quantity:25=1&number:25=25&desc:25=25.00%20Visa%20Gift%20Card&price:25=32.00&color:25=4.50&size:25=2.50&wt:25=0&select:25=yes&page=index.htm&session=!SESSION!">
Buy a $25 Card 
</a>