Shopify themes, liquid, logos, and UX
Is there a way to limit the number of times a merchant can "(+) Add block" from the app blocks? I'd like the merchant to only be able to add each block once. In the example screenshot below "Gallery" and "List" can be added many times.
I tried limit: 1 on the {% schema %} object but limit is not a valid attribute.
Docs: https://shopify.dev/apps/online-store/theme-app-extensions/getting-started
Good question. Should be good to have a schema entry to limit instance of an app block
like :
blocks-limit : 1
link to current value possible : https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework#schema
A message should appear when user try to add new block :
You have reach the maximum number of blocks to display(use) for this app.
Could be also a part of a paid plan of the app :
plan1 : display up to 1 block
plan2: display up to 3 blocks
etc
and then the message could be :
You have reach the maximum number of blocks to display(use) for this app. If you want to use more blocks you can upgrade your app plan subscription here.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025