
MetroCredit©
|
Setting up your web pages.
------------------------
All you need to do is include the following lines of
HTML code before the HTML tags used for the products):
<form method="post" action="/shopcart/cgi/shopcart.cgi">
replace the /shopcart/cgi/shopcart.cgi element with your own information if different.
ie. ../cgi-bin/shopcart.cgi
If using SSL be sure to include the entire url.
ie. https://www.metromkt.net/shopcart/cgi/shopcart.cgi
Add this tag for the continue shopping funtion: add the url page in value=" ".
<INPUT TYPE="hidden" NAME="page" VALUE="http://www.metromkt.net/shopcart/">
Next you will need to format your products using the following example:
<INPUT type="hidden" name="prodcode" VALUE="MON200">
<INPUT type="hidden" name="decriptcode" VALUE="Virtual Monitor Helmet;339.99;1">
Replace the Value in prodcode for you product code.
Replace the Value in descripcode for your description; cost; and quantity.
It is important to include the ";" so the program will separate each.
Finally, you will need the following elements to complete the form:
<INPUT TYPE=SUBMIT NAME="status" VALUE="Order">
<INPUT TYPE=SUBMIT NAME="status" VALUE="View Order">
</FORM>
these elements must be exact - the script is case sensitive.
For example:
<HTML>
<HEAD>
<TITLE>My Products</TITLE>
<META etc.>
</HEAD>
<BODY etc.>
To shop, just click on the 'Order' Button.
<h1 align=center>My Monitor For Sale</h1 >
<form method="post" action="/shopcart/cgi/shopcart.cgi" >
<INPUT TYPE="hidden" NAME="page" VALUE="http://www.metromkt.net/shopcart/" >
<INPUT type="hidden" name="prodcode" VALUE="MON200" >
<INPUT TYPE=HIDDEN NAME="decriptcode" VALUE="Virtual Monitor Helmet;339.99;1"> <BR>
Virtual Monitor Helmet - $339.99 Special Price!! <BR>
<INPUT TYPE=SUBMIT NAME="status" VALUE="Order">
<INPUT TYPE=SUBMIT NAME="status" VALUE="View Order">
</FORM>
</BODY>
</HTML>
Please visit our demo site at
http://www.metromkt.net/scripts/cc-lite/index.html
and look at the source!
|