Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Posts
    24
    Plugin Contributions
    0

    Default Product page - how to show a link to the reviews page and reviews count?

    Hello,
    I searched the board for such a question but seems no one have ever bothered with it. Until now :)

    On the product page (tpl_product_info_display.php) instead of Write a Review button I want to have a text link to the review page of this product, something like Read the Reviews (5) where the number in parentheses is the total count of reviews for the particular product. Do you know how I can do this?

    So far I found that the link to the reviews page has something to do with
    Code:
    zen_href_link(FILENAME_PRODUCT_REVIEWS, zen_get_all_get_params(array('reviews_id')))
    but when I echo this code in tpl_product_info_display.php nothing happens.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Product page - how to show a link to the reviews page and reviews count?

    First - turn on the button and the reviews count. Then add this to your stylesheet -

    #productReviewLink {display: none;}

    Then in your includes/languages/english/product_info.php change:

    define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');

    to

    define('TEXT_CURRENT_REVIEWS', 'Write a Review:');
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: Product page - how to show a link to the reviews page and reviews count?

    Quote Originally Posted by Kim View Post
    First - turn on the button and the reviews count. Then add this to your stylesheet -

    #productReviewLink {display: none;}

    Then in your includes/languages/english/product_info.php change:

    define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');

    to

    define('TEXT_CURRENT_REVIEWS', 'Write a Review:');
    Thanks, exactly what I needed

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Product page - how to show a link to the reviews page and reviews count?

    Hi Guys,

    I'm looking for a similar thing.

    I've installed the "dgreviews" modifications and they're working well, with just one glitch.

    If you look at one of my reviewed products you'll see that the customer reviews are displayed at the bottom of the product page (perfectly as required).

    Now, this makes the 'READ THE REVIEWS' button somewhat obsolete. My question is how I replace the 'READ THE REVIEWS' button with the 'WRITE A REVIEW' button which is not visible on the product page at all at the moment?

 

 

Similar Threads

  1. Replies: 6
    Last Post: 31 Mar 2014, 03:06 PM
  2. Changing Reviews Link and Star Rating to top of product info page
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jul 2009, 04:13 AM
  3. How do I change the minimum character count for reviews?
    By ams30gts in forum General Questions
    Replies: 2
    Last Post: 5 May 2009, 12:20 PM
  4. Increase character count on Reviews Listing page
    By swamyg1 in forum General Questions
    Replies: 0
    Last Post: 16 Feb 2009, 09:53 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