shop
{% paginate products from products.all by 20 %} {% if products != blank %}
-
{% for product in products %}
-
{{ product.name }} {{ product.default_price | money_with_sign }} {% case product.status %} {% when 'sold-out' %} / Sold Out {% when 'coming-soon' %} / Coming Soon {% when 'active' %} {% if product.on_sale %} / On Sale{% endif %} {% endcase %}
{% endfor %}
{% if paginate.previous %}
{% if paginate.previous.is_link %}
← Previous
{% endif %}
{% endif %}
{% else %}
No products found.
{% endif %}
{% endpaginate %}