Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tell a friend problem


Sharon123

Recommended Posts

Hi all

 

I am really close to completion.

 

I have a few questions that maybe some of you couod assist

 

1. I do not want the option of tell a friend, it has been turned off but is still showing up in product info page, this is the code for the column

} else {

   include(DIR_WS_BOXES . 'best_sellers.php');

 }

require(DIR_WS_BOXES . 'whats_new.php');

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

 }



require(DIR_WS_BOXES . 'information.php');



 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

   

 }

?>

could some extract the bit that needs extracting, I tried but it keep screwing up!

 

2. When you click on a link to another page I get a full screen of white for a second or so, is this common?

 

Thanks

Sharon

I know more than I did yesterday...If thats any help!

Link to comment
Share on other sites

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

require(DIR_WS_BOXES . 'whats_new.php');

 

 

include(DIR_WS_BOXES . 'specials.php');

 

require(DIR_WS_BOXES . 'information.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

 

}

?>

 

 

 

 

 

 

should do it, but if not - you could just change the

if (isset($HTTP_GET_VARS['products_id'])) {

line to

if (isset($HTTP_GET_VARS['anything'])) {

 

 

as 'anything' is not part of your url, the tell a friend box will not show.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...