Want to increase the 16 Block Limit to 50

yaman_hashst
Visitor
1 0 1

Hello Support,
Hope you are doing good!!!

I am adding items in the Header Category, but am unable to add more than 16 blocks and I want to increase that limit, please help me in this as 16 Blocks is not sufficient at all.

Waiting for you response soon.

Thanks & Regards
Yaman

Replies 2 (2)

blanklob
Shopify Partner
4 1 0

Hi, if you want to increase the limit you need to add the header as rendered static section and not in your json template files like so:

{%- section 'header' %}

 

In all your layout files like theme.liquid etc

A Shopify Developer building in public Shopify themes from scratch. I love what I do and I’m willing to share it ❤️

RobDukarski
Shopify Partner
88 15 20

@yaman_hashst 

The 16 block limit is a limitation of the new JSON templates that arrived with the OS 2.0 update. What would probably work better for you is to utilize a navigation menu with a linklist as you can have many more than 16 link items in that. I'm not sure how comfortable you are with using the code editor or what that section you reference does (as there's no visual in the provided screenshot) but assuming it is a way to list collections in an off-canvas or drop-down menu, using a navigation menu you should be able to get a similar result if not exactly the same.

With the linklists you can loop through the link items and pull in details associated with their object (if there is one) so if you wanted to list collections with their featured image you could easily do that, if you wanted to have a featured product be able to be added to cart or sent directly to checkout from the menu you could easily do that. The navigation menu functionality that Shopify provides is very powerful and useful in a variety of scenarios even if you are not using them for a traditional navigation menu.

Hope that helps!

- Rob Dukarski
Helping to make commerce better for everyone!