Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I remove "Customers who bought ..."


libman

Recommended Posts

Hi Folks,

 

Could someone tell me how to remove the area " Customers who bought this product also purchased" and the associated images at the bottom of the product_info.php page. I tried to remove the code:

 

<?php

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_also_purchased(3600);

} else {

include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);

}

}

?>

 

from the product_info.php page but an error is generated.

 

Regards,

G.Landry

Thanks,

Libman

Link to comment
Share on other sites

Remove this part only:

if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_also_purchased(3600);
} else {
include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}

Link to comment
Share on other sites

Remove this part only:

if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_also_purchased(3600);
} else {
include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}

 

Thanks for the help.

 

What I did was the following:

***********************************

<?php

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_also_purchased(3600);

} else {

//include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);

}

}

?>

***********************************

 

Notice the // in front of the include. I hope this does not produce a problem. What do you think?

 

By the way, I love your business site and the modifications you have made to oscommerce.

 

Thanks again

 

Regards,

G.L.

Portland, Maine

Thanks,

Libman

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...