Home arrow Web Authoring arrow Page 4 - Personalizing osCommerce
WEB AUTHORING

Personalizing osCommerce


osCommerce is a great open source application for building your online store. While it looks great out of the box, you'll probably want to change it so that it reflects your store's personality, so customers will remember it and keep coming back. Dan Wellman explains how to add your logo, colors, products, and make the most of one of the application's more versatile features.

Author Info:
By: Dan Wellman
Rating: 4 stars4 stars4 stars4 stars4 stars / 35
December 06, 2004
TABLE OF CONTENTS:
  1. · Personalizing osCommerce
  2. · What to know before you make changes
  3. · Logo and colors
  4. · Site content
  5. · InfoBoxes, step one
  6. · InfoBoxes, steps two and three

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
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.


blog comments powered by Disqus
WEB AUTHORING ARTICLES

- Top WordPress Plugins for Social Media
- How to Install WordPress on WAMPP
- More of the Best Wordpress Plugins for Comme...
- Top Wordpress Plugins to Fight Spam
- More of the top Drupal modules for SEO
- Top Drupal Modules for SEO
- More Top Wordpress Plugins for SEO
- Website Optimization Tips
- Backup and Restore a Drupal Website and Data...
- 5 Best Web Font Services
- Web Font Embedding Services
- Joomla Site Administration
- Create PHP Pages that Use WordPress Templates
- Top Joomla Extensions for Social Networking
- Drupal Modules for Site Navigation

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials