How do I update my Shopify theme without losing my changes?
Updated
Use the theme's update in Online Store: Shopify adds the new version as a draft, copies your theme editor changes into it and leaves your live theme alone. Code edits are the risk, because they only carry over when they don't clash with the update.
Theme editor changes include theme settings, section and block content, templates you created and app embed settings. Code edits are changes made in Edit code, by you, a developer or an app. If Shopify can't include them, the theme card says so, and you have to copy them into the new version yourself.
Updates only reach themes installed from the Shopify Theme Store. Themes bought elsewhere are updated by their designer, and vintage themes are no longer updated by Shopify. Shopify may also apply automatic updates that fix bugs or security issues without changing your theme's look or settings.

Check it yourself
- 1
In Online Store, then Themes, duplicate your live theme so you have a backup.
- 2
Write down every code edit you know of, and download the theme file from the theme's menu so you have the original code.
- 3
Click your theme's version number. When an update is available, click it, then click Add to draft themes.
- 4
Read the message on the new theme card. If it says code edits could not be included, copy those edits into the new version.
- 5
Preview the draft on a phone and a computer: home page, a collection, a product, the cart and every app block. Fix anything missing.
- 6
Publish when it looks right, and keep the old theme in your library in case you need to switch back.
When to ask for help
If the update can't include your code edits and you don't know what they do, ask for help. Copying them across wrongly can break the cart or an app on the live store.