Stars rating

Hi, how can I replace the ratings method view at product page instead of showing the number of reviews to show number of stars?
http://www.pinkstrawberry.pt/bandeau…tore=portugues

11 answers

Profile photo of tomc 0.00 $tone July 8, 2013
Public

Try This . . .

open file: app/code/core/Mage/Catalog/Block/Product/Abstract.php

change:

Code:

protected function _initReviewsHelperBlock()
    {
        if (!$this->_reviewsHelperBlock) {
            if (Mage::helper('catalog')->isModuleEnabled('Mage_Review')) {
                $this->_reviewsHelperBlock = $this->getLayout()->createBlock('review/helper');
                return true;
            }
        }
        return false;
    }

to:

Code:

protected function _initReviewsHelperBlock()
    {
        if (!$this->_reviewsHelperBlock) {
if (!Mage::helper('catalog')->isModuleEnabled('Mage_Review')) {
                return false;
            } else {
                 $this->_reviewsHelperBlock = $this->getLayout()->createBlock('review/helper');
}
         }
return true;
}
#1
Profile photo of tomc 0.00 $tone July 8, 2013
Public

Check "Ratings" in your site Admin and open up each value (price, quality, value) and click "Default Store View"
. . . see if that works.

Remember to be saving your changes and clearing your cache

#3
Profile photo of Luís Algarvio 0.00 $tone July 15, 2013
Public

YES exacly like that

Do you want the stars to be displayed like this

I don’t see a review there

You have to change language to portuguese to see review because its on Portuguese store view

#8
Profile photo of Sherlock 0.00 $tone July 19, 2013
Public

I connected with the info you gave but I was seeing nothing there, just an empty folder, please check again and assign the FTP account to your source code folder.

#11

Please login or Register to Submit Answer

Written By

Comments