I have call new product block using widget grid in cms homepage. All data are available except review summary. How to display review summary details in product list in homepage. Below function not working.

  echo $block->getReviewsSummaryHtml();

Add this as you wish

<?php echo $block->getReviewsSummaryHtml($_product,"sort",true); ?>

The review summary is not included in the product widget. I think you can use echo $block->getReviewsSummaryHtml($_item, $templateType, true) to display it.

  • You need to consider all paramiter value too – Asish Hira Mar 24 '16 at 14:21

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.