How can i display Star ratings on Product Detail Page?

To display star ratings on the product detail page you need to paste the below code to your product-template file in your theme.

<div class="wc_product_review_badge" data-handle="{{ product.handle }}" data-product_id="{{ product.id }}"></div>
	

On your front-end, it will display as per the given below image.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us