Prilum Posted June 25, 2006 Share Posted June 25, 2006 I want to remove the "Customers who purchased this product, also purchased"-box that appear below the pruduct info box. I have searched the forum and scrolled it page for page for an answer for 2 hours now and I give up... :'( If the answer for this layout problem of mine already exist, please link me to the correct topic. ;) (but all I have seen is how to optimize this module) At the bottom of the product_info.php file, I have tried to remove (and also comment out) the code: <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> But then the page would go totally blank. I'll be very thankful for some help in this matter!!!? Link to comment Share on other sites More sharing options...
choosealogin Posted June 25, 2006 Share Posted June 25, 2006 You were on the right track, you just need to leave that last curly bracket } there, it needs that one or else it wipes out the whole thing. So you can comment out (or remove) this if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } ...and leave that other curly bracket under it intact...that will work. Link to comment Share on other sites More sharing options...
Prilum Posted June 26, 2006 Author Share Posted June 26, 2006 Maaan.... I knew there must be something I missed... But..hey.. must have something to do 2 am, right?! :D sometimes one really need a third eye. Thanks alot! worked perfectly!! ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.