On Sale
{% paginate products from products.on_sale by theme.products_per_page %}
{% if products != blank %}
{% for product in products %}
{% capture i %}{% cycle 'one', 'two', 'three' %}{% endcapture %}
{% if i == 'one' %}
{% endunless %}
{% endif %}
{% if product.status == 'sold-out' %}
Sold Out
{% elsif product.status == 'coming-soon' %}
Coming Soon
{% elsif product.on_sale %}
On Sale
{% endif %}
{% if i == 'three' %}
{% endif %}
{% endfor %}
{% unless i == 'three' %}{{ product.name }}
{{ product.default_price | money_with_sign }}
{{ paginate | default_pagination }}
{% else %}
No products found.
{% endif %}
{% endpaginate %}