Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

where is this file displayed.


Azim

Recommended Posts

Posted

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

Posted

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 ======>>>>>.

Posted

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.

Posted
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

Posted

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.

Posted
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);

Archived

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

×
×
  • Create New...