Оценка товара, поставленная в отзыве.
{% for review in product.reviews %}
{% assign r = 5 %}
{% for i in (1..5) %}
<span class="star-item {% if review.rating == r %}active{% endif %}"></span>
{% assign r = r | minus: 1 %}
{% endfor %}
{% endfor %}