Guest Posted April 25, 2008 Posted April 25, 2008 Hi. I know there is a module that displays products that other people bought when i customer is looking at a particular product called also_purchased_products.php . I purchased an oscommerce template that doesn't seem to use this module anywhere. Is there a simple way of enabling it or showing it? Thanks
ruizerwin Posted April 25, 2008 Posted April 25, 2008 Hi. I know there is a module that displays products that other people bought when i customer is looking at a particular product called also_purchased_products.php . I purchased an oscommerce template that doesn't seem to use this module anywhere. Is there a simple way of enabling it or showing it? Thanks Check ir you have this file in your /includes/modules/also_purchased_products.php Once you have it... just writte on your product_info.php <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> Hope it help Erwin D. Padilla Web Developer and Linux Admin
Guest Posted April 25, 2008 Posted April 25, 2008 Thanks for that. I opened up product_info.php and found that this section was commented out. I have now removed the comments, but I don't seem to be able to see any difference. Any ideas. Thanks. </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> --> <tr> <td> <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?>
diy Posted April 25, 2008 Posted April 25, 2008 Put a test order with many products!!! Than put a second order and buy an item you already purchased and see if it works.
Guest Posted April 25, 2008 Posted April 25, 2008 Put a test order with many products!!! Than put a second order and buy an item you already purchased and see if it works. Thanks for that. I've given that a go, but I still don't seem to have any luck. Is there any reference to it anywhere else? Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.