All of ProductCart's files are by default included in a folder called productcart. You may rename the productcart folder to personalize the address of your store, but you should NOT remove it, or alter the folder hierarchy. You can rename the productcart folder before or after you install and activate ProductCart, but since there are a few things to change if you do this after the fact, it’s a good idea to make this change before you start using the software.
For example, the URL to the default home page is typically something like
http://www.YourStore.com/productcart/pc/home.asp
… but you might want to change it to something like…
http://www.YourStore.com/shop/pc/home.asp
You must not remove the productcart folder. To rename it, follow these steps:
private const scPcFolder="productcart"
…to:
private const scPcFolder="shop"
If you have installed the E-commerce widget for Blogs you will also need to re-generate the Widget.
If you have not yet activated ProductCart, keep this folder name into account when you create the database connection string if you are using a DSN-less database connection to a MS Access database. If this sounds confusing, don't worry. You will find detailed instructions on how to connect ProductCart to a MS Access database in the Installation section of the ProductCart User Guide.
If you already activated ProductCart and you are using a DSN-less connection to a MS Access database, you will need to edit it accordingly or every page in your store will return an error indicating that the system cannot connect to the database. The database connection string is located in the file storeconstants.asp inside the includes folder.
If you are running ProductCart on a Web server that has Parent Paths Disabled and wish to change the “productcart” folder name, you will have to edit the hard-coded paths to the include files. In simple terms, you will need to perform the following find & replace tasks on the entire “productcart” folder, using a tool such as the Find & Replace utility contained in Adobe Dreamweaver.
Make sure that you are using a Find & Replace tool that allows you to search the source code of every file under the “productcart” folder, and set it so that it is not case sensitive. If you are using the Find & Replace utility included in Dreamweaver:
For example, to change “productcart” into “store”, you would have to perform the following 4 find & replace tasks.
Replace
virtual="productcart/includes/
… with:
virtual="store/includes/
Replace
virtual="productcart/pc/
… with:
virtual="store/pc/
Replace
virtual="productcart/xml/
… with:
virtual="store/xml/
Replace
arrBaseFolder(0)="/productcart/pc
… with:
arrBaseFolder(0)="/store/pc