oscommerce2

How to add a new Page to Oscommerce 2.3

In this Article I help you to create a new page in oscommerce 2.3.1, oscommerce 2.3.2, oscommerce 2.3.3 . Its very easy to create a new page in oscommerce 2.3. In below we discuss how create new 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 your text Save edited bm_information.php

. 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 your text Save edited bm_information.php

3. catalog/includes/filenames.php

Copy the line –

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

Insert and change the words privacy to your text save edited filenames.php

4. catalog/privacy.php

change the words Privacy Notice to your text –

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRIVACY);
   $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRIVACY));

Save file as what-ever-your-txt-name-is.php and load it the same place as the privacy.php was…

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

Change the words Privacy Notice to your text –

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

Edit line –

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

Rename file to what ever txt you named your other privacy.php to

Put new file in the same folder as orginal privacy.php, catalog/includes/languages/english/whatever-you-named-your-other-file-too.php

Now, test your page.
Thanks.

Related Posts


Leave a Reply

Your email address will not be published. Required fields are marked *


*