How to add a new (About Us) Page in Oscommerce 2.3.3

Nowadays I am working on osCommerce and I need to create a new/custom About Us page for company profile but I don’t get any option in admin panel. Surprisingly there is no option to manage pages like About Us, Terms and Condition, Privacy Policy and etc. Even you can’t create a new menu from admin panel.

But it will cool, once you understand the file structure of osCommerce. It is only focused on e-Commerce. And there are many other pages though these are not manageable from admin, but you can manage and create new pages as much as you need by following these steps.

In my case I want to create a news/custom About Us page.

1. catalog/includes/modules/boxes/bm_information.php

Copy the line –

'    <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '</a><br />' .

Insert and change the words PRIVACY to ABOUT_US and save the bm_information.php file. Here is my code for about us page

'    <a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_ABOUT_US . '</a><br />' .

2. catalog/includes/languages/english/modules/boxes/bm_information.php

Copy the line –

define('MODULE_BOXES_INFORMATION_BOX_PRIVACY', 'Privacy Notice');

Insert and change the words PRIVACY to ABOUT_US and save bm_information.php file.

Here is my code for about us page

define('MODULE_BOXES_INFORMATION_BOX_ABOUT_US', 'About Us');

3. catalog/includes/filenames.php

Copy the line –

define('FILENAME_PRIVACY', 'privacy.php');

Insert and change the words PRIVACY to ABOUT_US and also change the filename privacy.php to about_us.php and save filenames.php file.

Here is my code

define('FILENAME_ABOUT_US', 'about_us.php');

4. catalog/privacy.php

Open privacy.php file and Save As about_us.php. change the words PRIVACY to ABOUT_US on these below line

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRIVACY);

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRIVACY));

For my About Us page:

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ABOUT_US);

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ ABOUT_US));

5. catalog/includes/languages/english/privacy.php

Also open this file and save it as about_us.php. Change the words Privacy Notice to About Us –

define('NAVBAR_TITLE', 'Privacy Notice');

define('HEADING_TITLE', 'Privacy Notice');

Edit line –

define('TEXT_INFORMATION', 'Put your text here.');

For my About Us page :

define('NAVBAR_TITLE', 'About Us');

define('HEADING_TITLE', 'About Us ');

Edit line –

define('TEXT_INFORMATION', ' About Us text will go here...');

Now, test your page. And this way you can create as many pages as you want on osCommerce.

Thanks. Sharing is Caring.