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
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; }
That’s exactly how it was already.
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
Done, but it still appears as number of reviews and not stars.
http://www.pinkstrawberry.pt/bandeau…fique-227.html
on top of price
I did this tutorial for rich snippets
Hi luisalgarvio,
Do you manage to sort out the issue ? if not can you explain a little bit more what you want to achieve there ?
Hello. No its not solved yet. I wanted the product page to show stars instead of number of reviews it has.
And I also tried to apply this tutorial to show stars rating at google search but not showing when testing at google webmasters tools test for rich snippets.
This is the link that has one review http://www.pinkstrawberry.pt/bandeau…fique-227.html
Do you want the stars to be displayed like this
This is the link that has one review http://www.pinkstrawberry.pt/bandeau…fique-227.html
I don’t see a review there
Hi Luisalgarvio,
that’s strange, you can pm me your FTP info for a further checking on this issue.
Hi Luisalgarvio,
that’s strange, you can pm me your FTP info for a further checking on this issue.
You have pm with logins
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.