Hello. I am looking to edit the code on my supply theme to allow more than 6 collections. I see how to create a second collection, but I want all sections to fall under the one collection sections. I have seen some coding suggestions in other discussions, but have not come across a definitive coding answer. Thank you for any assistance.
Hi @Billp6338 ,
We tested Supply Theme and on our homepage we have a section called "Collection List" In that section the limit is 6 sections when using the Shopify theme editor. Is that the limit you are trying to go around with template code? Just want to confirm before we look into it further.
We were able to add more than 6 collections by editing the theme code in Sections/collection-list.liquid. All we did was edit max_blocks from 6 to 8:
"class": "collection-list-section", "max_blocks": 8, "presets": [
That removed the warning message in theme editor and allowed to add more collections.
Hope this helps,
|04-02-2020 10:19 PM|
|04-02-2020 01:54 PM|
|04-02-2020 05:01 AM|
|04-02-2020 04:52 AM|
|04-02-2020 04:04 AM|