was wondering if i could get help with adding a show more button below my collection lis
t on my front page on brooklyn theme which leads to the collection.
was wondering if i could get help with adding a show more button below my collection lis
Thanks for post
can you please try this code
This isn’t what i’m looking for I need a button which says see more which when clicked leads to a collection i want this to be under my collection list on my home page where i circled red on the screenshot above.
It can be done by doing some code customization. please send me a personal message and we can discuss what you’d like
i messaged you haven’t replied
Thanks for staff account add me i will update code and let you know
you have acess
thank you so much ketan much help
Thanks for update and support.
CAn you check your messages please I need some extra help I will like all your messages you ever posted if you can help me with this
Hi @KetanKumar ,
Could you help me add the “View More” button on my homepage which is a collection page as well? I’d like to show the "View More: button after the first 6 rows of products. My website is www.ootdnewyork10.com and I’m using Brooklyn theme. I’d also like this button to show on the mobile version. Please let me know if you need access to my page.
yes my pleasure to help us yes, please send feature collection section code so i will update
Here’s the featured-collections.liquid code. Hope this is what you’re looking for. Please let me know if it isn’t.
{% comment %}
Show up to 9 collections.
Frontpage will be excluded if collections defined automatically.
{% endcomment %}
{% assign isEmpty = true %}
{% assign collection_index = 0 %}
{% assign collection_count = 0 %}
{% assign collection_limit = section.blocks.size %}
{% comment %}
Add one to the collection limit to offset chance of Frontpage being included
{% endcomment %}
{% assign collection_limit = collection_limit | plus: 1 %}
{% comment %}
Calculate number of collections to show, making sure Frontpage isn’t one
{% endcomment %}
{% for collection in section.blocks limit: collection_limit %}
{% assign collection_count = collection_count | plus: 1 %}
{% endfor %}
{% if collection_count > 0 %}
{% assign isEmpty = false %}
{% endif %}
{% assign divisible_by_three = collection_count | modulo: 3 %}
{% assign divisible_by_two = collection_count | modulo: 2 %}
{% comment %}
Loop through the collections to display
{% endcomment %}
{% for block in section.blocks limit: collection_limit %}
{% assign collection = collections[block.settings.collection] %}
{% assign collection_index = collection_index | plus: 1 %}
{% assign collection_handle = collection.handle %}
{% include ‘collection-grid-collage’ %}
{% endfor %}
{% if isEmpty %}
{% schema %}
{
“name”: {
“da”: “Kollektionsliste”,
“de”: “Kategorieliste”,
“en”: “Collection list”,
“es”: “Lista de colecciones”,
“fi”: “Kokoelmaluettelo”,
“fr”: “Liste des collections”,
“hi”: “कलेक्शन सूची”,
“it”: “Elenco delle collezioni”,
“ja”: “コレクションリスト”,
“ko”: “컬렉션 목록”,
“ms”: “Senarai koleksi”,
“nb”: “Samlingsliste”,
“nl”: “Collectielijst”,
“pt-BR”: “Lista de coleções”,
“pt-PT”: “Lista de coleções”,
“sv”: “Kollektionslista”,
“th”: “รายการคอลเลกชัน”,
“zh-CN”: “产品系列列表”,
“zh-TW”: “商品系列清單”
},
“max_blocks”: 9,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: {
“da”: “Overskrift”,
“de”: “Überschrift”,
“en”: “Heading”,
“es”: “Título”,
“fi”: “Otsake”,
“fr”: “Titre”,
“hi”: “शीर्षक”,
“it”: “Heading”,
“ja”: “見出し”,
“ko”: “제목”,
“ms”: “Tajuk”,
“nb”: “Overskrift”,
“nl”: “Kop”,
“pt-BR”: “Título”,
“pt-PT”: “Título”,
“sv”: “Rubrik”,
“th”: “ส่วนหัว”,
“zh-CN”: “标题”,
“zh-TW”: “標題”
},
“default”: {
“da”: “Kollektionsliste”,
“de”: “Kategorieliste”,
“en”: “Collection list”,
“es”: “Lista de colecciones”,
“fi”: “Kokoelmaluettelo”,
“fr”: “Liste des collections”,
“hi”: “कलेक्शन सूची”,
“it”: “Elenco delle collezioni”,
“ja”: “コレクションリスト”,
“ko”: “컬렉션 목록”,
“ms”: “Senarai koleksi”,
“nb”: “Samlingsliste”,
“nl”: “Collectielijst”,
“pt-BR”: “Lista de coleções”,
“pt-PT”: “Lista de coleções”,
“sv”: “Kollektionslista”,
“th”: “รายการคอลเลกชัน”,
“zh-CN”: “产品系列列表”,
“zh-TW”: “商品系列清單”
}
}
],
“presets”: [
{
“name”: {
“da”: “Kollektionsliste”,
“de”: “Kategorieliste”,
“en”: “Collection list”,
“es”: “Lista de colecciones”,
“fi”: “Kokoelmaluettelo”,
“fr”: “Liste des collections”,
“hi”: “कलेक्शन सूची”,
“it”: “Elenco delle collezioni”,
“ja”: “コレクションリスト”,
“ko”: “컬렉션 목록”,
“ms”: “Senarai koleksi”,
“nb”: “Samlingsliste”,
“nl”: “Collectielijst”,
“pt-BR”: “Lista de coleções”,
“pt-PT”: “Lista de coleções”,
“sv”: “Kollektionslista”,
“th”: “รายการคอลเลกชัน”,
“zh-CN”: “产品系列列表”,
“zh-TW”: “商品系列清單”
},
“category”: {
“da”: “Kollektion”,
“de”: “Kategorie”,
“en”: “Collection”,
“es”: “Colección”,
“fi”: “Kokoelma”,
“fr”: “Collection”,
“hi”: “कलेक्शन”,
“it”: “Collezione”,
“ja”: “コレクション”,
“ko”: “컬렉션”,
“ms”: “Koleksi”,
“nb”: “Samling”,
“nl”: “Collectie”,
“pt-BR”: “Coleção”,
“pt-PT”: “Coleção”,
“sv”: “Produktserie”,
“th”: “คอลเลกชัน”,
“zh-CN”: “收藏”,
“zh-TW”: “商品系列”
},
“blocks”: [
{
“type”: “collection”
},
{
“type”: “collection”
},
{
“type”: “collection”
}
]
}
],
“blocks”: [
{
“type”: “collection”,
“name”: {
“da”: “Kollektion”,
“de”: “Kategorie”,
“en”: “Collection”,
“es”: “Colección”,
“fi”: “Kokoelma”,
“fr”: “Collection”,
“hi”: “कलेक्शन”,
“it”: “Collezione”,
“ja”: “コレクション”,
“ko”: “컬렉션”,
“ms”: “Koleksi”,
“nb”: “Samling”,
“nl”: “Collectie”,
“pt-BR”: “Coleção”,
“pt-PT”: “Coleção”,
“sv”: “Produktserie”,
“th”: “คอลเลกชัน”,
“zh-CN”: “收藏”,
“zh-TW”: “商品系列”
},
“settings”: [
{
“id”: “collection”,
“type”: “collection”,
“label”: {
“da”: “Kollektion”,
“de”: “Kategorie”,
“en”: “Collection”,
“es”: “Colección”,
“fi”: “Kokoelma”,
“fr”: “Collection”,
“hi”: “कलेक्शन”,
“it”: “Collezione”,
“ja”: “コレクション”,
“ko”: “컬렉션”,
“ms”: “Koleksi”,
“nb”: “Samling”,
“nl”: “Collectie”,
“pt-BR”: “Coleção”,
“pt-PT”: “Coleção”,
“sv”: “Produktserie”,
“th”: “คอลเลกชัน”,
“zh-CN”: “收藏”,
“zh-TW”: “商品系列”
}
}
]
}
]
}
{% endschema %}
Just checking in on this. Thanks.
Is the one that I sent is not the one?
{% comment %}
Show up to 9 collections.
Frontpage will be excluded if collections defined automatically.
{% endcomment %}
{% assign isEmpty = true %}
{% assign collection_index = 0 %}
{% assign collection_count = 0 %}
{% assign collection_limit = section.blocks.size %}
{% comment %}
Add one to the collection limit to offset chance of Frontpage being included
{% endcomment %}
{% assign collection_limit = collection_limit | plus: 1 %}
{% comment %}
Calculate number of collections to show, making sure Frontpage isn’t one
{% endcomment %}
{% for collection in section.blocks limit: collection_limit %}
{% assign collection_count = collection_count | plus: 1 %}
{% endfor %}
{% if collection_count > 0 %}
{% assign isEmpty = false %}
{% endif %}
{% assign divisible_by_three = collection_count | modulo: 3 %}
{% assign divisible_by_two = collection_count | modulo: 2 %}
{% comment %}
Loop through the collections to display
{% endcomment %}
{% for block in section.blocks limit: collection_limit %}
{% assign collection = collections[block.settings.collection] %}
{% assign collection_index = collection_index | plus: 1 %}
{% assign collection_handle = collection.handle %}
{% include ‘collection-grid-collage’ %}
{% endfor %}
{% if isEmpty %}
{% schema %}
{
“name”: {
“da”: “Kollektionsliste”,
“de”: “Kategorieliste”,
“en”: “Collection list”,
“es”: “Lista de colecciones”,
“fi”: “Kokoelmaluettelo”,
“fr”: “Liste des collections”,
“hi”: “कलेक्शन सूची”,
“it”: “Elenco delle collezioni”,
“ja”: “コレクションリスト”,
“ko”: “컬렉션 목록”,
“ms”: “Senarai koleksi”,
“nb”: “Samlingsliste”,
“nl”: “Collectielijst”,
“pt-BR”: “Lista de coleções”,
“pt-PT”: “Lista de coleções”,
“sv”: “Kollektionslista”,
“th”: “รายการคอลเลกชัน”,
“zh-CN”: “产品系列列表”,
“zh-TW”: “商品系列清單”
},
“max_blocks”: 9,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: {
“da”: “Overskrift”,
“de”: “Überschrift”,
“en”: “Heading”,
“es”: “Título”,
“fi”: “Otsake”,
“fr”: “Titre”,
“hi”: “शीर्षक”,
“it”: “Heading”,
“ja”: “見出し”,
“ko”: “제목”,
“ms”: “Tajuk”,
“nb”: “Overskrift”,
“nl”: “Kop”,
“pt-BR”: “Título”,
“pt-PT”: “Título”,
“sv”: “Rubrik”,
“th”: “ส่วนหัว”,
“zh-CN”: “标题”,
“zh-TW”: “標題”
},
“default”: {
“da”: “Kollektionsliste”,
“de”: “Kategorieliste”,
“en”: “Collection list”,
“es”: “Lista de colecciones”,
“fi”: “Kokoelmaluettelo”,
“fr”: “Liste des collections”,
“hi”: “कलेक्शन सूची”,
“it”: “Elenco delle collezioni”,
“ja”: “コレクションリスト”,
“ko”: “컬렉션 목록”,
“ms”: “Senarai koleksi”,
“nb”: “Samlingsliste”,
“nl”: “Collectielijst”,
“pt-BR”: “Lista de coleções”,
“pt-PT”: “Lista de coleções”,
“sv”: “Kollektionslista”,
“th”: “รายการคอลเลกชัน”,
“zh-CN”: “产品系列列表”,
“zh-TW”: “商品系列清單”
}
}
],
“presets”: [
{
“name”: {
“da”: “Kollektionsliste”,
“de”: “Kategorieliste”,
“en”: “Collection list”,
“es”: “Lista de colecciones”,
“fi”: “Kokoelmaluettelo”,
“fr”: “Liste des collections”,
“hi”: “कलेक्शन सूची”,
“it”: “Elenco delle collezioni”,
“ja”: “コレクションリスト”,
“ko”: “컬렉션 목록”,
“ms”: “Senarai koleksi”,
“nb”: “Samlingsliste”,
“nl”: “Collectielijst”,
“pt-BR”: “Lista de coleções”,
“pt-PT”: “Lista de coleções”,
“sv”: “Kollektionslista”,
“th”: “รายการคอลเลกชัน”,
“zh-CN”: “产品系列列表”,
“zh-TW”: “商品系列清單”
},
“category”: {
“da”: “Kollektion”,
“de”: “Kategorie”,
“en”: “Collection”,
“es”: “Colección”,
“fi”: “Kokoelma”,
“fr”: “Collection”,
“hi”: “कलेक्शन”,
“it”: “Collezione”,
“ja”: “コレクション”,
“ko”: “컬렉션”,
“ms”: “Koleksi”,
“nb”: “Samling”,
“nl”: “Collectie”,
“pt-BR”: “Coleção”,
“pt-PT”: “Coleção”,
“sv”: “Produktserie”,
“th”: “คอลเลกชัน”,
“zh-CN”: “收藏”,
“zh-TW”: “商品系列”
},
“blocks”: [
{
“type”: “collection”
},
{
“type”: “collection”
},
{
“type”: “collection”
}
]
}
],
“blocks”: [
{
“type”: “collection”,
“name”: {
“da”: “Kollektion”,
“de”: “Kategorie”,
“en”: “Collection”,
“es”: “Colección”,
“fi”: “Kokoelma”,
“fr”: “Collection”,
“hi”: “कलेक्शन”,
“it”: “Collezione”,
“ja”: “コレクション”,
“ko”: “컬렉션”,
“ms”: “Koleksi”,
“nb”: “Samling”,
“nl”: “Collectie”,
“pt-BR”: “Coleção”,
“pt-PT”: “Coleção”,
“sv”: “Produktserie”,
“th”: “คอลเลกชัน”,
“zh-CN”: “收藏”,
“zh-TW”: “商品系列”
},
“settings”: [
{
“id”: “collection”,
“type”: “collection”,
“label”: {
“da”: “Kollektion”,
“de”: “Kategorie”,
“en”: “Collection”,
“es”: “Colección”,
“fi”: “Kokoelma”,
“fr”: “Collection”,
“hi”: “कलेक्शन”,
“it”: “Collezione”,
“ja”: “コレクション”,
“ko”: “컬렉션”,
“ms”: “Koleksi”,
“nb”: “Samling”,
“nl”: “Collectie”,
“pt-BR”: “Coleção”,
“pt-PT”: “Coleção”,
“sv”: “Produktserie”,
“th”: “คอลเลกชัน”,
“zh-CN”: “收藏”,
“zh-TW”: “商品系列”
}
}
]
}
]
}
{% endschema %}
Hi @KetanKumar are you still able to help me with this? Thanks.
yes its wrong code which file you have send code?