Zen Cart Logo
Forums / Basic Configuration / How do I completely disable the reviews?

How do I completely disable the reviews?

Views: 9,644

Results 1 to 18 of 18
9 Feb 2009, 11:41 PM
#1
one_tall_man avatar

one_tall_man

Zen Follower

Join Date:
Feb 2009
Posts:
125
Plugin Contributions:
0

How do I completely disable the reviews?

Just what in the subject! :lookaroun

9 Feb 2009, 11:44 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: How do I completely disable the reviews?

Admin

Catalog > Product type > Product General , Edit layout
turn off show products review button and show products review count .. ( set to 0 )

12 Feb 2009, 10:15 AM
#3
memerson avatar

memerson

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: How do I completely disable the reviews?

one tall man:

Just what in the subject! :lookaroun

To turn it off for everything, just disable the box that displays the option. Go to Tools->Layout Boxes Controller, click the Edit button on the reviews.php box and then make sure that the left/right column status is set to off.

30 Jan 2010, 5:26 AM
#4
ernesto avatar

ernesto

New Zenner

Join Date:
Jan 2010
Posts:
5
Plugin Contributions:
0

Re: How do I completely disable the reviews?

Oh boy. This is the most recent post I have found concerning turning the "reviews" feature off.

I have already disabled reviews via:

  1. Tools>Layout Boxes Controller>sideboxes/reviews.php set to OFF.
    2)Catalog>Product Types>Product General>Edit layout>Show Product Reviews Count set to 0 (as well as Show Product Reviews button set to 0)

Now how do I disable the "reviews" link from appearing in the site map???

30 Jan 2010, 6:11 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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>
4 Feb 2010, 5:48 AM
#6
ernesto avatar

ernesto

New Zenner

Join Date:
Jan 2010
Posts:
5
Plugin Contributions:
0

Re: How do I completely disable the reviews?

Ajeh - BINGO! That solved my issue. Now the hard part for me will be to remember that I made this change to supress the Reviews link from the site map. I hope I don't go crazy trying to undo this in the future.

4 Feb 2010, 2:08 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do I completely disable the reviews?

If you made the change to your templates and overrides file, this will help a lot in the future ...

Granted a handy dandy NotePad file of I Changed This Stuff ... is always helpful ... :smile:

Thanks for the update that this worked for you to customize your site map ...:smile:

1 Nov 2010, 5:02 PM
#8
bigg_n_tn avatar

bigg_n_tn

New Zenner

Join Date:
Oct 2010
Posts:
26
Plugin Contributions:
0

Re: How do I completely disable the reviews?

Ajeh:

Using your templates and overrides in the file tpl_site_map_default.php you need to remove or comment out the line: Can you just put a / in front of it to turn it off? Then remove it later if you want it back?

1 Nov 2010, 5:36 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do I completely disable the reviews?

Commenting it out is the best method so that it is available for the future if you want to add it back ...

1 Nov 2010, 5:37 PM
#10
bigg_n_tn avatar

bigg_n_tn

New Zenner

Join Date:
Oct 2010
Posts:
26
Plugin Contributions:
0

Re: How do I completely disable the reviews?

Ajeh:

Commenting it out is the best method so that it is available for the future if you want to add it back ... So that's a yes?

1 Nov 2010, 5:46 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ... :smile:

1 Nov 2010, 5:55 PM
#12
bigg_n_tn avatar

bigg_n_tn

New Zenner

Join Date:
Oct 2010
Posts:
26
Plugin Contributions:
0

Re: How do I completely disable the reviews?

Ajeh:

Yes, Commenting it out is the best method so that it is available for the future if you want to add it back ... :smile: 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 :laugh: It's (store setup) not happening soon enough for me. Pretty frustrated.

1 Nov 2010, 7:18 PM
#13
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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>> **BigG-n-Tn:**

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.

1 Nov 2010, 8:36 PM
#14
bigg_n_tn avatar

bigg_n_tn

New Zenner

Join Date:
Oct 2010
Posts:
26
Plugin Contributions:
0

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.

7 Nov 2010, 9:57 PM
#15
dermit avatar

dermit

New Zenner

Join Date:
Aug 2010
Posts:
55
Plugin Contributions:
0

Re: How do I completely disable the reviews?

tony_sar:

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!

26 Jun 2013, 11:31 AM
#16
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

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

26 Jun 2013, 12:02 PM
#17
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

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.

26 Jun 2013, 3:02 PM
#18
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: How do I completely disable the reviews?

perfumbg:

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