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 %}
{% if _collection_desc != blank %}
{% include 'breadcrumb' %}
{{ collection.title }}
{{_collection_desc}}
{% endif %}{% paginate collection.products by settings.number_product_per_page %}
{% if settings.sidebar_collection_page == 'left' %}
{% endpaginate %}
{% endif %}
{% if settings.sidebar_collection_page == 'right' %}
{% endif %}