Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please Help


kruiser69

Recommended Posts

Ho do i create another link in the information box to a secondary contact us ??? i want this because id like to use the default contact us as a template which i will edit and use for Referrals.

Link to comment
Share on other sites

Add a line to this section of 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>');

and then a define for FILENAME_whateverYouCallIt in includes/application_top.php and a define for BOX_INFORMATION_whateverYouCallIt in includes/languages/english.php (and your other languages too).

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...