Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to delete/add link in Information box


szpaks

Recommended Posts

Posted

How to delete "Conditions of Use" link in Information box and also how to add new link to this box.

Posted

open catalog/includes/boxes/information.php

 

If you look at the code you should be able to figure it out but I will give you some info.

 

To remove the link, remove this code

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

 

To add a link to an internal page you would write a link like above. Lets say for a category whose ID is 14

 

'<a href="' . tep_href_link('index.php','cpath=14') . '">Category Name</a><br>' .

 

'index.php','cpath=14' index.php being the page to go to cpath being the category. You can find out what you would put there by clicking on the link and viewing the url.

 

to link to a page you have made, let's say aboutus.php the link would look like

 

'<a href="' . tep_href_link('aboutus.php') . '">About Us</a><br>' .

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

  • 1 year later...
Posted
open catalog/includes/boxes/information.php

 

If you look at the code you should be able to figure it out but I will give you some info.

 

To remove the link, remove this code

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

 

To add a link to an internal page you would write a link like above. Lets say for a category whose ID is 14

 

'<a href="' . tep_href_link('index.php','cpath=14') . '">Category Name</a><br>' .

 

'index.php','cpath=14' index.php being the page to go to cpath being the category. You can find out what you would put there by clicking on the link and viewing the url.

 

to link to a page you have made, let's say aboutus.php the link would look like

 

'<a href="' . tep_href_link('aboutus.php') . '">About Us</a><br>' .

 

 

Hi All,

 

I wonder if someone can help me with this. I was trying to remove a link and category in my information box. I followed the above instructions, and Ithe category is still there in my information box. Is there something else I need to do to make that go away?

 

Thanks in advance!

 

Debbie

Archived

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

×
×
  • Create New...