Your safety is important to us. If you notice any suspicious emails that appear to come from Shopify, please forward them to Visit the Help Center page on phishing for more information.

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. Find the theme you want to edit, click Actions, and then click Edit HTML/CSS.

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

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

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

  5. (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