Shopify

Your storefront needs a way back.

Shopify restores one theme file at a time, and only if that file still exists. If something is broken right now we get the store serving first. Then we make the next bad edit a revert instead of an evening.

An engineer reads it, not a sales team. No call needed unless you want one.

What the theme editor holds3 of 6 recoverable
  • layout/theme.liquidEarlier versions keptHeld
  • sections/main-product.liquidEarlier versions keptHeld
  • snippets/price.liquidDeleted, so nothing to restoreGone
  • assets/custom.cssNo history at allGone
  • assets/theme.jsNo history at allGone
  • The storefront, as it was yesterdayFile by file, if you know whichPartial

From Shopify's own documentation, checked November 2026. Illustrative of how the code editor behaves, not a capture of any one store.

The short answer

Shopify can give you back one theme file at a time. Its code editor keeps a Timeline of earlier versions of each file you have edited, and restoring an entry replaces that whole file. What it will not give you back is a file you deleted, anything in the theme's assets folder, or the state your storefront was in last Tuesday. Shopify's own documented safeguard is to duplicate the theme before making large changes. That is a manual step nobody remembers at the moment they need it, which is why a storefront people edit regularly needs a real rollback path rather than a habit.

What the platform restores

Worth knowing before you need it rather than after. All of it is from Shopify's own documentation, checked in November 2026; admin menu labels move, so check yours for the current wording.

01
A theme file you edited
Yes, one file at a time
The code editor keeps a Timeline of earlier versions for each file you have changed, and restoring an entry replaces the entire file. Copy the current contents somewhere first, because the restore overwrites them.
02
A theme file you deleted
No
Timeline cannot recover a file that no longer exists. Shopify's own instruction is to duplicate the theme before deleting anything, which is the only thing standing between a tidy-up and a missing template.
03
Images, CSS, JavaScript and fonts
No history at all
Files in the theme's assets folder have no Timeline. Overwrite a stylesheet or a script there and the previous version is simply gone, which catches people who assume the editor tracks everything it shows them.
04
A whole theme, in one action
Not on a standard theme
Rolling back a standard theme means restoring file by file, which is slow and relies on you knowing which files changed. Shopify's newer Canvas themes do have a theme-level version history with a restore, and a restored version reaches customers only once you publish it.
05
Products, orders, customers and settings
Keep your own copy
The way Shopify documents for holding your own copy of store records is CSV export. There is no undo button for a bulk edit that went through a thousand products, so the export has to already exist before you need it.

Boltout is not affiliated with Shopify. We build on it for clients, and everything above is what the platform documents, not a complaint about it. The gap it leaves is small and consistent, which is exactly the kind of gap worth closing once.

Why people call

Six versions of the same bad afternoon.

  1. 01

    Code went in and the page went blank

    A snippet pasted into a template, a tag left unclosed, and now a product page, the cart, or the whole storefront renders empty. The change that caused it is usually small and the blast radius usually is not.

  2. 02

    There are six theme copies and nobody knows which is live

    Copy of copy of copy, dated by accident, each with a fix the others do not have. At this point the theme library is the version control, and it does not work: there is no diff, no author and no order.

  3. 03

    An app was removed and its code stayed

    Scripts, snippets and template edits an app wrote into the theme, still running after the app is gone. Sometimes that is dead weight slowing the storefront down, and sometimes it is the reason something broke.

  4. 04

    A change went straight to live because that was the theme that was open

    The editing surface and the storefront customers are looking at are the same thing by default. Nothing warns you, and the work that happens at 11pm is exactly the work that forgets to check.

  5. 05

    Nobody can say what changed, or when

    The store behaves differently than it did last month and there is no record of a single edit. Every diagnosis starts with archaeology, which is why a two-minute fix turns into a day.

  6. 06

    The AI edit was confident and the result was wrong

    Asking an assistant for Liquid gets code that looks right and often is. The failure mode is the one where it is wrong in a way that still renders, so the page loads, the price or the variant logic is quietly off, and nobody notices until an order looks strange.

If one of these is your store, the work is well defined and usually smaller than it feels.

Broken right now

Three things to do before you call anyone. They cost nothing, take minutes, and they are what makes the recovery cheap. Do them in this order.

  1. 01

    Stop editing

    Every save writes another Timeline entry and pushes the last good version further down the list. If you are mid-panic and trying things, you are making the recovery harder, not closer.

  2. 02

    Duplicate the live theme before you touch anything

    This costs nothing and takes seconds, and it preserves the current broken state. That matters: sometimes the broken version is the only place a change you still need exists.

  3. 03

    Restore the one file you changed, from its Timeline

    In the code editor, open the file you edited, find the entry from before your change, and restore it. Copy the current contents out first, because restoring replaces the whole file. If you cannot tell which file changed, that is the point at which guessing gets expensive.

Then send it to us. Triage is free, and if the fix is something you can do yourself in ten minutes, that is what the reply says.

Four things, and then you can edit freely

None of this slows a store down. The point is the opposite: when every change is reversible, you stop being careful about the wrong things.

01

The theme lives in a repository, not only in the admin

Shopify's GitHub integration connects a theme to a branch, so every edit becomes a commit with an author, a timestamp and a diff. Rolling back stops being an archaeology project and becomes reverting a commit. It also means two people can work without silently overwriting each other.

