Collection description not showing Impulse OS 2.0

Hello, anyone knows why on Impulse OS 2.0 collection description is not showing? Thank you.

1 Like

@vasilepachitanu

oh sorry for that can you please share store url

Hi @KetanKumar

URL is https://nordek.ro/. Thanks.

@vasilepachitanu

thanks can you please share Collection page url if you have added Collection description

Yes sorry. Please find below ..

https://nordek.ro/collections/imbracaminte-femei

1 Like

@vasilepachitanu

thanks can you please check your theme setting its allow enable or disable

Collection description is under Product Grid. I could not find any other option for enabling or disabling.

1 Like

@vasilepachitanu

oh can you please share collection code so i will moved

https://nordek.ro/collections/imbracaminte-femei

Where can I find the code?

@vasilepachitanu

sorry but i can’t see Collection description that collection can you show me

your code its edit code >>>> section >> collection

collection-header.liquid

{%- assign disable_sticky_header = false -%}

{%- if section.settings.enable -%}
  {%- if section.settings.collection_image_enable and collection.image -%}
    

      {%- assign img_url = collection.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}

      

        {%- if section.settings.parallax -%}
          

            

        {%- endif -%}

          

          

        {%- if section.settings.parallax -%}
            

          

        {%- endif -%}

        
          

            
          

        

      

    

  {%- else -%}
    {%- assign disable_sticky_header = true -%}
    
      
    

  {%- endif -%}
{% else %}
  {%- assign disable_sticky_header = true -%}
{%- endif -%}

{%- if disable_sticky_header -%}
  {% comment %}
    Div to trigger theme.CollectionHeader JS
  {% endcomment %}
  
  

{%- endif -%}

{% schema %}
  {
    "name": "Collection header",
    "settings": [
      {
        "type": "checkbox",
        "id": "enable",
        "label": "Enable header",
        "default": true
      },
      {
        "type": "checkbox",
        "id": "collection_image_enable",
        "label": "Show collection image",
        "default": true
      },
      {
        "type": "checkbox",
        "id": "parallax",
        "label": "Parallax image",
        "default": true
      }
    ]
  }
{% endschema %}

mail-collection.liquid


  

    

      

        

          {%- render 'collection-grid-filters',
            collection: collection,
            enable_sidebar: section.settings.enable_sidebar,
            filter_style: section.settings.filter_style,
            collapsed: section.settings.collapsed,
            enable_color_swatches: section.settings.enable_color_swatches
          -%}
        

        
          {%- for block in section.blocks -%}
            

              {%- case block.type -%}
              {%- when 'collection_description' -%}
                {%- if collection.description != blank and current_filter_size == 0 -%}
                  

                    {{ collection.description }}
                  

                {%- endif -%}
              {%- when 'subcollections' -%}
                {%- if current_filter_size == 0 -%}
                  {%- render 'subcollections', per_row: block.settings.subcollections_per_row -%}
                {%- endif -%}
              {%- when 'product_grid' -%}
                {%- assign paginate_by = block.settings.per_row | times: block.settings.rows_per_page -%}
                {%- paginate collection.products by paginate_by -%}
                  {% render 'collection-grid',
                    collection: collection,
                    items: collection.products,
                    enable_sidebar: section.settings.enable_sidebar,
                    filter_style: section.settings.filter_style,
                    enable_sort: section.settings.enable_sort,
                    enable_collection_count: block.settings.enable_collection_count,
                    per_row: block.settings.per_row,
                    mobile_flush_grid: block.settings.mobile_flush_grid,
                    quick_shop_enable: settings.quick_shop_enable
                  %}
                  {%- if paginate.pages > 1 -%}
                    {%- render 'pagination', paginate: paginate -%}
                  {%- endif -%}

                {%- endpaginate -%}
              {%- endcase -%}
            

          {%- endfor -%}
        

      

    

  

{%- if section.settings.enable_sidebar == false or section.settings.filter_style == 'drawer' -%}
{% comment %}
  Override grid styles if sidebar is disabled
{% endcomment %}
{% style %}
  .collection-content .grid__item--sidebar { width: 0; }
  .collection-content .grid__item--content { width: 100%; }
  .grid__item--sidebar { position: static; overflow: hidden; }
{% endstyle %}
{%- endif -%}

