Table of Contents:
Important Note:
Every Perlshop HTML tag MUST be on a line by
itself and the ITEM_CODE tag MUST be the
last tag before the closing </form> tag.
<form method="post" action="http://www.yourdomain.com/cgi-bin/perlshop.cgi"><input type="submit" name="dummy" value="ENTER"><input type="hidden" name="ACTION" value="Start Shopping"><input type="hidden" name="thispage" value="page1.html"><input type="hidden" name="ORDER_ID" value="!ORDERID!"></form>(NOTE: You can not use the !MYURL! option for the ACTION part of the <form...> tag here.)
The text of the Submit button can be anything you like (change the text of the 'value=' for the 'input type="hidden" name="ACTION"' tag), but the SUBMIT tag must have contain: value="ENTER".
<form method="post" action="!MYURL!">
<a href="!MYURL!?action=thispage&thispage=page1.html&ORDER_ID=!ORDERID!">
<img src="!MYWWW!/images/logo.gif">
<!--PSTAG prevpage=page1.html nextpage=page3.html -->
(If page1.html was the first page, then on
page1.html you would use page1.html as the
prevpage. If the last page was page3.html, then
on page3.html you would use page3.html as the
nextpage).
This tag is optional, and if not using it, you
can set the $add_navigation variable to 'no'.
<form method="post"
action="!MYURL!">
<input type="submit" name="none"
value="VCR'S">
<input type="hidden" name="thispage"
value="page1.html">
<input type="hidden" name="ORDER_ID"
value="!ORDERID!">
</form>
<form method="post"
action="!MYURL!">
<input type="submit" name="none"
value="CAMERA'S">
<input type="hidden" name="thispage"
value="page2.html">
<input type="hidden" name="ORDER_ID"
value="!ORDERID!">
</form>
<a href="!MYURL!?action=thispage&thispage=page1.html&ORDER_ID=!ORDERID!">
THISPAGE</a>
- <form method="post" action="!MYURL!">
- <input type="submit"
name="none" value="Press to
Order">
- <input type="hidden" name="ACTION"
value="ORDER">
- <input type="hidden" name="ORDER_ID"
value="!ORDERID!">
- <input type="hidden" name="ITEM_ID"
value="12345">
- <input type="hidden" name="ITEM_NAME"
value="Learn to Surf">
- Learn to Surf $212.98 <br>
- <input type="hidden" name="ITEM_PRICE"
value="212.98">
- <input type="hidden" name="thispage"
value=page1.html>
- Qty:<input type="text" SIZE=3
MaxLength=3 name="QTY"
value="1">
- This book is especially good for
beginners. <br>
- <input type="hidden" name="ITEM_CODE"
value="!ITEMCODE!">
- </form>
Description of each line above:
<form method="post"
action="!MYURL!">
<input type="hidden" name="ITEM_ID" value="12348">
<input type="hidden" name="ITEM_NAME" value="Learn to Surf in 623 Days">
Learn to Surf in 623 Days $15.98
<input type="hidden" name="ITEM_PRICE" value="15.98">
Qty:<input type="text" size="3" MaxLength="3" name="QTY" value="0">
Learn Surfing at your own rate.
<input type="hidden" name="ITEM_ID" value="12349">
<input type="hidden" name="ITEM_NAME" value="
Learn to Surf in 53 easy lessons">
Learn to Surf in 53 easy lessons $31.98
<input type="hidden" name="ITEM_PRICE" value="31.98">
Qty:<input type="text" SIZE=3 MaxLength=3 name="QTY" value="0">
Easy guide to learning to Surf.
<input type="submit" name="none"
value="Press to Order">
<input type="hidden" name="ACTION" value="ORDER">
<input type="hidden" name="ORDER_ID" value="!ORDERID!">
<input type="hidden" name="thispage" value="multi.html">
<input type="hidden" name="ITEM_CODE" value="!ITEMCODE!">
</form>
<input type="hidden"
name="ITEM_TAXTYPE"
value="none">
<input type=checkbox
name="StayOnPage"
value="YES">