Alternate

{% if settings.show_col_all_banner %} {% if collection.image %} {% capture _image_src %}{{collection.image | img_url: 'master'}}{% endcapture %} {% else %} {% capture _image_src %}{{'collection_all.jpg' | asset_url}}{% endcapture %} {% endif %} {% assign _inline_style = "background-image: url(" | append: _image_src | append: ");" %} {% else %} {% assign _inline_style = "background:" | append: settings.collection_header_bg | append: ";" %} {% endif %} {% assign _collection_desc = "" %} {% if collection.description != blank %} {% assign _collection_desc = collection.description %} {% else %} {% if settings.collection_default_description != blank %}{% assign _collection_desc = settings.collection_default_description %}{% endif %} {% endif %}

{{ collection.title }}

{% if _collection_desc != blank %}
{{_collection_desc}}
{% endif %}
{% include 'breadcrumb' %}
{% paginate collection.products by settings.number_product_per_page %}
{% if settings.sidebar_collection_page == 'left' %} {% endif %}
{% if collection.products.size > 0 %} {% include 'collection-list-toolbar' %}
{% for product in collection.products %}
{% include 'product-list-item' %}
{% endfor %}
{% else %}

{{ 'collections.general.no_product' | t }}

{% endif %} {% include 'pagination' %}
{% if settings.sidebar_collection_page == 'right' %} {% endif %}
{% endpaginate %}