Is there a planned increase to the limit of 50 blocks within a section?
Hi @alxsthrlnd !
No concrete plans at the moment, but we’re not closed to it. Can you tell us more about some scenarios where this limit becomes a blocker for you?
Thanks!
Hi @nicklepine
We’ve recently hit the 50-block limit and would love to see this limit removed or at least increased. 50 seems to be a somewhat arbitrary number and while I can see there might need to be some sensible limits on certain block setting types as they will increase queries etc (e.g. a limit on how many metaobjects can be linked within a section), I’m not sure I get why we need a fixed limit on the blocks themselves especially if those blocks are populating simple data types from JSON.
Our use case is that we’re building our entire theme out of nested theme blocks, similar to the examples shown in Horizon but maybe taking it a step further in some areas. At the top of our PDP we have blocks which are controlling layout (i.e. flex layout options) and inside of those we have blocks creating structure (grouping content together etc) and then inside of those blocks for setting content.
In one example, at the top of our PDP around the product details we have a list of information about delivery (e.g. estimated delivery cost, estimated delivery date and so on) - each of these represented by its own block, within those we have blocks for setting an icon to appear next to the information, and the information itself. One of these items opens a modal allowing the customer to set their delivery location - this modal itself is configureable using blocks to set the modal title/body/footer and add icons/headings/text and so on. This is all really flexible and powerful, but very soon you can run into the block limit. The modal alone makes use of 10 blocks, and that’s just one part of the PDP.
We could achieve the exact same structure in our liquid code simply nesting snippets (heading snippet, text snippet, icon snippet, and so on) and we are not faced with any limits (unlimited snippets, unlimited nesting of snippets etc) as far as I’m aware … so its frustrating that we can’t replicate that structure within theme blocks allowing the content to be populated within the theme editor. We are forced to instead use block settings and have a more fixed/rigid structure for the content that can be set.
Hope this makes sense and provides some context. I am sure there are many others out there who have faced similar challenges.