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 }}"></div>



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