Help - I need to restore my website to an older version

Topic summary

A user accidentally deleted code while trying to fix non-working product variants on their Debut theme website, then copied code from a fresh theme which caused additional problems:

Current Issues:

  • Product variants still not changing/working (original problem persists)
  • Slideshow has disappeared

Recommended Solution:
Revert to a previous theme version by navigating to: Online Store > Themes > Actions > Edit code > theme.liquid, then click “older versions” to access timestamped backup copies created when code changes were made.

Alternative if reverting fails:
Download a fresh copy of the theme from the theme store or developer and start over (though this means redoing customizations).

Key Prevention Tip:
Always duplicate the theme before making code changes to create a backup.

Follow-up Issues:

  • One user attempted the liquid revert but variants still don’t work, requesting further assistance
  • Another user cannot find the “older versions” option next to theme.liquid (includes screenshot)

The discussion remains open with unresolved technical issues for some participants.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Hello

The variants on my website weren’t working so I tried changing the code by following the advice in support groups. I accidentally deleted a code and saved the theme. I couldn’t remember what the code was so I copied the theme.js code from a new debut theme to my existing theme. This has ruined my website.

  1. The initial problem of the variants not changing still exists

  2. My slideshow has disappeared.

Please help. I don’t know what to do. I built my website myself - www.goodcakeday.com

Hey, @gcd2021

Thanks for reaching out today. I’m happy to offer some advice. There are a couple of different steps that you can take to reverse or get your theme liquid back to the default state. Below I’ll share a couple of those options for you.

In the future, if you plan to make changes to the theme code, always back up your current theme first by creating a duplicate copy. This link will take you to a help document that explains how to do that.

My first suggestion is to look at your theme code and try to revert back to a previous theme version. Head to Online Store > Themes > Actions > Edit code and select the theme liquid. Here you can click on older versions and revert back to previous backed-up copies of your theme that are created and timestamped based on when you made changes to the code.

If this doesn’t work, I would consider downloading a fresh copy of your theme from the theme store or developer and starting fresh. Although this may be a slower fix, especially if you were already making some customizations, it doesn’t cost anything to download a new copy of a theme.

I hope this helps! If there is anything else I can help you with, please let me know.

1 Like

Hi Dirk

Thank you for your email.

I tried the liquid change but now the variants don’t change at all. Could you please help me with that? Please let me know if you need anything from me to help with this.

Thank you.

Chinelo

this saved my day! :sad_but_relieved_face:

Happy to hear, @LTMSHOP !

If there is anything else I can help you with, please let me know.

When I follow these steps, I don’t have the option to click “older versions” next to theme.liquid. What can I do?

Hello it is Ms Marie I need to restore my website please I did creating by 2021

Hello it is Ms Marie I need help please to restore my website creating sense 2021