Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Changing box titles and links inside


Recommended Posts

How do you change for example the header of box categories to products and then change the titles inside

the box example shipping and returns to delivery and returns


thanks rob


Hi, You should be able to find these in catalog/includes/languages/english.php

Link to comment
Share on other sites

On that same note....How and where do I add a link to the information box on the left side menu? I tried to just add a <a href and it gives me all kinds of failures. I figured out how to change the text..


Hi, you have to change 2 files. In includes/boxes/information you need to add the link. If you want it at the bottom, you go to the last one on your file which will end with the '</a>') and you add your link info after you change the '</a>' to '</a><br>' .


Add something like this:


'</a><br>' . '<a href="outdoor fabrics revised3.html">' . BOX_INFORMATION_FABRICS . '</a>')


Then you need to go into includes/languages/english.php and add something like:


define('BOX_INFORMATION_FABRICS', 'Fabric Selection Chart');


Hope that is what you needed. Post back if you need more help.

Link to comment
Share on other sites

Here is what I added and it gives me a syntax parse error.


Parse error: syntax error, unexpected T_NEW in /home/dixie/public_html/catalog/includes/boxes/information.php on line 29




Here is what I have added to the information.php page. I added what is in bold.



$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);


new infoBoxHeading($info_box_contents, false, false);


$info_box_contents = array();

$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><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT) . '">' . BOX_INFO_FAB . '</a>')



new infoBox($info_box_contents);








I added this line below to the english.php page.


define('BOX_INFO_FAB', 'Contact Info');



I tried adding just the link in the place of this

. tep_href_link(FILENAME_CONTACT) . '

But it didn't work either.


This has to be simple but can't seem to figure it out.

Thanks for the help so far.

Link to comment
Share on other sites


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

  • Create New...