Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

REMOVE - Tell_A_Friend_Box ? -


Zoi

Recommended Posts

Hi all..

 

Anyone know how the *Biip* i remove the Infobox "Tell_a_friend" on the right column?

 

i tryed put a // infront of this code.. (in includes/column_right.php)

 

if ($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');

  }

 

Where do i put i, or HOW do i remove the box ?

tell me about it.. thank you!

 

/ Andrew :unsure:

Link to comment
Share on other sites

from your own post

if ($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');
?}

change to

/* if ($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');
?} */

this removes tell a friend and specials if you want to keep specials

 if ($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');
?}

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...