Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Tell A Friend


OldGuy

Recommended Posts

Posted

I suppose in a kinder and more gentle world tell a friend would have been a nice feature but it can be used to spam anyone, anywhere, anytime and all under the name of the store!!! I'd rather not have it available but I can't figure out how to turn it off. NEED HELP!

Posted

In your includes/column_right.php change this:

 

  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');
 }

 

to this:

 

	include(DIR_WS_BOXES . 'specials.php');

 

You can delete or re-name the file as well, if you're not going to use it. tell_a_friend.php.bak

Posted

Thanks Peter - That did it. I actually had it set off in the store config but it had no effect.

Thans again...

  • 1 year later...
Posted
Thanks Peter - That did it. I actually had it set off in the store config but it had no effect.

Thans again...

 

i did the same, and it gives an error on line 36:

dont forget to comment the last "{".

 

now it should works!

Archived

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

×
×
  • Create New...