02

Somewhere to break things that is not the storefront

A development theme to work in and a preview link to check, so the live theme is never the editing surface. The Shopify CLI pulls the live theme down and pushes a tested one up, which turns publishing into a deliberate act rather than a side effect of having a tab open.

03

Exports that happen on a schedule, not on a good intention

Products, customers, orders and the theme itself pulled out on a cadence and kept somewhere that is not the store. The test of a backup is not that it exists, it is that somebody has restored from it once and knows how long that takes.

04

One rule about what gets read before it goes live

Not a process document. One rule: anything touching checkout, cart, price display, inventory or a third-party script gets read by a person before it publishes. Everything else can ship freely, which is what keeps the rule from being ignored.

How the work runs

Four stages. You can stop after the first two, and plenty of stores do: getting it serving again is a complete piece of work on its own.

  1. 01

    Triage

    What changed, when, and which file. If the storefront is down this is the only thing that matters, and it is usually answered in minutes rather than hours once somebody is reading the theme rather than guessing at it.

  2. 02

    Get it serving

    A file restore, a republish of a known-good theme, or a targeted fix. Boring beats clever here: the goal is a storefront taking orders, not a refactor, and we tell you which one we did.

  3. 03

    Put it under control

    The live theme captured exactly as it runs, pushed into a repository, a development theme and preview set up, and exports scheduled. This is the part that stops the same evening happening twice.

  4. 04

    Hand it over

    A written note of what broke, what we changed and how to roll back next time, plus the repository and every account in your name. You should be able to carry on without us, and you should be able to hand this to any other developer.

What you end up with

All of it in your name. If you stop working with us the next person picks this up from the repository and the written record, not from a conversation with us.

  • The live theme captured in a Git repository, exactly as it currently runs
  • A development theme and a preview link, so the storefront is never the editing surface
  • Shopify CLI set up so a tested theme can be pushed and the live one pulled back down
  • Scheduled exports of products, customers and orders, kept somewhere that is not the store
  • A written record of what was broken, what changed, and how to revert it
  • Every repository, account and credential in your name, not ours

Who does the work

The same engineers who run products at scale, which is why the answer to a broken storefront is a restore and a repository rather than a rebuild. A sample of what is in production:

1.7M
bookings processed through one platform we built
$812M
of booking value running through it
5M+
customer conversations handled by another
150+
people a day working inside a third

Backups, rollback, and letting AI near the theme

Not in the way most merchants picture it. What Shopify documents for merchants is a per-file Timeline in the theme code editor, the ability to duplicate a theme before you make large changes, and CSV export for products, customers and orders. None of those is an automatic rollback you can reach for after a bad day. There is no button that puts your storefront back the way it was on a given date, so the copy you will need later has to be something you created on purpose, before you needed it.

Usually yes, for a file you edited. The code editor keeps a Timeline of earlier versions of each changed file, and restoring an entry puts that version back. Two things catch people out. Restoring replaces the whole file, so copy the current contents somewhere before you do it, or you will trade one lost version for another. And files in the theme's assets folder, which is where images, stylesheets, scripts and fonts live, have no Timeline at all, so overwriting one of those is permanent.

Not from the editor's history, which only holds versions of files that still exist. Your realistic options are a duplicate of the theme from before the deletion, a copy held outside Shopify such as a repository or a CLI export, or the original file from a fresh copy of the same theme and version if it was a stock file you had not customised. If none of those exist, the file has to be rebuilt from what the rest of the theme expects of it, which is work but is usually possible.

It is reasonable, and it changes what your safety net has to cover. Generated Liquid is often correct and is fast enough that people make far more changes than they used to, which raises the odds that one of them lands somewhere consequential. The failure that costs money is not the one that breaks the page, because you see that immediately. It is the change that still renders while the price, the variant, the discount or the inventory logic is quietly wrong. The practical answer is to keep generating, and to make sure every change is a diff you can read and revert, and that anything touching checkout or price display is read by a person first.

Shopify's GitHub integration connects a theme in your store to a branch in a repository, so changes sync and every edit carries an author and a diff. The Shopify CLI covers the rest: pulling the live theme down into the repository, running a local preview, and pushing a tested version back up. The setup is not large. What takes judgement is the first pull, because a theme that has been hand-edited in the admin for years has to be captured exactly as it currently runs before anything is allowed to overwrite it.

First we find out what changed and get the storefront back to a working state, which is normally a file restore or republishing a known-good theme rather than anything clever. Then we tell you what caused it, in writing. Then, if you want it, we put the storefront behind a repository and a preview theme so the same evening cannot happen twice. The first part is the urgent part and we treat it that way. You keep ownership of the store, the code and every account throughout, and we only ask for the access the work needs.

Tell us what your store is doing

Two things to type and two to tap. An engineer reads it, not a sales team.

  • Free, and the written findings are yours either way
  • Say the store is down and it goes to the top of the pile
  • No call unless you want one
  • NDA signed before you send us access
Is the store down right now?
Which of these is closest?

No call required. We reply by email, and we will sign an NDA before you send us access.

Make the next bad edit boring

A written read of your storefront, what is wrong with it, and what it takes to make every change reversible. Finding out costs nothing.