Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Adding Information Files To Side Menu


Recommended Posts

Hello Everyone. Let me start by saying I am VERY new to this e-commerce thing. I had a company build a site for me and I'm tring to learn the details on my own.


I understand how to add in products, but I want to add text files (tips, ideas, etc.) under the catagory "Wedding Planning Tips". How do I do this? I thought maybe under the "Info System" section, but I'm not sure. I'm sure it's simple but since I'm new at this I'm a little lost.


My site is Simply Weddings


Thank you for your help.



Link to comment
Share on other sites

Yes it can be done, and its not that hard to do, so dont panic.


Firstly you need to copy one of your information pages, in the cataloge folder, and rename it to what ever you want it to be. Open this file in a text editor, and alter the following line to what you want them to be. I have used conditions to copy.



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


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

alter to


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


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


Copy also the file in your languages folder and rename it to the same as you called your other new file.


Open this file and alter the following conditions of use text to what you want it to be.


define('NAVBAR_TITLE', 'Conditions of Use');

define('HEADING_TITLE', 'Conditions of Use');


Then in your includes/languages/english.php file find the following piece of code


// information box text in includes/boxes/information.php

define('BOX_HEADING_INFORMATION', 'Information');

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

define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');

define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

define('BOX_INFORMATION_CONTACT', 'Contact Us');


And add the new files there in exactly the same way as the others are layed out.


Then in your includes/boxes information.php file find the following code


$info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .

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

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');


and add your new links there using the same layout as the others.


If i have got this right, you should now have your new page links in your information box.


I hope that this helps you, and you are not too confused.


Link to comment
Share on other sites

Thank you for responding :)


I think it all makes sense, but the only information pages I have are the About Us, Shipping, etc. Those are not listed in the side menu, only on the bottom of my website and top. So I don't have a sample to copy from. I went to the Catalog folder but all I have so far are products listed there.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...