deleted theme codes

New Member
1 0 0

i deleted some theme codes on my custom theme which caused my website to not be efficient. i called myself trying to speed up my website speed because it was really low and i ended up deleting a bunch of codes i shouldnt have deleted. i dont know if i went into templates, sections, or snippets and i then erased everything that had the app names which i previously deleted such as hulk app, yotpo, and judge me. is there anyway the codes that i have deleted can be reinstated?

Shopify Partner
270 73 87

If you haven't deleted the file itself, you can navigate to the file name and click on Older versions. Select the original file version and it should restore back all the code.

Screenshot 2021-04-25 at 11.51.51 pm.png


In future, you should always take a backup before making any modifications to the code.

If you found my answer helpful, please LIKE and ACCEPT. ☕
If you're not comfortable with code, please modify code files at your own risk.
Do NOT give out your passwords unless absolutely necessary.
Shopify Partner
961 115 168

Hi @sjb1

Did you delete the file template? If you just remove code on those files. You can back up the base version of the file. You can refer to this link:

But if you deleted those files. You can not back up. So I suggest when you change anything on your site, you should already backup your theme.

Hope this helps.

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!