Open candreouTrade opened 8 months ago
Hey @candreouTrade! I think you sent me an email about this recently, I have a note here to get back to you soon. To answer your question about creating Theme App extensions with ShopifySharp/.NET, right now we don't support it simply because Theme App extensions themselves are almost entirely liquid markup, so .NET wouldn't contribute much there.
To create them, you need to use Shopify's CLI from NPM, which require installing Node and Ruby the last time I checked. Once you have it installed you just run this command:
npx shopify app generate extension --template theme-app-extension
It will ask you to sign in to your Shopify Partner account and then set up the extension for you. They're kind of complicated and have some tricks to them I've found. I do plan on writing a blog post about them and adding a chapter to the book! Especially now that we're losing access to the Assets API and this is their replacement for that.
Regarding the Script Tags though, are you sure you're not able to use those? After we lost access to the Assets API a few weeks ago, I was under the impression that apps were now supposed to use either the Script Tags API or a Theme App Extension.
Oh, disregard that last question. I see now on the documentation page for Script Tags that they're saying apps may not be approved if they can use Theme App Extensions instead:
Hi Josh, That’s great that you are adding a chapter and blog post. Any idea on when you targeting to have a blog post/chapter on the topic? From what I have seen online, the app will not pass the approval process with just a script tags. Script tags can be added to address 1.0 Themes, but they want theme app extensions to support the 2.0 shopify themes. Apps already in the App Store do not need to migrate to theme app extensions, so seems it’s only for new apps.Thanks,Chris Sent from my iPhoneOn 20 Dec 2023, at 18:42, Joshua Harms @.***> wrote: Oh, disregard that last question. I see now on the documentation page for Script Tags that they're saying apps may not be approved if they can use Theme App Extensions instead: image.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Hi,
I recently bought the Book from Josh and have created a script tag using Shopify sharp. The Shopfy team will not approve the app without a Theme App Extension. I don't recall seeing how these extnsions can be created in the book. Is there an example on how to create these Theme app extensions when using .NET and ShopifySharp?
Ideally an example that shows how to go from a script tag to a Theme app extension as a new Chapter/Blog Post covering this.