Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2007
    Posts
    11
    Plugin Contributions
    0

    Default Removing Reviews

    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!

  2. #2
    Join Date
    Oct 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Removing Reviews

    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

    Code:
    <!--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 -->
    It aint the prettiest method and im sure there is a better way, but i dont know it

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Removing Reviews

    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.

  4. #4
    Join Date
    Oct 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Removing Reviews

    hey, nice one doc im gonna do that, keep forgetting to check in that darn products layout bit........ /slaps self\

  5. #5
    Join Date
    Jan 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Removing Reviews

    Any idea how to do this in v1.3.7?

    tia

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Removing Reviews

    Quote Originally Posted by highstyleinc View Post
    Any idea how to do this in v1.3.7?

    tia
    The very same way that I posted initially.
    .

    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.

  7. #7
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    248
    Plugin Contributions
    1

    Default Re: Removing Reviews

    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?

    Quote Originally Posted by DrByte View Post
    Or you can turn it off in Admin->Catalog->Product Types->Edit Layout
    - Show Product Reviews Count
    - Show Product Reviews Button

 

 

Similar Threads

  1. v153 Removing Spam Reviews
    By TechDude in forum General Questions
    Replies: 5
    Last Post: 29 Jun 2016, 07:34 AM
  2. Removing Surnames from Reviews
    By a.snowden in forum General Questions
    Replies: 5
    Last Post: 14 Jan 2010, 11:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR