Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove Conditions of Use link in Information box


rhondab

Recommended Posts

Posted

Hello,

 

I am hoping someone can help.

 

How do I remove the Conditions of Use link from the left side Information box? I deleted the conditions.php page but I can't figure out how to remove the link (and now, of course, it is giving a Page Not Found error).

 

Thanks a bunch!

Rhonda

Posted

Hey Rhonda,

 

Go to: catalog/includes/boxes/information.php

 

Look for (line 25): '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

Add in front //

So now looks like: //'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

Link gone! :thumbsup:

 

 

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Posted

Thanks! I had just found it when I saw your answer.

 

Question though - I had commented it out using /* and */ - what is the difference in this and the // you suggested?

 

 

 

Hey Rhonda,

 

Go to: catalog/includes/boxes/information.php

 

Look for (line 25): '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

Add in front //

So now looks like: //'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

Link gone! :thumbsup:

Posted

Not much difference in the commenting out marks.

Some things can even get commented out with <!-- text or code -->

;)

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Archived

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

×
×
  • Create New...