{% schema %}
  {
    "name": "Product grid",
    "settings": [
      {
        "type": "header",
        "content": "Filtering and sorting"
      },
      {
        "type": "checkbox",
        "id": "enable_sidebar",
        "label": "Enable filter",
        "default": true,
        "info": "Allow your customers to filter collections and search results by product availability, price, color, and more. [Customize filters](/admin/menus)"
      },
      {
        "type": "checkbox",
        "id": "collapsed",
        "label": "Collapse filters",
        "default": true
      },
      {
        "type": "select",
        "id": "filter_style",
        "label": "Filter style",
        "default": "sidebar",
        "options": [
          {
            "value": "sidebar",
            "label": "Sidebar"
          },
          {
            "value": "drawer",
            "label": "Drawer"
          }
        ]
      },
      {
        "type": "checkbox",
        "id": "enable_color_swatches",
        "label": "Enable color swatches",
        "info": "[View setup instructions](https://archetypethemes.co/blogs/impulse/how-do-i-set-up-color-swatches)"
      },
      {
        "type": "checkbox",
        "id": "enable_sort",
        "label": "Show sort options",
        "default": true
      }
    ],
    "blocks": [
      {
        "type": "collection_description",
        "name": "Collection description",
        "limit": 1
      },
      {
        "type": "product_grid",
        "name": "Products",
        "settings": [
          {
            "type": "checkbox",
            "id": "enable_collection_count",
            "label": "Enable collection count",
            "default": true
          },
          {
            "type": "range",
            "id": "per_row",
            "label": "Products per row",
            "default": 4,
            "min": 2,
            "max": 5,
            "step": 1
          },
          {
            "type": "range",
            "id": "rows_per_page",
            "label": "Rows per page",
            "default": 7,
            "min": 3,
            "max": 20,
            "step": 1
          },
          {
            "type": "checkbox",
            "id": "mobile_flush_grid",
            "label": "Flush grid on mobile",
            "default": false
          }
        ],
        "limit": 1
      },
      {
        "type": "subcollections",
        "name": "Subcollections",
        "settings": [
          {
            "type": "paragraph",
            "content": "Links to collections from your menu will appear here. [Learn more](https://archetypethemes.co/blogs/expanse/how-do-i-create-subcollections)"
          },
          {
            "type": "range",
            "id": "subcollections_per_row",
            "label": "Subcollections per row",
            "default": 5,
            "min": 2,
            "max": 5,
            "step": 1
          }
        ],
        "limit": 1
      }
    ]

  }
{% endschema %}

@vasilepachitanu

can you please update mail-collection.liquid below code but make you have added content to your collection also your easy manage theme setting first check


  

    

      

        
 {%- render 'collection-grid-filters', collection: collection, enable_sidebar: section.settings.enable_sidebar, filter_style: section.settings.filter_style, collapsed: section.settings.collapsed, enable_color_swatches: section.settings.enable_color_swatches -%} 

         
          {%- for block in section.blocks -%}
          
 {%- case block.type -%} {%- when 'collection_description' -%} {%- if collection.description != blank and current_filter_size == 0 -%}
            
 {{ collection.description }} 
 {%- endif -%} {%- when 'subcollections' -%} {%- if current_filter_size == 0 -%} {%- render 'subcollections', per_row: block.settings.subcollections_per_row -%} {%- endif -%} {%- when 'product_grid' -%} {%- assign paginate_by = block.settings.per_row | times: block.settings.rows_per_page -%} {%- paginate collection.products by paginate_by -%} {% render 'collection-grid', collection: collection, items: collection.products, enable_sidebar: section.settings.enable_sidebar, filter_style: section.settings.filter_style, enable_sort: section.settings.enable_sort, enable_collection_count: block.settings.enable_collection_count, per_row: block.settings.per_row, mobile_flush_grid: block.settings.mobile_flush_grid, quick_shop_enable: settings.quick_shop_enable %} {%- if paginate.pages > 1 -%} {%- render 'pagination', paginate: paginate -%} {%- endif -%} {%- endpaginate -%} {%- endcase -%} 
          

           {%- endfor -%} 
           {%- if collection.description != blank and current_filter_size == 0 -%}
             {{ collection.description }} 
 {%- endif -%}
          

      

    

  

 {%- if section.settings.enable_sidebar == false or section.settings.filter_style == 'drawer' -%} {% comment %} Override grid styles if sidebar is disabled {% endcomment %} {% style %} .collection-content .grid__item--sidebar { width: 0; } .collection-content .grid__item--content { width: 100%; } .grid__item--sidebar { position: static; overflow: hidden; } {% endstyle %} {%- endif -%}
 {% schema %} { "name": "Product grid", "settings": [ { "type": "header", "content": "Filtering and sorting" }, { "type": "checkbox", "id": "enable_sidebar", "label": "Enable filter", "default": true, "info": "Allow your customers to filter collections and search results by product availability, price, color, and more. [Customize filters](/admin/menus)" }, { "type": "checkbox", "id": "collapsed", "label": "Collapse filters", "default": true }, { "type": "select", "id": "filter_style", "label": "Filter style", "default": "sidebar", "options": [ { "value": "sidebar", "label": "Sidebar" }, { "value": "drawer", "label": "Drawer" } ] }, { "type": "checkbox", "id": "enable_color_swatches", "label": "Enable color swatches", "info": "[View setup instructions](https://archetypethemes.co/blogs/impulse/how-do-i-set-up-color-swatches)" }, { "type": "checkbox", "id": "enable_sort", "label": "Show sort options", "default": true } ], "blocks": [ { "type": "collection_description", "name": "Collection description", "limit": 1 }, { "type": "product_grid", "name": "Products", "settings": [ { "type": "checkbox", "id": "enable_collection_count", "label": "Enable collection count", "default": true }, { "type": "range", "id": "per_row", "label": "Products per row", "default": 4, "min": 2, "max": 5, "step": 1 }, { "type": "range", "id": "rows_per_page", "label": "Rows per page", "default": 7, "min": 3, "max": 20, "step": 1 }, { "type": "checkbox", "id": "mobile_flush_grid", "label": "Flush grid on mobile", "default": false } ], "limit": 1 }, { "type": "subcollections", "name": "Subcollections", "settings": [ { "type": "paragraph", "content": "Links to collections from your menu will appear here. [Learn more](https://archetypethemes.co/blogs/expanse/how-do-i-create-subcollections)" }, { "type": "range", "id": "subcollections_per_row", "label": "Subcollections per row", "default": 5, "min": 2, "max": 5, "step": 1 } ], "limit": 1 } ] } {% endschema %}

