My Collections url: https://longhouse.org/collections/2022-events
It is not showing any title and description. Please help.
But this collection is showing its title and description: https://longhouse.org/collections/memberships
My Collections url: https://longhouse.org/collections/2022-events
It is not showing any title and description. Please help.
But this collection is showing its title and description: https://longhouse.org/collections/memberships
Hi,
Are you using the same exact collection template?
Hi Sir,
Yes I created with same collection template. I have only two there. 1. Default template and 2. grid
Tried duplicating, creating new. Also with both templates. But nothing worked for me to show my title and description like my Membership collection
What theme are you using?
Is the banner a separate section on the collection page?
Hi Sir,
I am using Cascade V 1.6.1
The banner is not a separate section on the collection page as far as I know. Here I have attached my collection page screenshot. Thank you for your help.
Excellent. Can you share a screenshot of the other collection as well?
Can I bother you to paste the collection page code here?
I have multiple .liquid page. Which one I should add?
I am adding collection-list.liquid here:
{%- assign section_color = section.settings.color_scheme -%}
{%- assign collection_count = section.blocks.size -%}
{%- assign remainder = collection_count | modulo:2 -%}
{%- if remainder == 0 -%}
{%- assign odd_count = false -%}
{%- else -%}
{%- assign odd_count = true -%}
{%- endif -%}
{% assign text_position = section.settings.text_position %}
{% assign col_count_desktop = 1 %}
{% assign index = 1 %}
{% if section.settings.title != blank %}
{% for block in section.blocks %}
{% assign collection = collections[block.settings.collection] %}
{% assign title = collection.title %}
{% assign show_cta = block.settings.show_collection_link %}
{% assign cta_text = block.settings.cta_text %}
{% assign heading_class = ‘font-size__heading-mobile-full’ %}
{% assign local_color = block.settings.text_color %}
{% assign text_position = section.settings.text_position %}
{%- if forloop.first and odd_count -%}
{%- assign block_width_mobile = ‘full’ -%}
{%- assign block_width_desktop = ‘full’ -%}
{%- else -%}
{%- assign block_width_mobile = ‘full’ -%}
{%- assign block_width_desktop = ‘half’ -%}
{%- endif -%}
{%- if index == 2 and odd_count -%}
{%- assign first_col_desktop = true -%}
{%- else -%}
{%- assign first_col_desktop = false -%}
{%- endif -%}
{%- capture mobile_count -%}{%- cycle ‘1’, ‘2’ -%}{%- endcapture -%}
{% assign placeholder = true %}
{% if block.settings.collection and block.settings.collection != ‘’ %}
{% assign placeholder = false %}
{% endif %}
{%- assign col_count_desktop = col_count_desktop | plus: 1 -%}
{%- if col_count_desktop == 5 -%}
{%- assign col_count_desktop = 1 -%}
{%- endif %}
{%- assign index = index | plus: 1 -%}
{% endfor %}
{% schema %}
{
“name”: “Collection list”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Collection list”
},
{
“type”: “select”,
“id”: “heading_text_align”,
“label”: “Heading text alignment”,
“options”: [
{
“value”: “text-align–left”,
“label”: “Left”
},
{
“value”: “text-align–center”,
“label”: “Center”
},
{
“value”: “text-align–right”,
“label”: “Right”
}
],
“default”: “text-align–left”
},
{
“type”: “header”,
“content”: “Collections”
},
{
“type”: “select”,
“id”: “text_position”,
“label”: “Text position”,
“options”: [
{ “value”: “over”, “label”: “Over image”},
{ “value”: “under”, “label”: “Underneath image”}
]
},
{
“type”: “header”,
“content”: “Color”
},
{
“type”: “select”,
“id”: “color_scheme”,
“label”: “Color scheme”,
“options”: [
{ “value”: “primary”, “label”: “Primary”},
{ “value”: “secondary”, “label”: “Secondary”},
{ “value”: “tertiary”, “label”: “Tertiary”}
]
}
],
“blocks”: [
{
“type”: “collection”,
“name”: “Collection”,
“settings”: [
{
“type”: “collection”,
“id”: “collection”,
“label”: “Choose collection:”
},
{
“type”: “select”,
“id”: “text_color”,
“label”: “Overlay text color”,
“options”: [
{ “value”: “primary”, “label”: “Primary text”},
{ “value”: “secondary”, “label”: “Secondary text”},
{ “value”: “tertiary”, “label”: “Tertiary text”},
{ “value”: “white”, “label”: “White”}
]
},
{
“type”: “checkbox”,
“id”: “show_collection_link”,
“label”: “Show link to collection”,
“default”: true
},
{
“id”: “cta_text”,
“type”: “text”,
“label”: “Link text”,
“default”: “Shop now”
}
]
}
],
“presets”: [
{
“name”: “Collection list”,
“category”: “Collection”,
“blocks”: [
{
“type”: “collection”
},
{
“type”: “collection”
},
{
“type”: “collection”
}
]
}
]
}
{% endschema %}
Whoops, I need the collection template. It may be under collection.template
Another one I found under snippets.
collection.template.liquid
This might blocking to add title and description.
{%- assign section_color = section.settings.color_scheme -%}
{%- assign sorting_enabled = section.settings.enable_sort_filter -%}
{%- assign posts_per_row_mobile = section.settings.posts_per_row_mobile -%}
{%- assign posts_per_row_desktop = “one-third” -%}
{% assign isInstore = false %}
{% for collection in product.collections %}
{% if collection.handle == ‘shop-instore’ %}
{% assign isInstore = true %}
{% break %}
{% endif %}
{% if template.name == ‘product’ and collection.handle == ‘memberships’ %}
{% assign isInstore = true %}
{% break %}
{% endif %}
{% endfor %}
{% if collection.handle == ‘shop-instore’
or collection.handle == ‘books-paper-art’
or collection.handle == ‘for-you’
or collection.handle == ‘for-home’
or collection.handle == ‘for-kids’
or collection.handle == ‘for-the-collector’
%}
{% assign isInstore = true %}
{% endif %}
{% assign layout = ‘’ %}
{% if template contains ‘grid’ %}
{% assign layout = ‘grid’ %}
{% endif %}
{% paginate collection.products by section.settings.no_posts %}
{% if collection.handle != ‘memberships’
and collection.handle != ‘summer-benefit’
and collection.handle != ‘year-end-appeal’ %}
{% if collection.handle == ‘memberships’
or collection.handle == ‘summer-benefit’
or collection.handle == ‘year-end-appeal’ %}
{% assign description_blocks = collection.description | split: ‘[[newsection]]’ %}
{{ 'collections.general.no_matches' | t }}
{% endif %}{% if collection.handle == ‘memberships’
or collection.handle == ‘summer-benefit’
or collection.handle == ‘year-end-appeal’ %}
{% if paginate.pages > 1 %}
{%- render ‘pagination’,
paginate: paginate,
section_color: section_color,
-%}
{% endif %}
{% endpaginate %}
Seems like your collection template was really customized. I would need a closer look to be able to assist. Feel free to DM me as this is more then a simple fix.
Hi Jay,
I will email you all of my collections related liquid file. Hope you will understand the logic and help me out. Meanwhile, I understood a logic in snippet>collection.template.liquid and fixed the description’s last two sections.
Check the screenshot if you have time. Thanks
Yes
Seems like this might be a bit deeper. Feel free to reach out via email.