Azim Posted September 6, 2008 Posted September 6, 2008 Hello, I want to know where is this file displayed in the site. I know where it is in the catalog, but is it displayed by default in the site when a product is bought by customers. Or do i have to comment out the code to enable this module. Thanks
♥geoffreywalton Posted September 6, 2008 Posted September 6, 2008 Suspect you can control this in the admin area of your site Configuration >> Maximum Values and Configuration >> Minimum Values Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Azim Posted September 7, 2008 Author Posted September 7, 2008 Thanks. i mean if i want to find the code where this file placed. I have the template installed. i am not sure if it is enabled or disabled in the templat. Thanks a lot for the advice.
sLaV- Posted September 8, 2008 Posted September 8, 2008 Thanks. i mean if i want to find the code where this file placed. I have the template installed. i am not sure if it is enabled or disabled in the templat. Thanks a lot for the advice. Module is called from /catalog/product_info.php around line 229 include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); Code to display them can be found in /catalog/includes/modules/also_purchased_products.php
Azim Posted September 8, 2008 Author Posted September 8, 2008 It shows this code: <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { ?> <?php //include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); ?> ============== do i have to comment out the code line of //include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); or do some changes in the Store configuration>>>Cache. i tried to change the cache use to true and it messed my store design. And the folder to where the cache files are saved is named /tmp/ do i have to make it something else. Thanks please.
sLaV- Posted September 8, 2008 Posted September 8, 2008 It shows this code:<?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { ?> <?php //include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); ?> ============== do i have to comment out the code line of //include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); or do some changes in the Store configuration>>>Cache. i tried to change the cache use to true and it messed my store design. And the folder to where the cache files are saved is named /tmp/ do i have to make it something else. Thanks please. If your store is NOT using cache then you just need to uncomment the second bit //include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); so change it to include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
Azim Posted September 11, 2008 Author Posted September 11, 2008 Ok. thanks i got it. i jusy comment out the code. Thanks a lot.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.