Welcome to Islandnet.com  
Locally owned and operated since 1993  
Live Help
LOG IN:  Username:    Password:    

Basket Overview

A shopping basket (or shopping cart) system is the electronic equivalent of a real shopping basket. When a customer enters your on-line store (simply by arriving at your web page) they have an empty basket. As they browse your web pages they will select products and place them in their basket. At any time they can review the current contents of their basket and adjust quantities or remove items. The basket maintains a running total of the cost of the merchandise for them too. When the customer is finished selecting items they can proceed to the "checkout" where they provide shipping information and choose a payment option. When they have submitted this information you receive an email message containing their order - all you have to do is collect payment and fulfill the order. If you happen to use one of the supported real-time credit card companies or i-Check, you don't even have to collect payment because it's done for you.

Setting up an inBASKET site is not a difficult thing to do, but there is a lot involved. This overview should help you to understand all the components and where they go, etc.

There are really two main aspects to an inBASKET site. The first involves creating the configuration file and all the support files. The second is the actual "store front" that the customers see.

inBASKET Files

The most important part of an inBASKET site is the configuration file. This file is named basket.cfg by default and must be located in your ms2 directory. This file contains all the inBASKET options and settings that you can have.

In addition to the configuration file, you will need to create several other files for inBASKET. The name and location of each of these files is entirely up to you since you specify them in the config file, but we reccomend placing them all in the ms2 directory and using a common prefix. Our demo uses basket.* for all file names, so that's what we'll assume here.

More details about each file, along with sample files, can be found in subsequent pages.

basket.frm
This is the order form file. It is an HTML file that contains an input form, usually prompting for shipping and payment info from the customer. This file doesn't get used until the customer already has something in their basket and they wish to submit the order.

basket.hdr
This is the header file. It is actually just an HTML file that is used to form the header or top portion of any pages that inBASKET generates.

basket.ftr
This is the footer file. It is actually just an HTML file that is used to form the footer or bottom portion of any pages that inBASKET generates.

basket.msg
This is the message file. It is actually an HTML file that is included in the bottom left corner of the basket contents display. This would normally be used to provide brief instructions for customers or to highlight a special sale, etc.

basket.mai
This is the mail file. It is a plain text "template" for the email message that gets sent to the customer when they submit an order.

basket.cou
This is the country list file. It is used to generate a pull-down list of country options in the order form file. You could simply embed the list right in your order form file, but then there would be no way of retaining the currently selected country value if/when the customer makes a mistake and has to redo part of the form. A sample country list is provided for you on the order form description page.

basket.pro
This is the province list file. It works exactly like the country list file except it is for provinces and states.

basket.mth
This is the payment method file. It works exactly like the country and province list files except it lists the available payment methods (eg: cheque, money order, credit card, etc).

basket.end
This is the "end" file. It works exactly like the header file except it is only used at the very end of a transaction, after the customer has submitted their order successfully.

basket.end2
This is an alternate "end" file that is used if the payment method was via one of the real-time credit card processing companies or i-Check. The idea is that the first "end" file might say something like "Print this page and send it along with your {method} to..." while this one might just say "Thanks for your order!"

NOTE: All of the HTML and email files are actually "templates". This means that wherever there is a word enclosed in curly braces, it will be replaced with a value on the fly. For example, if one of these files contains the phrase Hello {name}! and the current value of "name" is "Mark", it will output Hello Mark! instead. This is critical to the way that the email receipts work, and it's extremely useful in the order form to retain values that have already been entered.

Your Store Front

Your store front consists of all the pages that inBASKET doesn't generate or display itself. These are the pages that display and describe your products and allow the customer to add them to their basket.

These are normal HTML files that are located in your regular web directory (normally the www directory). You can place all your products on a single web page, or spread them out over as many pages as you need - it makes no difference to inBASKET.

It is common for each individual product to have it's own "Add to basket" button, but you can define your pages to add multiple products with a single button. It's entirely up to you and how you create your pages. The key to remember is that each button represents a separate input form (ie: <form ...> ... </form>).

For more details about creating the input forms, read Creating the store pages.

<< BACK



Page generation time: 0.02 seconds