Did you break your store by messing around with the theme code? It happens to everyone. Here's what you should do next to get your theme fixed and your store back to normal.
🔗 LINKS
Heycarson (Developers with quick turnaround): https://www.heycarson.com/?ref=6ee858...
Theme Updater App (auto backup your theme): https://partners.pixelunion.net/log8j...
Rewind App (auto backup entire store): https://apps.shopify.com/backup
Key points:
1. Duplicate Your Theme: It's best practice to duplicate your theme before editing code so that you have a backup in case anything goes wrong. Tip: If something does go wrong, don't publish the backup, rather just copy & paste the code from the backup over the file you changed.
2. Find Changed Files: Look for files marked with a dot in the sidebar (ignore JSON files) to find the changed files.
3. Syntax Errors: Carefully check the code for simple syntax errors like unclosed Liquid or HTML tags. This is the most common issue.
4. Recent Changes Dropdown: Usually you will have the recent changes dropdown that you can restore from. However, this is not always the case if you are working on a copy that already had the errors you are trying to fix.
5. Comparing Changes: Compare the changes you’ve made using diffchecker to see all the changes you've ever made to a file. Go through each added line carefully.
6. Replacing Files: Grab a copy of the theme with the same version. For free themes find this on github. For premium themes, contact support for help.
7. Professional Help: If you need quick help, services like HeyCarson offer fast developer support.
8. Future Precautions: Backup your files before working on them and consider using an app like the Theme Updater App or Rewind for automatic backups and easy restoration.
👉 RELATED
Shopify Coding 101: • Shopify Coding 101 for Store Owners &...
📢 STAY UPDATED
Subscribe to my newsletter: https://ed.codes/newsletter
Youtube won’t always show you my latest videos, subscribe to be notified and see other content that I don't post on Youtube.
🙏 SUPPORT THE CHANNEL
Buy me a coffee - https://www.buymeacoffee.com/edcodes
🛠 CODE SHOP
https://ed.codes/shop
Pre-built sections & features for Shopify 2.0 themes, often replacing the need for apps. Copy and paste the code into your theme.
👍 MY FAVOURITE APPS & THEMES
All listed on my website - https://ed.codes/tools
📚 MY SHOPIFY CODING EBOOK
https://ed.codes/shopify-coding-handbook
Learn HTML, CSS and Shopify Liquid from the beginning and specifically for Shopify.
👨🏼💻 WHO AM I?
Hey! My name is Eduard.
I teach the tech side of starting and running a Shopify store.
I'm a professional web developer, but my goal is to make Shopify easy with simple and straight-to-the-point videos.
Visit my website: https://ed.codes
Join "Shopify DIY" on Discord
Chat with me and other store owners and developers:
https://ed.codes/community
⏭ CHAPTERS
00:00 Intro
01:02 See changed files
02:51 Go back to original
03:55 Using recent changes (version history)
05:27 Find edited lines of code
08:24 No recent changes history?
10:11 Restore from a fresh copy of your theme
11:33 Where to redownload your theme in the correct version
13:03 Get professional help
13:38 Tips for backing up & restoring
14:37 Like & subscribe!
#Shopify #ShopifyThemes #ShopifyCoding