This article is also available in:
Show Star Rating

In order to show the star rating you need to add the below code to your page.
This code can be used to show the star rating in areas such as top page, product list page, product search result page, product detail page etc.

Code required to show the star rating:
<div class="review-summary-container" data-pid="PRODUCT_ID" data-action="summary"></div>

Code required to show the star rating for grouped products:
<div class="review-summary-container" data-pid="PRODUCT_ID" data-group="true" data-action="summary"></div>

"PRODUCT_ID" should be the ID of the product
Was this article helpful?
Cancel
Thank you!