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