Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
I accidentally deleted a piece of code in the theme, so the theme is corrupted, now how do I restore that theme as it was?
Hi there, if you have some idea on what kind of codes you deleted, you can fresh install the theme in another test store, view the codes there and copy paste those codes.
If you need extra help, please inbox me.
Hello,
If you know the file, where you deleted a part of code, you can try to restore it with backup file.
Choose "Edit Code" on your theme, search the file where your code was deleted-> open it and choose the previous version. Little presentation bellow:
1.
2.
3.
I hope it will help you.