App reviews, troubleshooting, and recommendations
Hello Everyone!
I am thinking about implementing an app, which adds sections to the theme code similar to https://apps.shopify.com/section-factory. I already looked into the theme app extension, but this is not quite what I looked for (I want to add sections and not only blocks). The plan for the app is also that the user is able to add specific sections, he can choose. (Similar to the section factory app).
I know that this is possible via the ScriptTag Api, but the documentation says, that I cannot publish the App, due to ScriptTag being deprecated. It says: "Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only vintage themes. Learn more."
Is it okay to use ScriptTag as long as I am also using App Blocks for 2.0 Stores?Thanks in Advance!
Hi @mdi47 👋 Use the poorly name assets api to change themes ; because every file is an "asset"
https://shopify.dev/docs/apps/build/online-store/asset-legacy
https://shopify.dev/docs/api/admin-rest/2023-10/resources/asset
Note: as for exemption such section apps are a page builder app or adding-liquid, or other etc
Also if stepping into that arena be very aware of the developer preview , beta, for the upcoming flex-sections/nested-blocks features
https://shopify.dev/docs/storefronts/themes/architecture/blocks/theme-blocks/developer-preview
https://github.com/Shopify/reference-theme/discussions
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025