Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customers also purchased code...does this look correct?


chimol

Recommended Posts

Posted

Hi all,

It seems like my code to call some other products to the page when a customer is looking at a particular

product doesn't seem to be working. I know it pulls the items from cache and if nothing is in there it won't

put any products in the box, but I did several test and every time I go back to a product, it should be showing

"customers also purchased" this product in the box below, but it's not. Does this code look write? I pulled it from

the product_info_php script.

 

<?php
if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
 }
?>

 

Thanks for any help you can give me!

Steve

I appreciate all the help that everyone on this site has given me!

Archived

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

×
×
  • Create New...