We can use the below code to retrieve product Review/Rating summary in Magento
<?php
$product = Mage::getModel('catalog/product')->load($productId);
$storeId = Mage::app()->getStore()->getId();
$summaryReview = Mage::getModel('review/review_summary')
->setStoreId($storeId)
->load('product_id');
if($summaryReview->getRatingSummary()){
?>
<div class="rating-box" style="float:left;">
<div class="rating" style="width: <?php echo $summaryData->getRatingSummary().'%'; ?>">
</div>
</div>
<?php
}
?>
Its a very nice post about the significances of Magento. Its really useful. Thanks for posting, Keep updating.
ReplyDeletegemstone shop in south Delhi
Pretty nice blog and very well maintained. Good to know about magento rewriting summary. Really appreciated. Keep updating your post.
ReplyDeleteColor Coated Profile Sheets In Loha Mandi Naraina: VIMP
Very informative post and pretty well maintained, this post is very important for the Magento Developer. Thanks for posting and keep updating your post.
ReplyDeletevitamin c gel face wash
Really amazing post.
ReplyDeleteomega 3 fatty acids supplement
Very impressive post.
ReplyDeleteBuy basra moti online
Really nice post, thanks for it and keep updating.
ReplyDeleteself balancing scooter in India
Gall Bladder Cancer Consultant In noida
ReplyDeleteColorectal Cancer doctor In noida
Colorectal Cancer Consultant In noida