Barbie97 Posted May 29, 2007 Share Posted May 29, 2007 I've looked thru contributions, but can't find anywhere that shows how to remove the feature: Customers Who Bought this Product also Purchased.... How do I remove this feature? (thank you in advance for your help!!) Link to comment Share on other sites More sharing options...
AdamIllian Posted May 29, 2007 Share Posted May 29, 2007 I've looked thru contributions, but can't find anywhere that shows how to remove the feature:Customers Who Bought this Product also Purchased.... How do I remove this feature? (thank you in advance for your help!!) I had to remove it from the base code. It was a pain, but well worth it in the end. As far as I can tell there is not a way to turn off that feature in the backend. Link to comment Share on other sites More sharing options...
jasonabc Posted May 29, 2007 Share Posted May 29, 2007 Remove this from /product_info.php: if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
Barbie97 Posted May 29, 2007 Author Share Posted May 29, 2007 I think I might be doing something wrong. When I remove all the code that Jason listed, I get an error and the page will not load. I even tried just cancelling out that code and got the same thing. What am I supposed to do here? I'm just learning this stuff so... be gentle! the error I receive is: Parse error: syntax error, unexpected '}' in /home/rifle79/public_html/product_info.php on line 228 Link to comment Share on other sites More sharing options...
jasonabc Posted May 29, 2007 Share Posted May 29, 2007 double check the code I posted carefully. There is another closing curly brace '}' after my code block which needs to be left in. So basically change this: <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> to this: <?php } ?> Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
Barbie97 Posted May 29, 2007 Author Share Posted May 29, 2007 That did the trick!!!! Thank you SOOOO MUCH!!!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.