Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how will i remove the "tell a friend box"??


xronis

Recommended Posts

Posted

If you have a standard oscommerce shop, you have to edit the code to remove it. Find this code in the column_right (or column_left) file

  if (isset($HTTP_GET_VARS['products_id'])) {
if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
 } else {
include(DIR_WS_BOXES . 'specials.php');
 }

and change it to

  if (isset($HTTP_GET_VARS['products_id'])) {
//if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
 } else {
include(DIR_WS_BOXES . 'specials.php');
 }

 

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

Archived

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

×
×
  • Create New...