Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Remove product reviews on main page only

    Couldn't get that to work
    Seemed that the reviews sidebox was removed from all pages?

  2. #12
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove product reviews on main page only

    You are using:
    Code:
    // do not show on home page uses:
    //if ($this_is_home_page) {
    
    // only on product_info
    if ($_GET['main_page'] != 'product_info') {
      $show_reviews= false;
    }
    NOTE: on the product_info you will see the Write a Review if there are not any reviews for the specific product and if there are reviews for the specific products then you will see a review, as that is how this sidebox works ...
    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!

  3. #13
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Remove product reviews on main page only

    Quote Originally Posted by Ajeh View Post
    You are using:
    Code:
    // do not show on home page uses:
    //if ($this_is_home_page) {
    
    // only on product_info
    if ($_GET['main_page'] != 'product_info') {
      $show_reviews= false;
    }
    Yep that did it, thanks (yet again!) Linda, your a star

  4. #14
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove product reviews on main page only

    Thanks for the update that this is now working for you ... that is always a help to others to know ...
    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!

  5. #15
    Join Date
    Feb 2010
    Posts
    46
    Plugin Contributions
    0

    Default Re: Remove product reviews on main page only

    I was looking to do the same thing: have the reviews appear only on the product pages, not the home page.

    I plugged in the code as stated above (I did not copy the whole text, just the top section).

    I have undone it now, but the end result is that my sideboxes *below* reviews are also not showing - on any page that the reviews box doesn't show.

    Any ideas without me having to leave it on my site to show you?

    I'm on 1.3.9c
    sunflower_template

    http:// garden offrancis. com


    UPDATED: I have replaced the entire text you provided above - and it works great! My only concern is whether or not this affects the upgrade - have I undone anything that was modified by the upgrade? If so, what should I modify?

    Thank you!
    Last edited by IBIFA; 5 Jun 2010 at 04:27 AM. Reason: updating information

  6. #16
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove product reviews on main page only

    Provided you are using the templates and overrides you should not be affecting any of the core code ...
    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!

  7. #17
    Join Date
    Dec 2009
    Posts
    204
    Plugin Contributions
    0

    Default Re: Remove product reviews on main page only

    I am trying to display the banner_box sidebox only on about us page with this code:
    PHP Code:
    if ($_GET['main_page'] != 'about_us') {
      
    $show_banner_boxfalse;

    But it doesn't work. Anyone has any other suggestions?
    Thanks!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Reviews box only on the product page
    By attroll in forum General Questions
    Replies: 0
    Last Post: 12 Jun 2009, 06:20 PM
  2. Product page - how to show a link to the reviews page and reviews count?
    By Ronson in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Mar 2009, 11:45 PM
  3. category tabs to only display on product info page, not main page
    By fa11s in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Feb 2009, 08:33 PM
  4. Remove Main Page Image Only
    By Divalicious Chocolat in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Oct 2008, 05:06 PM
  5. I want to remove the reviews option from the main page?
    By nagmier in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Aug 2007, 07:33 AM

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