iisCART2000™ Documentation

 

Sample Store Configuration

Overview
Unlike this documentation which you can view directly off your hard drive with a web browser, the sample store must be accessed through a web server.  The reason for this is that the sample store contains ASP script which requires a web server to run.  There are 2 samples.  The basic store has a hard coded store page and allows you to clearly see the use of the component.  It is also detailed later in the documentation.  The advanced sample has a dynamically generated front-end and enhanced admin with directory, image and property management. Remember these sample scripts are just that - samples, you can build any scripts you wish our product is the component which provides the core commerce functionality and many advanced cart features.
 
Installation
  • Ensure that iisCART was installed as per the instructions in this document
  • Create a system DSN named "iisCART2000" without quotes that points to the database iiscart2000.mdb if you don't know how to create a system DSN see instructions below.
  • To run the samplestore,  copy the directory advanced or basic or both (depending on which store you want to work with) to a location within your web root.  For example, c:\inetpub\wwwroot
  • Before you can use iisCART2000 you need to add your trial key by running register.asp
  • This page should display that the registration key was added successfully.
  • You can now use the sample store by loading /basic or /advanced from your web server.  For example, http://www.yourdomain.com/advanced or http://www.yourdomain.com/basic
 
Creating a System DSN
Start --> Settings --> Control Panel
Open ODBC Manager (ODBC 32)
Select "System DSN" tab
Select "Add" button
Select database type (in this example, MS Access)
Select "finish" button
enter "iisCART2000" for the Data Source Name (without quotes)
Select the "select" button
Navigate to the directory which contains the file iisCART2000.mdb
Select file, select ok buttons until you have exited the configuration
That's it!
 
Example Usage
Since all data is stored in a non proprietary database backend it can be accessed easily using ASP script.  The example file, displayorders.asp demonstrates an interface for displaying and deleting orders.  In addition, displayitems.asp allows for display and addition of items.   This allows people without a RDMS to edit the database through a web interface.  In /admin you will find some more sophisticated scripts for items and order management.  Use "pass" to gain access.  Also, the advanced sample provides even more full featured admin scripts as samples you can use or customize.

 

� Corporate Web Solutions 1998, 1999, 2000, 2001.