App reviews, troubleshooting, and recommendations
Can multiple extensions be created for an app?
For example, you can have a theme extension, a function extension and a checkout extension in a app.
I have created a function extension and a theme extension but when I do a yarn dev it only runs the theme extension.
How can I run multiple extensions?
Hi, I also have the same query - Can multiple extensions be created for an app?
@sergio19 Please confirm, any workaround which you are able to figure out or still blocked on the same ?
Hi, still blocked, the cloud function is installed with api, but theme and checkout extension no, I don't know how you can work with both in one app 😥.
Did you ever make any progress here? Shopify has done a terrible job of explaining the new Checkout Extensibility and how you're to use it from a developer standpoint. Their documentation is all over the place but nothing is cohesive.
Honestly I have been thinking the same lately. It looks like there's loads of decent docs but when you read a little further...it's legit all over the place.
I'm using npm not yarn, but you can translate as needed. I ran `npm run shopify app generate extension -- --reset` within my existing app. It prompted me through what type of extension, what to name it, and what language to work in. I included the `--reset` flag with the CLI command to reset the `shopify.app.toml` file.
Your app's final structure will look like the example found in the docs here: https://shopify.dev/docs/apps/build/cli-for-apps/app-structure/. When I run `npm run dev`, the CLI asks which store I want to use, I select my dev store, and it offers different options for opening GraphiQL (Admin API) and previewing in the browser, among other things.
Hope that helps!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We 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, 2024