{% if page.full_url contains "search=" %} Product Search {% elsif theme.collections and page.full_url contains '/products' %} Collections {% else %} {{ page.name }} {% endif %}

{% if page.full_url contains "search=" or theme.collections != true or page.full_url contains '/category' %} {% unless page.full_url contains "search=" %}
{% endunless %} {% paginate products from products.current by theme.products_per_page %} {% if products != blank %} {% if paginate.pages > 1 %} {{ paginate | default_pagination, 'pagination', 'pagination', ' Prev' , 'Next ' }} {% endif %} {% else %}

No products found.

{% endif %} {% endpaginate %} {% else %} {% if categories.active != blank %} {% else %}

No collections found.

{% endif %} {% endif %}