fancave Posted November 25, 2005 Share Posted November 25, 2005 I've searched the forum and not found a suitable answer. I want to completely disable the Reviews feature and don't want anything about reviews to appear on the pages. I've set the maximum values of Reviews Displayed at 0 but now I'm getting "There are no product reviews" in the Review box. Who can help me turn off this feature? :) Link to comment Share on other sites More sharing options...
AlanR Posted November 25, 2005 Share Posted November 25, 2005 In includes/column_right.php Find: require(DIR_WS_BOXES . 'reviews.php'); Delete it or comment it out // require(DIR_WS_BOXES . 'reviews.php'); Give me a minute or two and I'll find the other places references appear. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
AlanR Posted November 25, 2005 Share Posted November 25, 2005 Line 212: /catalog/product_info.php controls the button in the product page <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> Quick way to leave the line for future reference, comment out just before echo: <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> Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
rabbitseffort Posted November 25, 2005 Share Posted November 25, 2005 I've searched the forum and not found a suitable answer. I want to completely disable the Reviews feature and don't want anything about reviews to appear on the pages. I've set the maximum values of Reviews Displayed at 0 but now I'm getting "There are no product reviews" in the Review box. Who can help me turn off this feature? :) the easiest way is what alan said first, go into column_right.php(or column_left.php if you moved it there) find this: require(DIR_WS_BOXES . 'reviews.php'); change to://require(DIR_WS_BOXES . 'reviews.php'); the 2 lines in the front will comment it out, and if you decide you want it again later then go back there and take the lines out. "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey" Link to comment Share on other sites More sharing options...
fancave Posted November 25, 2005 Author Share Posted November 25, 2005 Thanks folks! I'll give that a try. :) That worked!! Thank you SO much! :) Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2005 Share Posted November 28, 2005 the easiest way is what alan said first, go into column_right.php(or column_left.php if you moved it there) find this: require(DIR_WS_BOXES . 'reviews.php'); change to://require(DIR_WS_BOXES . 'reviews.php'); the 2 lines in the front will comment it out, and if you decide you want it again later then go back there and take the lines out. Hi! He's right it's the easiest way, but please note that you have to do the second way too. So that customers will not have any way to post a review. FYI from a newbie! Link to comment Share on other sites More sharing options...
fancave Posted November 28, 2005 Author Share Posted November 28, 2005 Thanks for reminding me! I took it off of the product_info page as well. :) Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2006 Share Posted May 10, 2006 I can't figure out how to disable them either. Please help. http://www.stuff4scrapbooking.com >_< Link to comment Share on other sites More sharing options...
emoonjewelry Posted May 11, 2006 Share Posted May 11, 2006 Thanks for asking this, I was looking how to do this too! Heather Link to comment Share on other sites More sharing options...
skarmel19 Posted June 12, 2006 Share Posted June 12, 2006 Line 212: /catalog/product_info.php controls the button in the product page <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> Quick way to leave the line for future reference, comment out just before echo: <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> what should i do i dont have the echo.... see below <tr><td style="padding-left: 8px"><span class=ch7><?=$products_price?></span></td></tr> <tr><td height=10></td></tr> </table> </td></tr> <tr><td colspan=2 align=right><a href=<?=tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)?></a><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_BUY_NOW); ?></td></tr> <tr><td height=36></td></tr> <tr><td colspan=2 align=center> <table cellspacing=0 cellpadding=0 width=457 align=center> <tr><td class=ch8> Link to comment Share on other sites More sharing options...
JemCraft Posted September 6, 2007 Share Posted September 6, 2007 Hi I don't have the 'echo' code bit either, did you get this sorted at all? Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2007 Share Posted October 16, 2007 Hi I don't have the 'echo' code bit either, did you get this sorted at all? As a further note I also wanted to do this in my shop, with the possibility that I may want to revert back to using reviews at some point in the future. I have just created an white image file (gif) 1x1 pixel, and uploaded it to the includes/languages/images/buttons folder, replacing the current button_reviews.gif Simple :) Link to comment Share on other sites More sharing options...
jannezz Posted November 14, 2007 Share Posted November 14, 2007 <a href=<?=tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)?></a> replace with <? // echo "<a href=".tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)."</a>"; ?> That should do it Link to comment Share on other sites More sharing options...
jdesa2000 Posted May 29, 2008 Share Posted May 29, 2008 For some reason, google is indexing some of my product review pages and showing them in search results more frequently than the actual product info pages. Will the suggestions explained previously disable google from indexing review pages or is there another way of solving this indexing issue? Link to comment Share on other sites More sharing options...
coperchoper Posted May 31, 2008 Share Posted May 31, 2008 If you have comment the lines google should not find the link and index the page , I recommend you to check that the references google do to your review pages are really not "operative", I mean they are not valid. Some people has proposed to hide the link, but hide does not mean "deactivate" because it does not prevent anyone to access the reviews function using the link http://yourgoodhost/catalog/product_review...oducts_id=1xxxx (try it) I’ve disable the reviews function renaming the .php files that make them work to .disable. You can delete the files but this way you can always recover them back. So to disable the reviews 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. Link to comment Share on other sites More sharing options...
soopernick Posted November 8, 2008 Share Posted November 8, 2008 OH MY GOD SOMEBODY PLEASE HELP ME! I'm new to this sort of stuff and i have no idea where i went wrong! I was following the instructions on this topic to disable the reviews. i started with the "the easiest way is what alan said first, go into column_right.php(or column_left.php if you moved it there) find this: require(DIR_WS_BOXES . 'reviews.php'); change to://require(DIR_WS_BOXES . 'reviews.php'); the 2 lines in the front will comment it out, and if you decide you want it again later then go back there and take the lines out." post and it worked fine. Then i moved onto the post that reads : " <a href=<?=tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)?></a> replace with CODE <? // echo "<a href=".tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)."</a>"; ?> That should do it" When i tried that the first time, it removed the review button, but it also removed the product photo. So i went back in and removed the //, but now the entire page wont load. I have no idea what i did wrong because it seemed like i was just undoing the operation that i had just tried. Can somebody please advice me on what to do next in order to get this stuff back? Thank you so much! Link to comment Share on other sites More sharing options...
kieran_mullen Posted December 29, 2009 Share Posted December 29, 2009 I have already edited it out, but it might be successful for future ordering. How can I enable it so users can leave reviews for products only on items they have purchased? perhaps it would be done only through their my account area? thank you Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2009 Share Posted December 29, 2009 Shana, It looks like you are using a template...........change: <tr><td colspan=2 align=right><a href=<?=tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)?></a><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_BUY_NOW); ?></td></tr> to: <tr><td colspan=2 align=right> <!-- <a href=<?=tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)?></a> --> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_BUY_NOW); ?></td></tr> Chris Link to comment Share on other sites More sharing options...
mjvmec Posted November 11, 2010 Share Posted November 11, 2010 does anyone know how to get more than one review to show on the home page? spam is not allowed Link to comment Share on other sites More sharing options...
moloch30 Posted February 12, 2011 Share Posted February 12, 2011 Im using a template and cant seem to figure out how to disable review feature: my product info: $button_text = '<a class="bg_button22" onMouseOut="this.id=\'bg_button22\';" onMouseOver="this.id=\'bg_button22\';" href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">'.tep_draw_list_top().IMAGE_BUTTON_REVIEWS.tep_draw_list_bottom().'</a>'; $button_img = '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.png', IMAGE_BUTTON_REVIEWS) . '</a>'; how to diable Reviews? plz help! THX in advance Link to comment Share on other sites More sharing options...
Backcountry_Surfer Posted March 24, 2011 Share Posted March 24, 2011 Well i have just done both and my reviews are still showing with the ability of customers still able to post a review? Makes no sense! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.