How to display an average rating for products
1) Average rating for product pages.
Go to Shopify Admin panel > Themes > Edit HTML/CSS > templates/product.liquid or section/product-template.liquid and insert the following lines:
Go to Shopify Admin panel > Themes > Edit HTML/CSS > templates/product.liquid or section/product-template.liquid and insert the following lines:
{% capture the_snippet_review_avg %}{% include 'ssw-widget-avg-rate-profile' %}{% endcapture %}
{% unless the_snippet_review_avg contains 'Liquid error' %}
{{ the_snippet_review_avg }}
{% endunless %}
2) Average rating for product listings (Collections).
Go to Shopify Admin panel > Themes > Edit HTML/CSS > snippets section -> product-grid-item.liquid snippet. And add this code:
Go to Shopify Admin panel > Themes > Edit HTML/CSS > snippets section -> product-grid-item.liquid snippet. And add this code:
{% capture the_snippet_review_avg %}{% include 'ssw-widget-avg-rate-listing' %}{% endcapture %}
{% unless the_snippet_review_avg contains 'Liquid error' %}
{{ the_snippet_review_avg }}
{% endunless %}

2) Save changes and check it in your site. Or contact us to get professional installation on your site for free