toto46 Posted July 12, 2010 Share Posted July 12, 2010 HI I do not want this section Customers who bought this product also purchased to show below the products (in fact not at all) so in product_info.php i found this piece of code and deleted it <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> but I get an error message Parse error: syntax error, unexpected $end in /var/www/apache2-default/mysite.com/catalog/product_info.php on line 277 On line 22t I have <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> ?!? I have had a good look at this and can not see what the problem is, if somebody can point me in the right direction, thanks Philip Link to comment Share on other sites More sharing options...
toto46 Posted July 12, 2010 Author Share Posted July 12, 2010 Ok I am replying to my own post here as I just realized what what was wrong the above code needs to be replaced with <?php } ?> Not sure why. but would like to know I have never seen this before.. Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2010 Share Posted July 12, 2010 Ok I am replying to my own post here as I just realized what what was wrong the above code needs to be replaced with <?php } ?> Not sure why. but would like to know I have never seen this before.. For each { you must have a } If you look at your code above you will notice you have one more } than { which means unexpected $end error. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.