Roll back to an older version of your theme

If you've changed theme files and need to revert them, you can roll back .liquid files individually to a time and date before you made the changes.

  1. From your Shopify admin, click Online Store, and then click Themes (or press G W T).

  2. Find the theme you want to edit, click the ... button, and then click Edit HTML/CSS.

  3. Under the Templates header, click into one of the .liquid files you have edited recently.

    Open liquid file
  4. Click Older versions next to the .liquid file name

    Older versions
  5. Click the drop-down menu to select an older version. Clicking a datestamp will roll the code back to that saved version.

    Rollback
  6. (optional) Click Preview and see if the error was fixed.

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free