Before you run the ProductCart Setup Wizard, make sure that you have:
If you've done all of the above, load the following page, where “YourStore.com” is the domain name of your e-commerce Web site (remember that you might have renamed the productcart folder)
http://www.YourStore.com/productcart/setup/
The ProductCart Setup Wizard consists of a few steps outlined in the window that is initially displayed to you. First you will be asked to review an “Activation Checklist”, whose purpose is to make sure that you have everything you need to quickly get started with ProductCart.
Then, ProductCart will encourage you to review a series of Security Recommendations that are meant to minimize unauthorized access to your store and store data. If you are using a MS Access database, it is a good idea to review them now since some of them involve editing the database connection.
ProductCart supports both DSN and DSN-less database connection methods. You will be required to provide a database connection string in the next step of the Setup Wizard: that connection string tells ProductCart how to connect to your store database.
The Setup Wizard will test the validity of your database connection string and only allow you to activate ProductCart if you have a valid database connection. The procedure to activate your copy of ProductCart is discussed in the next section. Below are examples of connections strings that you may use.
A DSN-less connection is typically faster than a DSN connection, and it is recommended. There are several ways to connect to a database using a DSN-less connection. You should inquire with your Web hosting company to see which one they recommend. Here is an example connection string that will work with most servers.
Here “SERVER-IP” is the server’s IP address, “DB-NAME” is the name of the database, and “USER” and “PWD” are the user name and password that grant access to it:
Provider=sqloledb;Data Source=SERVER-IP,1433;Initial Catalog=DB-NAME;User Id=USER;Password=PWD;
In the following sample connection string “c:\anydatabase.mdb” is the physical path to your database and “anydatabase” is the name of your Access database:
DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\anydatabase.mdb
If you choose to use Access (against our recommendation), make sure to use the Database Driver referenced above, as several customers that use the Microsoft Jet Driver have run into problems, one of which is described in the following FAQ: http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=590&source=KB.
A Data Source Name (DSN) is basically a link on your Web server that points to a database file. If you are not familiar with creating a DSN, contact your Web hosting provider and they will be able to assist you. Many Web hosting companies have an administration area that allows you to easily create a new DSN.
Create a new DSN, give it any name you wish, and point it to the ProductCart database, which by default is located in the database sub-folder of the productcart folder. You can place the database in any other folder on your Web site, and change its same (e.g. myDatabaseFolder/myDatabase.mdb). Just make sure to give the folder “write” permissions, and to point the DSN to the correct file. For added security, you can place the database in a folder that does not have browser access and/or password-protect it. For more information, see the Database Security section of this document.
Use a connection string structured as shown below, where SQLDSN is the name you defined for the connection (e.g. “productcart”), and userid and password are the user ID and the password defined for the connection:
DSN=SQLDSN;UID=userid;PWD=password
Use a connection string structured as follows, where AccessDSN is the name you defined for the connection (e.g. “productcart”):
DSN=AccessDSN
The Setup Wizard will then run a series of tests to verify that your Web server is ready to host a ProductCart-powered store, including checking the validity of your database connection string. The tests are:
The results page will provide information on each of the tests. If everything is ready, proceed to the next step, where you can enter your license information and finish the activation process. Otherwise, correct any problem found by the Wizard and run the tests again (e.g. folder permissions have not been correctly set, or the database connection string is invalid).
Next is the ProductCart activation screen. The following is a description of the fields displayed on the page:
Fill out the setup form completely and press the Activate button. Note that all entries are required and case sensitive. If the activation is successful, the Control Panel log in page will be displayed. Refer to the next section for information about logging into your Control Panel.