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.
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.