Why isn't my collection description showing on Fashionopolism theme?

Solved

Why isn't my collection description showing on Fashionopolism theme?

omnis
Tourist
3 0 2

Hi - I know this has been asked and solved before but this seems specific to my theme.  I have the collection title appearing but cannot understand where/what to do with the code to allow the collection description to appear also.  I understand the solution to this is posted elsewhere but it doesn't seem to relate to the code for my theme.

Theme I am using is Fashionopolism version 4.3.2, if that makes a difference.

I really need a basic copy/paste/insert code here solution, as I am not that proficient.

Thanks in advance.

Accepted Solution (1)
LitExtension
Shopify Partner
4930 1006 1186

This is an accepted solution.

Hi @omnis,

If it helped you solve your issue, please mark it as a solution. Thank you and good luck.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com

View solution in original post

Replies 7 (7)

UmairA
Shopify Partner
1106 101 226

Hi @omnis ,

 

Can you share your store URL? Also, share the link to the tutorial that you followed (which didn't work for your store).

LitExtension
Shopify Partner
4930 1006 1186

Hi @omnis,

Please send me the code of collection-template.liquid file, I will check and guide you in detail

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
omnis
Tourist
3 0 2

Hi, thanks for replying.

 

collection-template-liquid file below:

 

<div data-section-id="{{ section.id }}" class="collection-template">

{% case section.settings.grid %}
{% when '2' or 2 %}
{%- assign grid_item_width = 'desktop-6 tablet-3 mobile-half' -%}
{% when '3' or 3 %}
{%- assign grid_item_width = 'desktop-4 tablet-2 mobile-half' -%}
{% when '4' or 4 %}
{%- assign grid_item_width = 'desktop-3 tablet-2 mobile-half' -%}
{% endcase %}

{%- assign product_limit = section.settings.grid | times: section.settings.rows -%}
{% paginate collection.products by product_limit %}

<div id="collection-description" class="desktop-12 mobile-3">
<h1 id="bc-sf-filter-collection-header">{{ collection.title }}</h1>
{% if collection.image %}
<div class="collection-image-container" align="center">
{{ collection.image.src | collection_img_url: '1200x' | img_tag: collection_title }}
</div>
{% endif %}
<div class="rte" id="bc-sf-filter-collection-description"></div>
</div>

<div class="clear"></div>

<div id="full-width-filter" class="desktop-12 tablet-6 mobile-3">
<ul id="sortme">
{% if section.settings.sort_by %}
<li id="bc-sf-filter-top-sorting" class="clearfix filter">{% include 'bc-sf-filter-skeleton', width: 3 %}</li>
{% endif %}
</ul>
</div>

{% comment %}<a class="show mobile-3" href="javascript&colon;;"></a>{% endcomment %}
<div id="bc-sf-filter-tree-mobile">{% include 'bc-sf-filter-skeleton', type: 'button' %}</div>
<div class="desktop-2 tablet-1 mobile-3">
<div id="bc-sf-filter-tree">
{% comment %} Include placeholder template {% endcomment %}
{% include 'bc-sf-filter-tree-placeholder' %}
</div>
</div>

<div id="product-loop" class="desktop-10 tablet-5 mobile-3" data-bc-sort="{{ collection.default_sort_by }}">
{% assign products-per-row = section.settings.products-per-row %}
{% for product in collection.products %}
<div class="product-index {{ grid_item_width }}" data-alpha="{{ product.title }}" data-price="{{ product.price }}">
{% include 'product-listing' %}
</div>
{% endfor %}
</div>

<div id="pagination" class="desktop-12 tablet-6 mobile-3">
<div id="bc-sf-filter-bottom-pagination"></div>
<div id="bc-sf-filter-load-more"></div>
</div>

{% endpaginate %}
</div>

<script>
// Declare bcSfFilterConfig variable
var bcSfFilterConfig = {
label: {
sorting: {% assign temp = 'collections.sorting.title' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Sorting" {% endunless %},
sorting_best_selling: {% assign temp = 'collections.sorting.best_selling' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Best Selling" {% endunless %},
sorting_featured: {% assign temp = 'collections.sorting.featured' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Featured" {% endunless %},
sorting_title_ascending: {% assign temp = 'collections.sorting.az' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Alphabetically, A-Z" {% endunless %},
sorting_title_descending: {% assign temp = 'collections.sorting.za' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Alphabetically, Z-A" {% endunless %},
sorting_price_ascending: {% assign temp = 'collections.sorting.price_ascending' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Lowest Price" {% endunless %},
sorting_price_descending: {% assign temp = 'collections.sorting.price_descending' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Highest Price" {% endunless %},
sorting_date_ascending: {% assign temp = 'collections.sorting.date_ascending' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Date, Old to New" {% endunless %},
sorting_date_descending: {% assign temp = 'collections.sorting.date_descending' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Date, New to Old" {% endunless %},
sorting_sale_descending: {% assign temp = 'collections.sorting.sale_descending' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "% Off" {% endunless %},
sorting_relevance: {% assign temp = 'collections.sorting.relevance' | t %} {% unless temp contains 'translation missing' %} {{ temp | json }} {% else %} "Relevance" {% endunless %},

sale: {{ 'products.general.sale' | t | json }},
sold_out: {{ 'products.general.sold' | t | json }},
new: {{ 'products.general.new' | t | json }},
pre_order: {{ 'products.product.pre_order' | t | json }},
quick_view: {{ 'products.general.quick_view' | t | json }},
from_price: {{ 'products.general.from' | t | json }},
pagination_of: {{ 'general.pagination.of' | t | json }},
showing_items: {{ 'general.pagination.showing_items' | t | json }},
},
custom: {
products_per_page: {% if product_limit %} {{ product_limit | json }} {% else %} 24 {% endif %},
products_per_row: {% if section.settings.grid %} {{ section.settings.grid | json }} {% else %} '4' {% endif %},
quick_view_enable: {% if settings.quickview %} {{ settings.quickview | json }} {% else %} false {% endif %},
image_flip: {% if settings.image_flip %} {{ settings.image_flip | json }} {% else %} false {% endif %},
alternate_colors: {% if settings.alternate_colors %} {{ settings.alternate_colors | json }} {% else %} false {% endif %},
secondary_images_hover: {% if settings.secondary_images_hover %} {{ settings.secondary_images_hover | json }} {% else %} "" {% endif %},
vendor_enable: {% if settings.vendor %} {{ settings.vendor | json }} {% else %} false {% endif %},
}
};
</script>

{% schema %}

{
"name": "Collection",
"max_blocks":4,
"settings": [
{
"type": "select",
"id": "grid",
"label": "Products per row",
"default": "4",
"options": [
{
"value": "2",
"label": "2"
},
{
"value": "3",
"label": "3"
},
{
"value": "4",
"label": "4"
}
]
},
{
"type": "select",
"id": "rows",
"label": "Rows",
"default": "2",
"options": [
{
"value": "1",
"label": "1"
},
{
"value": "2",
"label": "2"
},
{
"value": "3",
"label": "3"
},
{
"value": "4",
"label": "4"
},
{
"value": "5",
"label": "5"
},
{
"value": "6",
"label": "6"
},
{
"value": "7",
"label": "7"
},
{
"value": "8",
"label": "8"
},
{
"value": "9",
"label": "9"
},
{
"value": "10",
"label": "10"
}

]
},
{
"type": "checkbox",
"id": "sort_by",
"label": "Show sort by",
"default": true
},
{
"type": "paragraph",
"content": "Your customers can filter collections using tags that you have added to your products. [See our setup instructions for these filters](http:\/\/support.undergroundmedia.co.uk\/customer\/en\/portal\/articles\/1348811-filter-collections-with-tags)."
},
{
"type": "text",
"id": "filter-1-title",
"label": "Filter 1 title",
"default": "Filter by X"
},
{
"type": "textarea",
"id": "sort_a",
"label": "Filter 1 tags",
"info": "Comma separated"
},
{
"type": "text",
"id": "filter-2-title",
"label": "Filter 2 title",
"default": "Filter by Y"
},
{
"type": "textarea",
"id": "sort_b",
"label": "Filter 2 tags",
"info": "Comma separated"
},
{
"type": "text",
"id": "filter-3-title",
"label": "Filter 3 title",
"default": "Filter by Z"
},
{
"type": "textarea",
"id": "sort_c",
"label": "Filter 3 tags",
"info": "Comma separated"
}
],
"blocks":[
{
"type":"menu",
"name":"Menu",
"settings":[
{
"type": "link_list",
"id": "side_nav",
"label": "Sidebar menu"
},
{
"type": "text",
"id": "title",
"label": "Menu title",
"default": "Explore"
}
]
},

{
"type":"vendor_list",
"name":"Vendor list",
"limit": 1,
"settings":[
{
"type": "text",
"id": "shop_by_designer_title",
"label": "Vendor list title",
"default": "Shop by Designer"
}
]
}
]
}
{% endschema %}

LitExtension
Shopify Partner
4930 1006 1186

Hi @omnis,

Please add code here:

beforebeforeafterafter

Code:

{% if collection.description != blank %}
    <div class="rte">
      {{ collection.description }}
    </div>
{% endif %}

Hope it helps!

 

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
omnis
Tourist
3 0 2

Hey

that has fixed it for me.  I really appreciate your time and expertise on this.

 

Thanks again..

LitExtension
Shopify Partner
4930 1006 1186

This is an accepted solution.

Hi @omnis,

If it helped you solve your issue, please mark it as a solution. Thank you and good luck.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
Glow_Worm
Visitor
1 0 0

Hi there

 

I am having the same issue, but can't find a solution from other posts given the unique nature of my theme. The full code for my collection.liquid file is pasted below. I would just like the collection description to appear below the colelction title, such as on this page: https://www.glowwormbicycles.com.au/collections/urban-commuter

I'd appreciate any help 🙂

 

{%- liquid
assign hidden_cat = settings.use_hidden_cat
assign type_filters = settings.type_filters
assign shop_filters = settings.shop_filters
assign show_list_switch = settings.show_list_switch
assign admin_sp = request.design_mode
assign class_main = '12'
assign shop_des = settings.shop_des
assign no_sidebar = true
assign shop_sidebar = settings.shop_sidebar
if hidden_cat == false 
  case shop_sidebar
    when 'right'
      assign no_sidebar = false
      case settings.shop_size_sidebar
        when '1'
          assign class_main = '10 order-1 '
          assign class_sidebar = '2 order-12 '
        when '2'
          assign class_main = '9 order-1 '
          assign class_sidebar = '3 order-12 '
         when '3'
          assign class_main = '8 order-1 '
           assign class_sidebar = '4 order-12 '
      endcase
    when 'left'
      assign no_sidebar = false
      case settings.shop_size_sidebar
        when '1'
          assign class_main = '10'
          assign class_sidebar = '2'
        when '2'
          assign class_main = '9'
          assign class_sidebar = '3'
        when '3'
          assign class_main = '8'
          assign class_sidebar = '4'
       endcase
   endcase
elsif shop_sidebar == 'left' or shop_sidebar == 'right'
   assign no_sidebar = false 
   assign class_sidebar = '12'
endif
assign cat_des = settings.cat_des
assign hd_up = 'sub-' |append:collection.id
assign nav_up = linklists[hd_up].links | where:'type','collection_link'
if type_filters == '1'
 assign nt_filter = 'nt_filter'
 assign lz_filter = 'lazyloadt4s'
 assign sidebar_shop = 'sidebar_shop'
else 
 assign nt_filter = 'nt_filter2'
 assign lz_filter = ''
 assign sidebar_shop = 'sidebar_shop2'
endif
assign IsShowSUBcat = false
assign IsShowPRS = true
assign IsShowDesSUB = true
if nav_up.size > 0
  assign IsShowSUBcat = true
  assign IsShowPRS = settings.show_pr_sub
  assign IsShowDesSUB = settings.show_des_sub
endif -%}

<div class="page-head tc pr oh cat_bg_img page_head_{{collection.id}}">{%- section 'cat_heading' -%}{%- section 'cat_shop' -%}</div>

{%- if cat_des == '2' and IsShowDesSUB %}<div class="cat_des_ntt4 container container_cat tc mt__40 rtet4">{{ collection.description}}</div>{%- endif -%}
{%- if nav_up.size > 0 %}{% section 'sub-collections' %}{% endif -%}

{%- if IsShowPRS -%}
  <div class="container container_cat {{settings.pop_style}} cat_{{settings.shop_layout}} mb__40">
     {%- assign get_url = '' | link_to_remove_tag: '' | split:'href="' | last | split:'"' | first | remove:'?customer_posted=true' -%}
     {%- assign sy = collection.sort_by -%}
     {%- if collection.current_type or sy != blank or collection.current_vendor or get_url contains '?' %}{% assign get_url = get_url | append:'&' %}{% else %}{% assign get_url = get_url | append:'/?' %}{% endif -%}
     {%- assign sort_by = sy | default: collection.default_sort_by -%}
     <div class="cat_toolbar row fl_center al_center mt__30">
        <div class="cat_filter col op__0 pe_none">
        {%- assign ck = true -%}
        {%- if settings.shop_filters -%}
           <a rel="nofollow" href="#" data-no-instant data-opennt="#shopify-section-{{nt_filter}}" data-pos="left" data-remove="true" data-class="popup_filter" data-bg="hide_btn" class="has_icon btn_filter mgr"><i class="iccl fwb iccl-filter fwb mr__5"></i>{{ 'collections.general.filter' | t }}</a>
           <a rel="nofollow" href="#" data-no-instant data-id="#shopify-section-{{nt_filter}}" class="btn_filter js_filter dn mgr"><i class="iccl fwb iccl-filter fwb mr__5"></i>{{ 'collections.general.filter' | t }}</a>
        {%- elsif hidden_cat and no_sidebar == false -%}{%- assign ck = false -%}
           <div class="cat_sidebar">
              <a rel="nofollow" data-no-instant href="#" data-opennt="#shopify-section-{{sidebar_shop}}" data-pos="left" data-remove="true" data-class="popup_filter" data-bg="hide_btn" class="has_icon btn_sidebar mgr"><i class="iccl fwb iccl-trello fwb mr__5"></i>{{ 'collections.general.sidebar' | t }}</a>
           </div>
        {%- elsif no_sidebar == false -%}
           <div class="cat_sidebar no_hidden_sidebar">
              <a rel="nofollow" data-no-instant href="#" data-opennt="#shopify-section-{{sidebar_shop}}" data-pos="left" data-remove="true" data-class="popup_filter" data-bg="hide_btn" class="has_icon btn_sidebar mgr"><i class="iccl fwb iccl-trello fwb mr__5"></i>{{ 'collections.general.sidebar' | t }}</a>
           </div>
        {%- endif -%}
        </div>
        <div class="cat_view col-auto" data-link="{{get_url}}">
        {%- if settings.show_column_switch and shop_des != 'packery' -%}
           <div class="dn dev_desktop dev_view_cat">
               {%- if show_list_switch %}<a rel="nofollow" data-no-instant href="#" data-mode='list' data-dev="dk" data-col="listt4" class="pr mr__10 cat_view_page view_list view_listt4"></a>{% endif -%}
               <a rel="nofollow" data-no-instant href="#" data-mode='grid' data-dev="dk" data-col="6" class="pr mr__10 cat_view_page view_6"></a>
               <a rel="nofollow" data-no-instant href="#" data-mode='grid' data-dev="dk" data-col="4" class="pr mr__10 cat_view_page view_4"></a>
               <a rel="nofollow" data-no-instant href="#" data-mode='grid' data-dev="dk" data-col="3" class="pr mr__10 cat_view_page view_3"></a>
               {%- if no_sidebar or hidden_cat -%}<a rel="nofollow" data-no-instant href="#" data-mode='grid' data-dev="dk" data-col="15" class="pr mr__10 cat_view_page view_15"></a>{%- endif -%}
               {%- if no_sidebar or hidden_cat -%}<a rel="nofollow" data-no-instant href="#" data-mode='grid' data-dev="dk" data-col="2" class="pr cat_view_page view_2"></a>{%- endif -%}
           </div>
           <div class="dn dev_tablet dev_view_cat">
               {%- if show_list_switch %}<a rel="nofollow" data-link="{{get_url}}" data-no-instant href="#" data-dev="tb" data-col="listt4" class="pr mr__10 cat_view_page view_list view_listt4"></a>{% endif -%}
               <a rel="nofollow" data-no-instant href="#" data-dev="tb" data-col="6" class="pr mr__10 cat_view_page view_6"></a>
               <a rel="nofollow" data-no-instant href="#" data-dev="tb" data-col="4" class="pr mr__10 cat_view_page view_4"></a>
               <a rel="nofollow" data-no-instant href="#" data-dev="tb" data-col="3" class="pr cat_view_page view_3"></a>
           </div>
           <div class="flex dev_mobile dev_view_cat">
               {%- if show_list_switch %}<a rel="nofollow" data-link="{{get_url}}" data-no-instant href="#" data-dev="mb" data-col="listt4" class="pr mr__10 cat_view_page view_list view_listt4"></a>{% endif -%}
               <a rel="nofollow" data-no-instant href="#" data-dev="mb" data-col="12" class="pr mr__10 cat_view_page view_12"></a>
               <a rel="nofollow" data-no-instant href="#" data-dev="mb" data-col="6" class="pr cat_view_page view_6"></a>
           </div>
        {%- endif -%}
        </div>
        {%- if no_sidebar == false and settings.shop_filters and ck -%}
        <div class="cat_hidden_{{hidden_cat}} col tr">
           <div class="cat_sidebar">
              <a rel="nofollow" data-no-instant href="#" data-no-instant data-opennt="#shopify-section-{{sidebar_shop}}" data-pos="right" data-remove="true" data-class="popup_filter" data-bg="hide_btn" class="has_icon btn_sidebar mgr op__0"><i class="iccl fwb iccl-trello fwb mr__5"></i>{{ 'collections.general.sidebar' | t }}</a>
           </div> 
           <div class="cat_sortby cat_sortby_js dn">{%- assign option_selected = collection.sort_options | where:"value",sort_by -%}
              <a class="in_flex fl_between al_center sortby_pick" rel="nofollow" data-no-instant href="#"><span class="sr_txt dn">{{- option_selected.first.name -}}</span><span class="sr_txt_mb">{{ 'collections.sorting.title' | t }}</span><i class="ml__5 mr__5 facl facl-angle-down"></i></a>
              <div class="nt_sortby dn">
                <svg class="ic_triangle_svg" viewBox="0 0 20 9" role="presentation"><path d="M.47108938 9c.2694725-.26871321.57077721-.56867841.90388257-.89986354C3.12384116 6.36134886 5.74788116 3.76338565 9.2467995.30653888c.4145057-.4095171 1.0844277-.40860098 1.4977971.00205122L19.4935156 9H.47108938z" fill="#ffffff"></path></svg>
                <div class="h3 mg__0 tc cd tu ls__2 dn_lg db">{{ 'collections.sorting.title' | t }}<i class="pegk pe-7s-close fs__50 ml__5"></i></div>
                <div class="nt_ajaxsortby wrap_sortby">
                 {%- if type_filters == '2' -%}

                      {%- assign nt_canonical_url = canonical_url | replace:'for_offest','for_no_offest' | replace:'?q=%2f%3fq%3d','?q=' -%}
                      {%- assign txt_current_page = '?page=' |append:current_page -%} 
                      {%- assign key_block = 'for_no_offest%3d' | append:get_fillter_offset -%}
                      {%- assign key_block2 = '+nt+for_no_offest%3d' | append:get_fillter_offset -%}
                      {%- assign sortby_url = nt_canonical_url | remove:key_block2 | remove:key_block | remove:txt_current_page | replace:'+nt+&sort_by','&sort_by' -%}

                      {%- if nt_canonical_url contains sort_by -%}
                        {%- for option in collection.sort_options -%}
                          <a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ sortby_url | replace:sort_by,option.value }}">{{ option.name }}</a>
                        {%- endfor -%}
                      {%- else -%}
                        {%- for option in collection.sort_options -%}
                          <a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ sortby_url | sort_by: option.value }}">{{ option.name }}</a>
                        {%- endfor -%}
                      {%- endif -%}
                 {%- else -%}
                    
                      {%- if get_url contains sort_by -%}
                        {%- for option in collection.sort_options %}<a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ get_url | replace:sort_by,option.value | replace:'+nt+&sort_by','&sort_by' }}">{{ option.name }}</a>{% endfor -%}
                      {%- else -%}
                        {%- for option in collection.sort_options %}<a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ get_url | sort_by: option.value  | replace:'+nt+&sort_by','&sort_by'}}">{{ option.name }}</a>{% endfor -%}
                      {%- endif -%}

                 {%- endif -%}
                </div>
              </div>
           </div>
        </div>
        {%- elsif settings.sort_enable -%}
            <div class="cat_sortby cat_sortby_js col tr">{%- assign option_selected = collection.sort_options | where:"value",sort_by -%}
              <a class="in_flex fl_between al_center sortby_pick" rel="nofollow" data-no-instant href="#"><span class="sr_txt dn">{{- option_selected.first.name -}}</span><span class="sr_txt_mb">{{ 'collections.sorting.title' | t }}</span><i class="ml__5 mr__5 facl facl-angle-down"></i></a>
              <div class="nt_sortby dn">
                <svg class="ic_triangle_svg" viewBox="0 0 20 9" role="presentation"><path d="M.47108938 9c.2694725-.26871321.57077721-.56867841.90388257-.89986354C3.12384116 6.36134886 5.74788116 3.76338565 9.2467995.30653888c.4145057-.4095171 1.0844277-.40860098 1.4977971.00205122L19.4935156 9H.47108938z" fill="#ffffff"></path></svg>
                <div class="h3 mg__0 tc cd tu ls__2 dn_lg db">{{ 'collections.sorting.title' | t }}<i class="pegk pe-7s-close fs__50 ml__5"></i></div>
                <div class="nt_ajaxsortby wrap_sortby">
                 {%- if type_filters == '2' -%}

                      {%- assign nt_canonical_url = canonical_url | replace:'for_offest','for_no_offest' | replace:'?q=%2f%3fq%3d','?q=' | replace:'+nt++nt+','+nt+' -%}
                      {%- assign txt_current_page = '?page=' |append:current_page -%} 
                      {%- assign key_block = 'for_no_offest%3d' | append:get_fillter_offset -%}
                      {%- assign key_block2 = '+nt+for_no_offest%3d' | append:get_fillter_offset -%}
                      {%- assign sortby_url = nt_canonical_url | remove:key_block2 | remove:key_block | remove:txt_current_page -%}
                      
                      {%- if nt_canonical_url contains sort_by -%}
                        {%- for option in collection.sort_options -%}
                          <a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ sortby_url | replace:sort_by,option.value | replace:'+nt+&sort_by','&sort_by'}}">{{ option.name }}</a>
                        {%- endfor -%}
                      {%- else -%}
                        {%- for option in collection.sort_options -%}
                          <a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ sortby_url | sort_by: option.value | replace:'+nt+&sort_by','&sort_by'}}">{{ option.name }}</a>
                        {%- endfor -%}
                      {%- endif -%}
                 {%- else -%}
                    
                      {%- if get_url contains sort_by -%}
                        {%- for option in collection.sort_options %}<a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ get_url | replace:sort_by,option.value }}">{{ option.name }}</a>{% endfor -%}
                      {%- else -%}
                        {%- for option in collection.sort_options %}<a class="truncate{% if sort_by == option.value %} selected{% endif %}" href="{{ get_url | sort_by: option.value }}">{{ option.name }}</a>{% endfor -%}
                      {%- endif -%}

                 {%- endif -%}
                </div>
              </div>
            </div>
        {%- else -%}<div class="col"></div>
        {%- endif -%}
     </div>

     {%- if shop_filters and admin_sp -%}
           <div class="filter_area"><div class="filter_area_wrap">{% if type_filters == '1' %}{%- section 'nt_filter' -%}{% else %}{%- section 'nt_filter2' -%}{% endif %}</div></div>
       {%- elsif shop_filters -%}
          <div class="filter_area_js filter_area {{lz_filter}} lazypreloadt4s" data-rendert4s="{{get_url}}section_id={{nt_filter}}"></div>
     {%- endif -%}

     <div class="row">
        {%- if no_sidebar == false and admin_sp -%}<div class="js_sidebar sidebar sidebar_nt col-lg-{{class_sidebar}} col-12 space_{{settings.space_sidebar}} hidden_{{hidden_cat}}">{% if type_filters == '1' %}{%- section 'sidebar_shop' -%}{% else %}{%- section 'sidebar_shop2' -%}{% endif %}</div>
        {%- elsif no_sidebar == false -%}<div class="js_sidebar sidebar sidebar_nt col-lg-{{class_sidebar}} col-12 space_{{settings.space_sidebar}} hidden_{{hidden_cat}} {{lz_filter}} lazypreloadt4s" data-rendert4s="{{get_url}}section_id={{sidebar_shop}}"><div class="nt_svg_loader dn"></div></div>{%- endif -%}
        <div class="col-lg-{{class_main}} col-12">{%- section 'collection_page' -%}</div>
     </div>
  </div>
{%- endif -%}
{%- if cat_des == '3' and IsShowDesSUB %}<div class="cat_des_ntt4 container container_cat tc mb__60 rtet4">{{ collection.description}}</div>{%- endif -%}