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, and then click Actions > Edit code.

  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.

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

Want to discuss this page?

Visit the Shopify Community