[ main menu ] The Hostahoy Shopping Cart allows for online "wizard" type configuration that is both simple and fast, shell mode configuration for advanced users and offline configuration* so advanced users can create large databases of similar products quickly. In order administer your store offline, you must have FTP access to the site your store resides on. The File Structure To completely understand how the Hostahoy Shopping Cart works and the associated files, it is important to be familiar with the file structure of the program. The
program itself with a copy of the banners directory (image files) resides in
the cgi-bin directory in a sub directory called cart. If you have followed the suggest configuration during
the setup of the script, your file structure should look like this (assuming
html is your base html directory):
All of your product information is stored in an easy to read text file in the admin directory called cart_db.txt. This file is a simplified database file meaning all data for one record is expanded to several lines in the text file to make human reading and editing easier. The format of this file is quite simple: the field name is on the left in all caps then the value(s) are on the right. The two halves are separated by one or more tabs. The file gets tricky or "advanced" when dealing with multiple options or values because multiple colons are used to separate the values and it is quite easy to make an error when editing this file manually. Here is the "Mystery Meat" database record from the example store (long lines are wrapped here but should not be in file): CODE
mystmeat There are a few very important things to remember when editing this file directly:
Other Data Files The other data files can be edited in a text editor offline as well, however these are usually updated much less frequently than the product database and can just as easily be updated online using the wizard. * Offline configuration is only available to the owner of the script |
||||
Shopping Carts |
Domain Registration |
Hosting |
DNS
Plus | Digital
Certificates | Client
Login | Whois
| Contact Us
Home
©Copyright 2001 Hostahoy.com All Rights Reserved