Test Page
{% paginate collection.products by 24 %}
{% if collection.description != blank %}
{% endif %}
{{ collection.title }}
{% if settings.collections_tags_enable or settings.collections_sort_enable %}{% if settings.collections_tags_enable %} {% include 'collection-tags' %} {% endif %} {% if settings.collections_sort_enable %} {% include 'collection-sorting' %} {% endif %}
{% endif %}{{ collection.description }}
{% endif %}
{% for product in collection.products %} {% include 'product-grid-item' %} {% else %} {% if shop.products_count == 0 %} {% unless emptyState %} {{ 'theme-onboarding.css' | global_asset_url | stylesheet_tag }} {% assign emptyState = true %} {% endunless %}
{% else %}
{% endif %} {% endfor %}
{% if paginate.pages > 1 %}
{{ 'home_page.onboarding.modal_title' | t }}
{{ 'home_page.onboarding.no_products_collection' | t }}
{% assign index = 1 %} {% for i in (1..8) %} {% case i %} {% when 7 %} {% assign index = 1 %} {% when 8 %} {% assign index = 2 %} {% endcase %}
{% assign index = index | plus: 1 %} {% endfor %}
{{ 'collections.general.no_matches' | t }}
{% include 'pagination-custom' %}
{% endif %} {% endpaginate %}