Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding links to my Iformation box


Brollox

Recommended Posts

How would I go about adding another link to my information box to page to this called "Discount Structure" Do I have to create catalog/discount_structure.php? Where will the information be stored?

$info_box_contents = array();
 $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' .
									 '<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_DYNAMIC_SITEMAP) . '">' . BOX_INFORMATION_DYNAMIC_SITEMAP . '</a><br>' .
			 '<a href="http://www.weizterfish.com/forum">Forum</a>');

Link to comment
Share on other sites

There is a contribution to help you install new pages. I casnt remember what its called, but a search for new pages will find it.

 

You have to create a page called discount_structure.php in your root files, another called the same in your languages file, and you will have to define it in your includes/filenames file. The easies way it to copy and rename pages already there.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

How would I go about adding another link to my information box to page to this called "Discount Structure" Do I have to create catalog/discount_structure.php? Where will the information be stored?

$info_box_contents = array();
 $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' .
									 '<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_DYNAMIC_SITEMAP) . '">' . BOX_INFORMATION_DYNAMIC_SITEMAP . '</a><br>' .
			 '<a href="http://www.weizterfish.com/forum">Forum</a>');

 

I think this is what you're looking for:

http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...