Edit Content in OSCommerce v2.3.3

If you want to know how to edit your website content in OSCommerce follow these steps:

Edit Content in OSCommerce v2.3.3

 

  1. Login to the admin side of your website, entering the username and password when prompted.
  2. Once you are logged in navigate to [TOOLS] then [DEFINE LANGUAGES]

From here you can edit the text shown on the front end for the majority of pages. The main one being index.php. Important note: you should ALWAYS back-up or copy your files BEFORE you edit them so you can revert back to the original if anything goes wrong.

OSCommerce is coded in PHP and files should be edited inline with standard PHP code making note of this advice from oscommerce:

Editing Definitions

Each language definition is set using the PHP define() function in the following manner:

define(‘TEXT_MAIN’, ‘This text can be edited. It\’s really easy to do!‘);

The bold text can be edited. As this definition is using single quotes to contain the text, any single quotes within the text definition must be escaped with a backslash (eg, It\’s).