Is there anyway to remove the product reviews from my page? I have sold a lot through my site and I have very few reviews. I think it looks bad not having very many so I would rather not have that on there. Thanks!
Is there anyway to remove the product reviews from my page? I have sold a lot through my site and I have very few reviews. I think it looks bad not having very many so I would rather not have that on there. Thanks!
im not sure i understand what you want remove exactly, but ill try.
Obviously you can turn of the sidebox, but if you want to remove the button from your product info page you need to open your tpl_product_info_display.php and remove the code
It aint the prettiest method and im sure there is a better way, but i dont know itCode:<!--bof Reviews button and count--> <?php if ($flag_show_product_info_reviews == 1) { // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button if ($reviews->fields['count'] > 0 ) { ?> <div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_REVIEWS, BUTTON_REVIEWS_ALT) . '</a>'; ?></div> <br class="clearBoth" /> <p class="reviewCount"><?php echo ($flag_show_product_info_reviews_count == 1 ? TEXT_CURRENT_REVIEWS . ' ' . $reviews->fields['count'] : ''); ?></p> <?php } else { ?> <div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array())) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?></div> <br class="clearBoth" /> <?php } } ?> <!--eof Reviews button and count -->
Or you can turn it off in Admin->Catalog->Product Types->Edit Layout
- Show Product Reviews Count
- Show Product Reviews Button
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
hey, nice one doc im gonna do that, keep forgetting to check in that darn products layout bit........ /slaps self\
Any idea how to do this in v1.3.7?
tia
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
DrByte,
I have turned off the reviews in the product types, but the reviews are still getting indexed by search engines. I don't want to delete the reviews that were written, but at the same time i do not want the search engine to index the reviews or the fact that a review page exists.
Any suggestions?
Bookmarks