1

I have 2 product review for same product.

I can get the rating summary for product.

$this->_reviewFactory->create()->getEntitySummary($product, $this->_storeManager->getStore()->getId());
           echo $ratingSummary = $product->getRatingSummary()->getRatingSummary();exit;

But I need to get rating summary for each review for same product.

How to do that ..

Thanks

  • May not be most optimum way but you can do it via custom query. – dev_67Commerce Jun 26 '18 at 6:44
  • You product is configurable? – Jugal Kishor Jun 26 '18 at 9:01
  • Yes ......................... – Mahi M Jun 26 '18 at 9:32

Your Answer

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

Browse other questions tagged or ask your own question.