Web Authoring
  Home arrow Web Authoring arrow Page 4 - Personalizing osCommerce
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB AUTHORING

Personalizing osCommerce
By: Dan Wellman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 33
    2004-12-06

    Table of Contents:
  • Personalizing osCommerce
  • What to know before you make changes
  • Logo and colors
  • Site content
  • InfoBoxes, step one
  • InfoBoxes, steps two and three

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    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.

    More Web Authoring Articles
    More By Dan Wellman


       · the up and coming program is Zen Cart a fork of the osC project that is leaps and...
       · As always when making changes to any software - particularly e-commerce software get...
       · Thanks for the sound advice, whilst not discussed in this article, security is...
       · Zen Cart owes its very existence to osCommerce and like any child it will eventually...
       · An excellent point of veiw and one that I share myself.
       · Yes, osCommerce is a fairly good app to build an online shop ...But when it's...
       · Thank-you sooooooooo much for the info. This was more than enough to get me started....
     

    WEB AUTHORING ARTICLES

    - Yahoo Pipes: Worth a Look
    - Completing an EAR
    - Building and Deploying an EAR
    - New Nuke Security Sentinel: Worth Taking a C...
    - Administering Your CMS-Based Web Site
    - What You Need to Know Before Using a CMS
    - Introducing the Google Maps API
    - An Overview of the Yahoo User Interface Libr...
    - Basic configuration of osCommerce, concluded
    - Basic configuration of osCommerce, continued
    - Basic configuration of osCommerce
    - Deploying your Site with PHPEclipse, continu...
    - Deploying your Site with phpEclipse
    - Macromedia Captivate Review
    - Macromedia and Adobe Planning to Tie the Knot







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek