Hello Shopify Community and developers at Shopify!
During migration to theme app extensions I got into a problem. Before I could have over 25 settings in a custom block, now it is limited inside Theme app extensions. I am trying to figure out how to solve this issue without creating custom script from our App itself with the necessary settings(and as I know we are trying to eliminate custom scripttags) and I dont want users to do settings in two places, but so far without success. Anyone has some clue how to deal with it? I would not like to cut the number of settings as they are necessary for styling. And I also would not like to ask users to write their own styling…
X Invalid tag 'schema': settings: must have a maximum of 25 for interactive settings
Hi, i am having the exact same issue, i have 36 design elements for a table with buttons, and i dont want to limit the user to all customisation options, or as you say send them to another place to fill this out.
Shopify wants us to make our apps work better with the themes which we are trying to do, but with limitations like this how can we fully rely on an app block. Its very frustrating!
Well, anyhow this new theme 2.0 extension thing is buggy as hell One day it was working, next day it was not, uploading perfectly, but nothing is visible. I guess we have to wait a bit more.
Has this issue ever been answered? We are running into it now because we are trying to add a new customizable field due to customer demand for it and we can’t because we are at 25. This means we’ve got to have them do settings in 2 places, which is confusing to the store owner.
Hi all - appreciate the discussion here. My understanding is that the 25 section limitation is connected to the block component within a 2.0 theme itself, rather than as part of the app block extension API. This is currently expected behaviour due to the limitation, but I did want to reply here to let you folks know we are taking into account your feedback. I can’t guarantee anything specifically on my end, but I am going to submit a feature request report and pass this along to our product team.
I definitely see where you’re coming from when it comes to file size limitation too - I’m going to pass that along as a separate consideration, especially since I can see how it could be leveraged to create specialized buyer-facing experiences (video especially). When it comes to the app extension section limit in the app blocks - would you folks be able to provide a high level use case that I would be able to provide to our product team?
I find that the more detailed of a use case I can provide, it provides more context for the product team to consider building or improving features. Thanks again - hope to hear from you soon.
Thanks so much for chiming in here! Replies like these are a part of why I love to spend my days working with Shopify.
Regarding the 25 schema settings limit within a block, that makes sense. I see why it should not be infinite, to preserve site speed, etc…, but having a robust set of customizable options within a block helps the merchant more and more in that it will reduce the need for customizing things via code. Infinite bad, maybe 75.. better!
And regarding the overall File Size Limits on Theme App Extensions, the benefit to have more space for settings and markup is very much the same as above. These settings and markup provide more capabilities for the merchant. Having more code within the app block, by developers, is WAY better than having more code within the theme itself. This is all about giving the merchant powerful tools to extend their theme.
The specific use case I am working on are app blocks that that provide custom PDP, PLP, and landing page templates for products configured using the app. These products have certain data characteristics, and we, as the app developers, know the best practices on how to display this data. This will involve a fair amount of markup and settings to provide that control in various places. We are constantly hovering right around 100KB for our Liquid and are engineering ways to try to reduce that code (in some cases sacrificing helpful functionality). So again. Infinite bad, maybe 500KB.. better!!
Thanks again and please keep us posted on this potential/hopeful change.
Good morning @ShopifyDevSup . There is a bit more chatter on the thread I created specifically on the Theme App Extension file size limits. I’m just curious if there is any insight into Shopify’s thoughts on raising these limits. The more I work with these extensions the more I like them but spend a lot of time thinking about how to handle this limitation without sacrificing features.
@kimieann when you wrote “have them do settings in 2 places”, which other place did you mean? We are thinking about moving some “extra” settings to the “app link” (the link you find for our app in the “Installed apps” list). This does not look great but seems the best we have so far…
The limitation for 25 maximum interactive settings, and maximum of 6 non-interactive settings is a major limitation.
Since Shopify is deprecating the Assets API and essentially forcing people to use theme app extensions and app blocks, migrating to app blocks is impossible for our app.
Our app’s current widgets are highly customizable and flexible (a feature supported by custom blocks in theme sections). We have block definitions with anywhere between 10 to 60 settings, with non-interactive headers to help group and organize them. Users love having this level of customization with our app.
There is no way to migrate from old custom section and block templates added to a shop’s theme via the Assets API to the app block system which has much stricter limits.
I would suggest that Shopify have much higher limits to let the app developers decide what is right for the user. I can agree that limits are always good to have, but in this case a limit of 100 or even 250 settings would be more appropriate.
Why such a high limit? Because developers should be able to provide the necessary functionality to their user’s that they deem necessary. Let the developer decide “how many is too many”. The high limit of 100 or 250 is simply to ensure the Shopify backend isn’t abused by apps making one thousand or ten thousand settings.
I hate to pile on here, but since this has been open for two years now I feel like I have to. The 25 limit is frankly ridiculous. It’s very limiting and prevents building serious things.
Hi, @DanAtBonify can you find any solution in this error The limitation for 25 maximum interactive settings, and maximum of 6 non-interactive settings
for app extension.
The merchant forums are hot garbage for this type of stuff.
If you have actual merchants complaining you need to actively push merchants to contact actual shopify-advisors through the shopify support chat to give feature requests.
Actual partners with development questions or feature requests should move to the actual development forums https://community.shopify.dev.
And or be on or search channels on the shopifypartners slack-forum.
Existing posts:
Workarounds
Obvious setting limit workarounds is to move configuration scaling problems OUTSIDE the theme system.
Move configuration to the app or metafields or metaobjects(MOBs).
Then use app-data metafields, metafields or MOBs), or use a JSON metafield in the extension.
If your a page builder app/service just continue with the old systems for open ended flexibility, use extensions for narrow use cases.
Though be aware the Metaobjects entry limits was MASSIVELY raised which can be clue of other “performance” restricted limitations being raised
Underlying condition
The top level problem , like most things in shopify or “modern” software, is the documentation or lack thereof for how such limitations are not clearly easily findable until well down the road.
Every other feature has some tradeoff that goes unmentioned or presumes you just KNOW.
The pages with a clearlimitations section you can count on your hands and of those they STILL omit things.
e.g. file-and-content-size-limits for theme-app-extensions config doesn’t mention settings at all or a heads up. https://shopify.dev/docs/apps/build/online-store/theme-app-extensions/configuration#file-and-content-size-limits
It’s how you get noobies being confused as if they’ve done something wrong e.g. Is there any limit for maximum number of settings you can have in a schema
With no singular canonical place to consolidate publicl discussion of each specific feature collectively just random forum posts ; the Was this section helpful? on the dev doc is a blackhole box.
Thank you! Yeah, I suspected that was a bot. Hm, the thing with the meta data is a good idea! Though moving all the configuration to the admin dashboard including a preview of our widgets will be some work. And do you happen to know if there is a way to migrate existing settings? Is there a way for us to read out the settings of our customers via an API?