---
Description: Displays a product's ratings.
---
{# takes rating as an argument #}

{% if rating.total_reviews %}

  {{ partial('stars', {
      count: rating.average_int,
  })  }}

{% else %}

No reviews yet.

{% endif %}

---
Description: Displays a product's ratings.
---
{# takes rating as an argument #}

{% if rating.total_reviews %}

  <span>
    {{ partial('stars', {
      count: rating.average_int,
  })  }}
  </span>
  <span> ({{ rating.total_reviews }} reviews) </span>


{% else %}

No reviews yet.

{% endif %}

Add reviews count beside average review rating
Add reviews count beside average review rating
