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!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024