SALE

{% if products != blank %}
{% assign catcount=0 %} {% for product in products.on_sale %} {% capture catcount %}{{ catcount | plus: 1 }}{% endcapture %} {% capture countcheck %}{{ catcount | num_gt: 4 }}{% endcapture %} {% if countcheck == 'true' %}{% assign catcount = 1 %}{% endif %} {% endfor %}

{% else %}

No products found.

{% endif %}