Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a new Link in the Information Box?


JKG

Recommended Posts

Posted

How would I go about adding another link in the information box called

 

Return Policy

 

 

I messed around with a couple of file's yesterday, and got a error and a link to nothing. LOL

Which file's should I being editing? And how would I go about doing this.

Posted

Open the includes/boxes/information.php file and find this line

										 '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

Duplicate it and paste itright below the existing one (not at the very end). Change FILENAME_CONDITIONS to whatever the name of your new file is. If you don't have it defined in includes/filenames.php, then use 'name_of_fle.php' (be sure to include apostrophes). Then change BOX_INFORMATION_CONDITIONS to 'name of link' (again, use the apostrophes). It should work at that point.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Open the includes/boxes/information.php file and find this line
										 '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

Duplicate it and paste itright below the existing one (not at the very end). Change FILENAME_CONDITIONS to whatever the name of your new file is. If you don't have it defined in includes/filenames.php, then use 'name_of_fle.php' (be sure to include apostrophes). Then change BOX_INFORMATION_CONDITIONS to 'name of link' (again, use the apostrophes). It should work at that point.

 

Jack

 

 

Thanks

I finally got it after I noticed that there needed to be two return.php's in two different section's of oscommerce, which was two different files one had alot more information than the other shipping php.

 

I just copied the shipping.php from both directories, renamed them and edited them a little to my new filename's etc. and reupped them into the two different directories. Then did as you said with the filenames.php and information.php.

Archived

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

×
×
  • Create New...