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
Save time & money ,Ask Questions The Smart Way
Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024