johnnyosc Posted February 17, 2003 Share Posted February 17, 2003 How do you properly delete the Also Purchase Product modules from the product_info.php? I tried to delete the code in the product_info but i get a parse error message. Do I have to delete some other kind of code as well in another file??? Please advise. Thanks. Johnnyosc Link to comment Share on other sites More sharing options...
tresseh Posted February 17, 2003 Share Posted February 17, 2003 What version of OSC are you using? I am using fully loaded 4 and the fix for my product_info.php file is: Located the following code @ roughly Line 300: <tr> <td><br> <?php if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> </td> </tr> Replace this with: <?php } ?> That fixes it just fine for me. If your product_info.php is different to this, please disregard - but i'm pretty sure your parse error is because your deleting the very last } and therefore aren't closing an open statement. HTH Regards, Jay. Link to comment Share on other sites More sharing options...
imcrow Posted August 10, 2006 Share Posted August 10, 2006 What version of OSC are you using? I am using fully loaded 4 and the fix for my product_info.php file is:Located the following code @ roughly Line 300: <tr> <td><br> <?php if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> </td> </tr> Replace this with: <?php } ?> That fixes it just fine for me. If your product_info.php is different to this, please disregard - but i'm pretty sure your parse error is because your deleting the very last } and therefore aren't closing an open statement. HTH This worked for me: <tr> <td><br> <?php if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); } else { // include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> </td> </tr> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.