Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I completely disable the reviews?

    Yes, Commenting it out is the best method so that it is available for the future if you want to add it back ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12

    Default Re: How do I completely disable the reviews?

    Quote Originally Posted by Ajeh View Post
    Yes, Commenting it out is the best method so that it is available for the future if you want to add it back ...
    Thank you. I'm new to Zen Cart but not to site ownership. I am struggling with navigating and editing but I'm getting there slowly. I could use someone as a personal Zen Cart assistant right now It's (store setup) not happening soon enough for me. Pretty frustrated.

  3. #13
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: How do I completely disable the reviews?

    Using your templates and overrides in the file tpl_site_map_default.php you need to remove or comment out the line:

    <li><?php echo '<a href="' . zen_href_link(FILENAME_REVIEWS) . '">' . PAGE_REVIEWS . '</a>'; ?></li>
    Quote Originally Posted by BigG-n-Tn View Post
    Can you just put a / in front of it to turn it off? Then remove it later if you want it back?
    In this case you would need to use HTML comment code.

    <!-- li><?php echo '<a href="' . zen_href_link(FILENAME_REVIEWS) . '">' . PAGE_REVIEWS . '</a>'; ?></li -->

    Also, remember the commented line will show in a View Source. Not sure if that's important but some people forget that HTML comments still show.

    And the suggestion of using a Change Log is an excellent one. As you customize things you are going to be making a lot of changes; sometimes to core files which are not part of the overrides system.

  4. #14

    Default Re: How do I completely disable the reviews?

    I found it easier just to go into the admin area and turn things on and off myself.

  5. #15
    Join Date
    Aug 2010
    Posts
    55
    Plugin Contributions
    0

    Default Re: How do I completely disable the reviews?

    Quote Originally Posted by tony_sar View Post
    Admin

    Catalog > Product type > Product General , Edit layout
    turn off show products review button and show products review count .. ( set to 0 )
    Exactly what I was needing also, worked like a charm. Thanks!

  6. #16

    Default Re: How do I completely disable the reviews?

    The post is old but i have similar issue.

    I'm runing zc V1.51 not so hard coded.

    I dont want to disable completely the reviews function, but only the /reviews and /review?reviews_id# page and to have the reviews of certain product under the product description. I saw a module for the second part, but no luck for removing thease two pages.

    Any help woluld be good for me .

    Many regards
    My most recent work: magprom.net

  7. #17

    Default Re: How do I completely disable the reviews?

    Or canonicals for /reviews and /reviews?reviews_id=# page pointing the product page as main.

    Im using ceon URI Mappings.

    Many regards.
    My most recent work: magprom.net

  8. #18

    Default Re: How do I completely disable the reviews?

    Quote Originally Posted by perfumbg View Post
    Or canonicals for /reviews and /reviews?reviews_id=# page pointing the product page as main.

    Im using ceon URI Mappings.

    Many regards.
    I managed it somehow if someone have this same issue, here is the solution.

    you must find in yourTEMAPLATE/common/header_html.php

    <?php // BEGIN CEON URI MAPPING 1 of 1
    <?php } elseif (isset($canonicalLink) && $canonicalLink != '') { ?>
    <link rel="canonical" href="<?php echo $canonicalLink; ?>" />
    <?php } // END CEON URI MAPPING 1 of 1 ?>

    and replase it with

    <?php // BEGIN CEON URI MAPPING 1 of 1
    if ($_GET["main_page"]=="product_reviews_info") { ?>
    <link rel="canonical" href="<?php echo zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('reviews_id'))) ?>" />
    <?php } elseif (isset($canonicalLink) && $canonicalLink != '') { ?>
    <link rel="canonical" href="<?php echo $canonicalLink; ?>" />
    <?php } // END CEON URI MAPPING 1 of 1 ?>

    this works only if you have CEON URI MAPPING.

    Many regards
    My most recent work: magprom.net

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Is there a way to completely disable the manufacturer page?
    By antoniobb in forum General Questions
    Replies: 17
    Last Post: 23 Mar 2013, 11:03 PM
  2. Can I disable Shipping so it is completely skipped in the checkout process?
    By richardsnowstar in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 Jan 2011, 02:41 PM
  3. Completely Disable Starting At... Price
    By DiZZ in forum General Questions
    Replies: 4
    Last Post: 3 Dec 2010, 03:02 PM
  4. How do i get the zen cart logo off the header completely?
    By gixxer1000stunna in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Sep 2009, 05:13 PM
  5. how can I disable reviews and 'send to friend' from the admin?
    By windsurflove in forum Customization from the Admin
    Replies: 5
    Last Post: 27 Jun 2007, 06:43 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