Section Store Style App

Section Store Style App

mdi47
Shopify Partner
10 1 2

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!

Konnte ich weiterhelfen? Dann klicke auf Like!
Wurde dein Problem gelöst? Markiere es als Akzeptierte Lösung
Für weitere Informationen und Kontakt, besuche MDI47.de
Reply 1 (1)

PaulNewton
Shopify Partner
6722 610 1433

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 previewbeta, 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