Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a new option in information Box


indice

Recommended Posts

Hi to all,

 

I like to add anew option on my information box:

for example:

faq

information

contact us

now to add a new, need help

 

Best Regards

I

 

You need to edit the following code from catalog/includes/boxes/information.php:

 

$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>');

 

 

Simply add a line such as:

 

'<a href="' . tep_href_link('AFile.php) . '">' . 'Text For the Link' . '</a><br>' .

 

If you want to access an external page (i.e google, then use the following structure:

 

'<a href="http://www.google.co.uk">' . 'Google' . '</a><br>' .

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...