Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How do I remove the Tell A Friend box?


Recommended Posts

Everytime I mark it out in the file with // it shows a error message, how do I remove it? Also, I would like the Specials box to appear on all pages not just the index.

Link to comment
Share on other sites

The stock install has this code

  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 remove Tell-a-Friend and alsways show the specials, you need to remove the if statement and brackets, making it

include(DIR_WS_BOXES . 'specials.php');



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

Link to comment
Share on other sites


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

  • Create New...