Logo Your Web Hosting Solution
Line
Ecommerce Docs:
General Info
Getting Started
Create Catalog
Customizing
Shipping Options
Miscellaneous
Silent Salesman
Affiliate Program
Coupon Support
PGP Encryption
Tutorials Index
Web Hosting
Shopping Cart Software Tutorial - Customizing

1. Header/Footer files

The shopping cart software can be customized easily to changing its appearance for each merchant it serves.

Limited control over how each page generated by the script looks is achieved via header and footer files.

The header file is shown above any information the shopping cart software places on the screen, the footer file below it.

The header and footer file are basically simple .html files. The best/easiest way to create these is as follows :

Save a shopping cart generated web page to your hard drive. Use your favorite .html editing tool to modify this page without changing any of the shopping cart generated html code.

Once the page looks good to you, save the html code above the shopping cart html to the header file and save the html code below the shopping cart html to the footer file.

The header and footer files should be placed in the /merchants directory on your domain. Their files name are as follows :

    merchant_id.header.html
    merchant_id.footer.html

The "merchant_id" in the above file names is replaced by the merchant ID.

2. Checkout Link

To add a "Checkout Link" (allowing people to place their order) to any page, add a link to a URL such as the below one :

/cgi-yourdomain/basket?command=place&merchant=merchant_id

The "merchant_id" in the above file names is replaced by the merchant ID.

Replace "yourdomain" by your domain name without the . extension. If, for some reason, you do not understand this, check the shopping cart pages in the control panel. That software provides additional info.

3. View/Modify Basket Link

To offer shoppers a link they can use to view/modify their shopping cart basket, create a link to a URL such as the below one

/cgi-yourdomain/basket?command=modify&merchant=merch_id&backpage=URL

The "merch_id" in the above file names is replaced by the merchant ID.

Replace "URL" by the URL to which you want people to be sent if they click on the "continue shopping" link on the shopping cart page. Replace "yourdomain" by your domain name without the . extension.

4. Setting Quantity

To allow shoppers to specify the quanity to add to the basket from your .html pages, see below.

Classic style :

Change the 'command' line of .html to read as follows :

<INPUT TYPE="HIDDEN" NAME="command" VALUE="add">

add a form variable called 'quant' which holds the quanity. Example :

<SELECT NAME="quant">
<OPTION>1
<OPTION>2
<OPTION>3
</SELECT>

Modern shopping cart style :

Simply add a form variable called 'quant; to hold the quanity, see 'Classic style' for an example.

Top Of Page 
Line
Copyright© 1996 - 2024 Clockwatchers, Inc.