Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How do I add new page in information box?


Recommended Posts

I need to add a Size Chart and I would like to add it in the information box on the left side. Anyone know how I go about doing this? I have put all the information in the conditions.php temporarily and it works but can't seem to find how to add another page or change the name of the conditions page and make it work.


Thanks in advance. Any help would be appreciated.

Link to comment
Share on other sites

First to make the page,


You can try this addon: PageMaker

It is old but still works, and gives instructions on how to make a new page. To do it correctly, you'll need to create the correct language file, the page itself, and define the filename and box_information in your language file. Page maker just helps you do that rather quickly.


Or you can follow the directions in this post.



Once you have made your new page uploaded it etc..


You then need to reference it inside your information box.


To do that, simply go to catalog/includes/boxes/information.php


On that page you'll see text that looks somewhat like this:

 $info_box_contents = array();
$info_box_contents[] = array('text' => tep_information_show_category() .
	'<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_GV_FAQ, '', 'NONSSL') . '">' . BOX_INFORMATION_GV . '</a><br>' .
	'<a href="' . tep_href_link(FILENAME_FAQS, '', 'NONSSL') . '">' . 'FAQ\'s' . '</a><br>' .
	'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
	'<a href="' . FILENAME_RSS . '?language=' . $lang_code . '">' . BOX_INFORMATION_RSS . '</a>');


Follow the same format above to insert the page in the desired location. In the example above this information box looks like this.


Privacy Notice

Conditions of Use

Gift Voucher FAQ's

Site FAQ's

Contact Us

RSS Feed


Just create a new line and

'<a href="' . tep_href_link(FILENAME_SIZE_CHART, '', 'NONSSL') . '">' . BOX_INFORMATION_SIZE_CHART . '</a><br>' .


Unless you put it at the bottom of the box in which case follow the last line above and add a ; instead of a . Then switch the previous last line from ; to . so that only the last line has the ;


In php the ; means end line, while . means "and" so we are saying and and and and and stop with . . . . . ;

Link to comment
Share on other sites

Thanks for the info. Still couldn't get it to work so I just put the size chart in a pdf doccument and linked to it from the main page content.


Thanks anyway for your help

Link to comment
Share on other sites


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

  • Create New...