Personalizing osCommerce - Site content
(Page 4 of 6 )
As for your site's content, some of the information is added to your site using the admin tool (your products and their attributes for example), and some of the information is defined using PHP and environment variables. Some of the content is even hard-coded into the pages directly (although this is rarely the case!)
To edit the information that is defined in included files, you need to find the file that contains the define statement, not the file that contains the include statement. To change the Shipping & Returns information for example, you need to replace the file called shipping.php that is contained in the following directory:
var/www/html/catalog/includes/languages/English
You simply add your own text and any mark-up required between the single quotes in the following statement:
define('TEXT_INFORMATION', '';
This will add your information using an include statement to the file also called shipping.php which is found in:
var/www/html/catalog
Most files in the catalog directory have a matching file in the English, Spanish and German directories which will contain the actual content of your pages. These are the files that need to be updated to change the default text.
Next: InfoBoxes, step one >>
More Web Authoring Articles
More By Dan Wellman