Hello everyone, Can anyone explain why I reached the limit of 50 blocks when I only have 11 FAQs containing 2 static blocks that should not be counted towards the limit according to the guide, and 1 text block? As a result, I get 44 blocks + 1 wrapper and 2 blocks for the header, and I can no longer insert the next block. , although there should be 22 blocks because static blocks should ignore the limits.
Hi @MaksymKurniy , Please be aware that Shopify imposes a limit of 50 blocks per template. Once this limit is reached, you will no longer be able to add additional blocks to that specific page or template.
To work within this constraint, it’s recommended to optimize your code structure to reduce the overall block count.
One effective approach is to use presets and grouped block declarations. By defining blocks for a specific group, you can automatically include them when the group is used. You can then retain only the necessary blocks by removing the unused ones from the group, allowing for more efficient block management within the template.
Hi Sayed_Safin,
yes, I know about the 50 block limit per section. But my question is why do static blocks affect this limit if the documentation about static blocks says that they should not do this, so either the documentation is lying, or I am doing something wrong, or this is a bug that needs to be fixed