Home » Magento21 November 2011

Magento: How to get product rating and review?

Here is the code to get ratings and reviews for any particular product.

Displaying the ratings

Hope this helps. Thanks.


Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • I’ve been looking for such information. I wanted to show reviews for my products.

  • Snovak1

    This is just what I needed.  Thank you!

  • disha

    great help.. thanks

  • Jordi

    Where i have to put the firs part of the code???

  • Santosh Shrikhande

    Really great help … Thank you – Mukesh

  • Khớch A

    $summaryData = Mage::getModel(‘review/review_summary’);
    try {
    echo “imported rating.”;
    } catch (Exception $e) {
    echo “


    Can you help me? What’s error in my code. So I can’t add new a review summary on my database.

  • mohit

    i want to add on my all products 5 star rating can any one help me out

  • vivek singh

    how to show review and rating of product in right side of product through phtml.
    i have added above in phtml and run it .it gives only rating.

    pls help me

    i am new in magento.