Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Checkout extension app gets removed from Shopify editor after migration to new version

Solved

Checkout extension app gets removed from Shopify editor after migration to new version

rajasha
Shopify Partner
2 1 0

Hi,

I had an app with some very old version(shopify.extension.toml):

type = "checkout_ui_extension"
name = "MyApp"

 

I wanted to upgrade it to a new version and therefore I set the following in shopify.extension.toml:


api_version = "2023-10"

[[extensions]]
type = "ui_extension"
name = "MyApp"
handle = "checkout-ui-extensions"

 When running npm run deploy I got the following warning:

 

Extension migrations can't be undone.
Your "checkout-ui-extensions" configuration has been updated. Migrating
gives you access to new features and won't impact the end user experience.
All previous extension versions will reflect this change.


Migrate "checkout-ui-extensions"?

> (y) Yes, confirm migration from "checkout_ui_extension"
(n) No, cancel

 


I selected Yes. But this removed the already placed MyApp from Shopify editor in the stores. How can I prevent this from happening?

Thanks.

Accepted Solution (1)

rajasha
Shopify Partner
2 1 0

This is an accepted solution.

Never mind, this worked fine. It's just that if you try to repeat the migration process multiple times then it doesn't work but works fine when migrating the first time.

View solution in original post

Reply 1 (1)

rajasha
Shopify Partner
2 1 0

This is an accepted solution.

Never mind, this worked fine. It's just that if you try to repeat the migration process multiple times then it doesn't work but works fine when migrating the first time.