I need to get all the products from my magento store, Which have

5 Star

reviews and rating.


Below code works for getting all products which has 5 star rating.

$_productCollection= Mage::getModel("catalog/product")->getCollection()->addAttributeToSelect("*")->joinField('rating_score', 
                   array('entity_type'=>1, 'store_id'=> Mage::app()->getStore()->getId(),'rating_summary'=> 100),

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.