Guest Posted January 25, 2007 Share Posted January 25, 2007 I need to know how and if the reviews can be removed as I don't need reviews of bunches of flowers. Can anyone please advise me. Many Thanks in advance Link to comment Share on other sites More sharing options...
aegrnberg Posted January 25, 2007 Share Posted January 25, 2007 I need to know how and if the reviews can be removed as I don't need reviews of bunches of flowers. Can anyone please advise me. Many Thanks in advance In catalog/product_info.php you can just disable the reviews button. Change this: <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> To this: //Commented out review button next line - not needed <td class="main"><?php //echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> If customers already submitted reviews, delete existing reviews, otherwise the "Current Reviews: #" will still show. Also if you have an infobox for reviews, disable that. Link to comment Share on other sites More sharing options...
FixItPete Posted January 25, 2007 Share Posted January 25, 2007 In catalog/product_info.php you can just disable the reviews button. Change this: <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> To this: //Commented out review button next line - not needed <td class="main"><?php //echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> If customers already submitted reviews, delete existing reviews, otherwise the "Current Reviews: #" will still show. Also if you have an infobox for reviews, disable that. This seems to work well! :) Do you know if this is totally allows you to remove the review related files as well? I find the fun in everything. Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2007 Share Posted January 26, 2007 In catalog/product_info.php you can just disable the reviews button. Change this: <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> To this: //Commented out review button next line - not needed <td class="main"><?php //echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> If customers already submitted reviews, delete existing reviews, otherwise the "Current Reviews: #" will still show. Also if you have an infobox for reviews, disable that. Link to comment Share on other sites More sharing options...
fusioncs Posted February 23, 2007 Share Posted February 23, 2007 Brilliant workaround. Thank you. Link to comment Share on other sites More sharing options...
Barbie97 Posted December 11, 2008 Share Posted December 11, 2008 Brilliant workaround. Thank you. Hi! I tried to replace the script with the above, but now I'm getting this text in place of the reviews button: //Commented out review button next line - not needed Can somebody tell me what I'm doing wrong... here is my script: //Commented out review button next line - not needed <td class="main"><?php //echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.