Click here to visit our Sponsor

S-Mart

How do I install this script?

You will need to install this script from you console.


Where do the files get installed to?

The files get installed into the following directories

The Cgi and it's required directories:

/htdocd/cgi-bin/smart/smart.cfg 755 Config File (The only one that needs to be changed by the user)
/htdocd/cgi-bin/smart/demofooter.shtml 755 Footer page generated by the script when you order (This page may be customized by the user)
/htdocd/cgi-bin/smart/demoheader.shtml 755 Header page generated by the script when you order (This page may be customized by the user)
/htdocd/cgi-bin/smart 755
/htdocs/tmp 777 The directory all of the temp work is done in
/htdocd/cgi-bin/smart/ccverify.lib 755 Credit Card Verification Script
/htdocd/cgi-bin/smart/cookie.lib 755 Perl Script to use cookies(used with admin & tracking script)
/htdocd/cgi-bin/smart/order.shtml 755 Order page generated by the script when you order
/htdocd/cgi-bin/smart/orders 713 Directory containing orders
/htdocd/cgi-bin/smart/smart.cgi 755 The actual Shopping cart script
/htdocd/cgi-bin/smart/smartadmin.cgi 755 The admin script used to process orders
/htdocd/cgi-bin/smart/smartrack.cgi 755 The script used by customers to track their order
/htdocd/cgi-bin/smart/track.db 755 the file holding processing info( shipped, processing, problem)
The Html pages and the two graphics:
/htdocs/smart 755
/htdocs/smart/index.shtml 755
/htdocs/smart/page1.shtml 755
/htdocs/smart/page2.shtml 755
/htdocs/smart/smart.jpg
/htdocs/smart/welcome.jpg


How can I use a form to insert an item to the cart?

You can copy and paste the following code into your document <FORM METHOD="POST" ACTION="http:/yourdomain.com/cgi-bin/smart/smart.cgi?command=add">
<INPUT TYPE=HIDDEN NAME="itemname" VALUE="Polish For Dummies">
<INPUT TYPE=HIDDEN NAME="itemprice" VALUE="212.98">
Polish For Dummies $212.98 <br>Qty:
<INPUT TYPE=TEXT SIZE=3 MaxLength=3 NAME="itemquant" VALUE="1">
This book is especially good for beginners.
<input type="submit" name=ACTION value="ORDER">
</FORM>


How can I use a link to place an item in the cart? <A Href http://yourdomain.com/cgi-bin/smart/smart.cgi?command=add&
itemname=Speak+and+Think+Polish&itemid=3&itemprice=62.98&itemquant=1>order</a>


How do I check my orders?

You will need to type in the URL to your admin script which should be:

http://yourdomain.com/cgi-bin/smart/smartadmin.cgi

Orders just placed will appear in not processed, you will move them through the process of processing, and shipped, and problem with order if their credit card verification was denied.  An email will be sent to the person who placed the order as you move it through each tep of processing(unless you specify not to in the smart .cfg file


For more information about s-mart select here


Back to the Index