{{ section.settings.title | default: 'Featured Products' }}

{% for product in collections[section.settings.collection].products limit: section.settings.products_limit %}
{% if product.compare_at_price > product.price %}
Sale
{% endif %}
{{ product.featured_image.alt | escape }}
{% if section.settings.show_vendor %}

{{ product.vendor }}

{% endif %}

{{ product.title }}

{% if section.settings.show_rating %}
{% assign rating = product.metafields.reviews.rating.value.rating | round %} {% for i in (1..5) %} {% if i <= rating %} {% else %} {% endif %} {% endfor %}
({{ product.metafields.reviews.rating_count | default: "0" }})
{% endif %}
{{ product.price | money }} {% if product.compare_at_price > product.price %} {{ product.compare_at_price | money }} {% endif %}
{% endfor %}
{% if section.settings.collection != blank %} {% endif %}

Made with DeepSite LogoDeepSite - 🧬 Remix