How to update a Shopify theme without breaking your store
- Topic
- Development
- Published
- Reading time
- 7 min read
- Written by
- Binaery
To update a Shopify theme safely, you never update the theme that's live. Shopify adds the new version to your drafts as a separate copy, carries your settings over to it, and tells you whether your code changes made the trip. You check the copy, and publish it when you're happy.
By the end of this you'll know what an update brings across by itself, what it can leave behind, and the order to do things in so the store never shows a half finished theme.
The short version
- Updates for themes from the Shopify Theme Store are free. The new version is added to your draft themes. Your live theme isn't touched.
- Everything done in the theme editor carries over: settings, layouts, section content, templates, app settings and wording.
- Code edits carry over only if they don't conflict with the update. Shopify tells you which happened, in a message on the theme.
- If the edits didn't carry over, somebody has to copy them across by hand. Save a copy of any customized code before you start.
- Apps can change theme code too, and some apps may not work with a new version. Test them on the draft.
- Read the release notes first. If nothing in them matters to you, there's no prize for updating today.
Every theme carries a small label saying what it is. It sits in the theme's settings file and looks like this:
{
"name": "theme_info",
"theme_name": "Dawn",
"theme_author": "Shopify",
"theme_version": "1.0.0"
}
The last line is the theme's version. You don't need to open the file to see it: the version number is shown on the Themes page of your admin, and that's where an update is announced.
What an update is, and who gets one
Shopify and other theme designers release new versions of the themes they sell in the Theme Store. Shopify's page on updating themes says these usually include new features, design improvements and bug fixes, and that you can add the updated version to your draft themes for free.
A few themes are left out:
- Themes bought outside the Shopify Theme Store. Updates aren't supported for those.
- Old themes that are no longer listed in the Theme Store.
- Themes without a license for your store. Shopify says a theme is licensed to the store it was bought for, and unlicensed themes aren't eligible for support or updates.
- Custom themes. Nobody sends those updates. Whoever built yours keeps it current.
There's a second, quieter kind. Shopify can apply an automated update to fix a bug or a security issue. Those don't change how the theme looks, and they don't touch your content or settings. You'll see a notice where the version number was, with release notes.
What carries over by itself
Anything you did in the theme editor is copied to the new version. Shopify lists it:
- Theme settings.
- Page layouts: sections and blocks you added, reordered, removed or hid.
- Section and block settings, including images, videos, text and connected data.
- Templates you created.
- App embeds and app extensions, and their settings.
- Wording you changed in the theme's content editor.
For a store that has only ever used the editor, that's everything. An update is a few clicks and a look around.
What might not: code
If you or an app changed the theme's code, Shopify tries to include those edits in the new version. It succeeds when they don't conflict with what the theme's developer changed. After the new version is added, the theme card tells you which way it went:
- "Theme added: code edits successfully included." Your changes are in the new version. Still check them.
- "Theme added: code edits could not be included." The new version is clean, and your changes are only in the old one. If you want them, they have to be copied across by hand.
Two details people miss. Code changes come from apps as well as people, because some apps edit theme files when you install them. And if you added custom CSS, Shopify says to check that the things it targets still exist in the new version, because a renamed class quietly switches your styling off.
Here's what a code edit looks like from the outside. This is a product page from a pet lifestyle store we designed and built. Look under the size buttons, at the row called "Better together", where two add ons can be chosen before adding to the cart. A piece like that lives in code. On a bought theme it's exactly the kind of change an update can fail to carry, and the first thing to test on the draft.
Pet lifestyle brand
A bundle product page
Updating, step by step
- From your Shopify admin, go to Online Store. If an update is available, a notice appears where the theme's version number usually is.
- Click it, then click View release notes. Decide whether there's anything in them you want.
- Save a copy of any customized code. Duplicating the live theme does it.
- Click Add to draft themes. The new version appears in your drafts with "Updated copy of" in front of its name. Large themes can take several minutes.
- Read the message on the theme card about your code edits.
- Click Review and go through the store on the draft: home, a collection, a product, the cart, search, a page with a form.
- Test every app that shows something on the storefront.
- When it's right, click Publish. Your old theme stays on the Themes page, so you can go back.
You can share a preview link for a draft theme, which is useful if somebody else needs to sign off before it goes live.
A worked example: a Tuesday morning update
Say you run a store on a paid theme with one custom section a developer added last year and six apps. An update notice has been sitting there for a month.
- 9:00. Read the release notes. One line matters: a fix for the cart drawer on small phones.
- 9:10. Duplicate the live theme and name the copy with today's date.
- 9:15. Add the update to drafts. The card says the code edits were included.
- 9:25. Open the draft's preview on a phone. The custom section is there. The reviews app's stars are missing from product pages.
- 9:40. Switch the reviews app's block back on in the theme editor for the draft. Stars return.
- 10:00. Place a test order through the draft's preview, then publish.
The times are made up. The shape is real: most of the hour goes on checking, and the apps deserve as much of it as your own code.
When there's no update button, or no good reason
If the Add to draft themes option isn't shown for a Theme Store theme, Shopify says you can't use the standard process. The route then is a fresh copy of the theme from the Theme Store, with your settings and customizations applied again by hand.
Shopify also says something agencies rarely do: upgrading a theme can be a complex process, and you should consider whether your current theme meets your needs before deciding to update. A theme with a lot of code edits gets harder to update every year. At some point it's a custom theme in everything but name, and our article on custom and premium themes is about that point.
One limit to know: not every new feature reaches an existing theme. If a feature needs a newer theme architecture, updating won't add it, and Shopify's advice is to add a new theme that supports it.
What an update won't fix
- A slow store. A newer version may be faster. The apps and tags on top of it are unchanged. See what really slows a store down.
- Code nobody understands. If you don't know what was changed or why, an update only moves the mystery to a new theme.
- A design you've outgrown. An update is the same theme, improved. It isn't a redesign.
Before you update a theme
- Read the release notes and decide whether you need the update.
- List the code edits you know about, and the apps that show something on the storefront.
- Duplicate the live theme.
- Add the update to drafts and read the message about code edits.
- Review the draft on a phone, page type by page type.
- Test each app and place a test order.
- Publish at a quiet time, and keep the old theme for a few weeks.
Common questions
Will updating my Shopify theme delete my customizations?
Changes made in the theme editor are copied to the updated version: theme settings, layouts, section and block content, templates, app settings and wording. Code edits are included only if they don't conflict with the update. If they do, Shopify shows the message "Theme added: code edits could not be included" and the edits have to be copied across by hand.
Are Shopify theme updates free?
Yes, for free and paid themes installed from the Shopify Theme Store. When a new version is released, you can add it to your draft themes for free. Updates aren't supported for themes bought outside the Shopify Theme Store, and a paid theme must be licensed to your store.
Does updating a Shopify theme change my live store?
Not until you publish it. The updated version is added to your draft themes with "Updated copy of" in front of its name, and your live theme stays as it is. You can review the draft, share a preview link, and publish when you're ready. Your previous theme remains in your drafts.
How do I know if my Shopify theme has an update?
From your Shopify admin, go to Online Store. Each theme shows its version number. When an update is available, a notification replaces the version number, and clicking it opens the details with the release notes and the option to add the new version to your draft themes.
Next step
Open Online Store in your admin and look where your theme's version number is. If there's an update notice, read the release notes now, and book an hour for it this week on a quiet morning. If the theme card later says your code edits could not be included and nobody knows what those edits were, that's a job for a developer. Tell us about your store and one of us will write back within 48 hours.
Keep reading.
Rather have us do it?
Everything in this article is something we do for a living. Tell us about the store and what you're trying to move.
Fly our work




