Dennis_gull Posted November 18, 2006 Posted November 18, 2006 Hey, I dont want to have the window where it says "people who bought this product also bought..." If I remove this: if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } I get an error like this: Parse error: syntax error, unexpected $end in www.example.com/product_info.php on line 248 So what do I have to do to remove that window.
wppnewb Posted November 18, 2006 Posted November 18, 2006 Hey, I dont want to have the window where it says "people who bought this product also bought..." If I remove this: if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } I get an error like this: Parse error: syntax error, unexpected $end in www.example.com/product_info.php on line 248 So what do I have to do to remove that window. You are receiving this error because of an unmatched "{" curly. The code you are removing is including a closing curly "}". Remove the code as below: if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } Let me know if that still does not fix your issue. Amit
Recommended Posts
Archived
This topic is now archived and is closed to further replies.