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.

How to publish theme app extension with new Shopify version?

Solved

How to publish theme app extension with new Shopify version?

huzhop
Shopify Partner
10 0 6

Hello Shopify Team,

 

I have an app published and active since 2020. The application uses the theme app extension, A week ago when the app upgraded to the new version, I was unable to publish new updates of the theme app extension.

The steps I did.
- Update changes by command line: shopify extension push

At partners admin, app/versions, I created a new "Release version" but the theme app extension does not update in the newly released version.

 

Where is the problem? what should i do to solve this problem?

 

Please help me with this.
I would really appreciate this help.


Thank you.

Accepted Solution (1)
jessehoek
Shopify Staff
2 1 2

This is an accepted solution.

Hi Huzhop – with simplified deployment, you need to use Shopify CLI and run the `deploy` command to make any updates to your theme app extension. Make sure you are using the latest version.

 

You can't release changes of a CLI-managed extension (theme app extension) from the dashboard anymore with the new deployment model. Documentation

 

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 9 (9)

Liam
Community Manager
3108 344 911

Hi Huzhop, 

 

Are you using the new simplified deployment approach to release new versions? If so, you might be running into issues related to the developer store preview option being turned on. This forum post goes into detail on how to resolve this, can you try the approach described there and see if it resolves your issue?

 

Hope this helps,

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

huzhop
Shopify Partner
10 0 6

Thank you for replying to my problem.


Yes, I tried the way Release an existing app version through the Partner Dashboard. But it doesn't release what I have updated in theme app extension. 

I have not tried with CLI, because my application is not generated from CLI.

 

I'm still looking for the cause and how to fix it.

jessehoek
Shopify Staff
2 1 2

This is an accepted solution.

Hi Huzhop – with simplified deployment, you need to use Shopify CLI and run the `deploy` command to make any updates to your theme app extension. Make sure you are using the latest version.

 

You can't release changes of a CLI-managed extension (theme app extension) from the dashboard anymore with the new deployment model. Documentation

 

To learn more visit the Shopify Help Center or the Community Blog.

huzhop
Shopify Partner
10 0 6

Thank you very much, I have successfully released the new version.

Alice_Infoweb
Shopify Partner
2 0 0

Can you help me how to to released your new version theme app extension ?

 

I run deploy command but i got this error 

 

'deploy' is not recognized as an internal or external command,
operable program or batch file.

andrienpecson
Shopify Partner
4 0 2

I also have the same situation, may I ask for some pointers on how you did release a new version? I tried the shopify app deploy command but I am encountering this error: No extensions to deploy to Shopify Partners.

huzhop
Shopify Partner
10 0 6

Hi @andrienpecson , @Alice_Infoweb 

The steps I took are as follows:

1. I created a folder called ShopifyApps

2. `cd ~/ShopifyApps`

3. `npm init @shopify/app@latest`

- Enter app name

- Select option "Start by adding your first extension" >> wait to install

 

== Success ==

app-name is ready for you to build!
Next steps
• Run `cd app-name`
• For extensions, run `npm run generate extension`
• To see your app, run `npm run dev` (This command will ask you to connect to your existing application)
Please replace the files in the old version into the new extension folder to test it.

After you test without any problems, you can `npm run deploy`

 

Good luck!

Alice_Infoweb
Shopify Partner
2 0 0

But our app builds with simple PHP, not Laravel.  I have tried the above your steps but not only released the theme app extension with my php code.  

 

Can you help me how to release theme app extension already existing php code ?

appaza
Shopify Partner
37 2 3
command line
npm run deploy ?
Collaboration creates new things