Guest Posted December 10, 2006 Posted December 10, 2006 How do I completely diable the "Reviews"? I know I can remove the box from the right column, but then even if I do that, the ability to write a review still appears on the product pages. I saw a thread in here that explained how to remove that capability altogether, but someone said that doing so messes with the thumbnail images/click to enlarge. Does anyone know a quick and clean way to completely disable the reviews?
Guest Posted December 10, 2006 Posted December 10, 2006 Oh ok, this may not be the best way, but for now it works great-I just replaced the "Reviews" button with a 1x1 transparent image. Problem solved :)
flexcableproducts Posted February 9, 2007 Posted February 9, 2007 if you want to remove the reviews side box do this. This can be used on any box. add to stylesheet: .hidden { display: none; } then open up the box php file you want to remove find the <tr> <td> That is above the php code. change it to <tr> <td class="hidden"> Now the box will never show. and you wont get errors
wheeloftime Posted February 10, 2007 Posted February 10, 2007 if you want to remove the reviews side box do this. This can be used on any box. add to stylesheet: .hidden { display: none; } then open up the box php file you want to remove find the <tr> <td> That is above the php code. change it to <tr> <td class="hidden"> Now the box will never show. and you wont get errors That's very complicated... Just open your includes/column_left.php or column_right.php and comment out, or remove, the code for the box you do not want to be displayed. // require(DIR_WS_BOXES . 'reviews.php'); instead of require(DIR_WS_BOXES . 'reviews.php');
sewfe Posted April 1, 2007 Posted April 1, 2007 This removes the Reviews box from the right or left column. However the Reviews button still shows up on the product pages.
sewfe Posted April 1, 2007 Posted April 1, 2007 I found this thread that will remove the review button from the product pages. Remove Review Buttons
ErollorD Posted April 1, 2007 Posted April 1, 2007 basically all of this solutions won't remove the review, it will only hide the path to review section...
coperchoper Posted May 30, 2008 Posted May 30, 2008 well, commenting the code //require(DIR_WS_BOXES . 'reviews.php'); and hiding/removing the button/page link is a first step <? // echo "<a href=".tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)."</a>"; ?> but it does not prevent anyone to access the reviews funtion using the link http://yourgoodhost/catalog/product_review...oducts_id=1xxxx I´ve disable the reviews renaming the files .php to .disable , you can delete them but this way you can always recover them back. So rename the following files product_reviews_info.php - to -> product_reviews_info.disable product_reviews_write.php - to -> product_reviews_write.disable reviews.php - to -> reviews.disable product_reviews.php - to -> product_reviews.disable Then any access to http://yourgoodhost/catalog/product_review...oducts_id=1xxxx will return a 404 page error , but since no links/buttons refer to the review this is a good behaviour. Hope it helps
Recommended Posts
Archived
This topic is now archived and is closed to further replies.