Adding more than 6 collections in supply

Highlighted
New Member
3 0 0

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.  

0 Likes
Highlighted

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.

 

Regards,

 

Sam

Achieveapplabs.com | Shopify Development | hello@achieveapplabs.com
0 Likes
New Member
3 0 0

Hello Sam,

 

Yes, that is exactly what I am trying to do.  I would like the limit to be 12 sections in one collection instead of 6 please.  

 

Thank you so much.

 

Bill

0 Likes
Highlighted

H Bill,

 

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,

 

Sam

Achieveapplabs.com | Shopify Development | hello@achieveapplabs.com
0 Likes