Hello there, I have the exact same issue and I can’t find any solution to this. I try to add the code you advise but saddly I have an error message


  

    

      

        
 {%- render 'collection-grid-filters', collection: collection, enable_sidebar: section.settings.enable_sidebar, filter_style: section.settings.filter_style, collapsed: section.settings.collapsed, enable_color_swatches: section.settings.enable_color_swatches -%} 

         
          {%- for block in section.blocks -%}
          
 {%- case block.type -%} {%- when 'collection_description' -%} {%- if collection.description != blank and current_filter_size == 0 -%}
            
 {{ collection.description }} 
 {%- endif -%} {%- when 'subcollections' -%} {%- if current_filter_size == 0 -%} {%- render 'subcollections', per_row: block.settings.subcollections_per_row -%} {%- endif -%} {%- when 'product_grid' -%} {%- assign paginate_by = block.settings.per_row | times: block.settings.rows_per_page -%} {%- paginate collection.products by paginate_by -%} {% render 'collection-grid', collection: collection, items: collection.products, enable_sidebar: section.settings.enable_sidebar, filter_style: section.settings.filter_style, enable_sort: section.settings.enable_sort, enable_collection_count: block.settings.enable_collection_count, per_row: block.settings.per_row, mobile_flush_grid: block.settings.mobile_flush_grid, quick_shop_enable: settings.quick_shop_enable %} {%- if paginate.pages > 1 -%} {%- render 'pagination', paginate: paginate -%} {%- endif -%} {%- endpaginate -%} {%- endcase -%} 
          

           {%- endfor -%} 
           {%- if collection.description != blank and current_filter_size == 0 -%}
             {{ collection.description }} 
 {%- endif -%}
          

      

    

  

 {%- if section.settings.enable_sidebar == false or section.settings.filter_style == 'drawer' -%} {% comment %} Override grid styles if sidebar is disabled {% endcomment %} {% style %} .collection-content .grid__item--sidebar { width: 0; } .collection-content .grid__item--content { width: 100%; } .grid__item--sidebar { position: static; overflow: hidden; } {% endstyle %} {%- endif -%}
 {% schema %} { "name": "Product grid", "settings": [ { "type": "header", "content": "Filtering and sorting" }, { "type": "checkbox", "id": "enable_sidebar", "label": "Enable filter", "default": true, "info": "Allow your customers to filter collections and search results by product availability, price, color, and more. [Customize filters](/admin/menus)" }, { "type": "checkbox", "id": "collapsed", "label": "Collapse filters", "default": true }, { "type": "select", "id": "filter_style", "label": "Filter style", "default": "sidebar", "options": [ { "value": "sidebar", "label": "Sidebar" }, { "value": "drawer", "label": "Drawer" } ] }, { "type": "checkbox", "id": "enable_color_swatches", "label": "Enable color swatches", "info": "[View setup instructions](https://archetypethemes.co/blogs/impulse/how-do-i-set-up-color-swatches)" }, { "type": "checkbox", "id": "enable_sort", "label": "Show sort options", "default": true } ], "blocks": [ { "type": "collection_description", "name": "Collection description", "limit": 1 }, { "type": "product_grid", "name": "Products", "settings": [ { "type": "checkbox", "id": "enable_collection_count", "label": "Enable collection count", "default": true }, { "type": "range", "id": "per_row", "label": "Products per row", "default": 4, "min": 2, "max": 5, "step": 1 }, { "type": "range", "id": "rows_per_page", "label": "Rows per page", "default": 7, "min": 3, "max": 20, "step": 1 }, { "type": "checkbox", "id": "mobile_flush_grid", "label": "Flush grid on mobile", "default": false } ], "limit": 1 }, { "type": "subcollections", "name": "Subcollections", "settings": [ { "type": "paragraph", "content": "Links to collections from your menu will appear here. [Learn more](https://archetypethemes.co/blogs/expanse/how-do-i-create-subcollections)" }, { "type": "range", "id": "subcollections_per_row", "label": "Subcollections per row", "default": 5, "min": 2, "max": 5, "step": 1 } ], "limit": 1 } ] } {% endschema %}