Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hello I accidentally deleted a liquid and whenever I click on my products , this appears : Liquid error: Error in tag 'section' - 'product-template' is not a valid section type. Please help me recover the template
Thanks
-Amina
Hey Amina,
If you know exactly which liquid file you deleted, It can be restored from a back-up. Alternatively, Redownload the theme, and use the liquid file you deleted from the new version.
Thank you I did it and everything is back . I appreciate your help.
The link below will give you the basic idea:
https://help.shopify.com/en/manual/using-themes/managing-themes/updating-themes
If you've bought that theme, you'll be able to add a new copy of it to your store at no cost.
A rough workflow:
Now you should be good to go.
Thanks for the steps but when I try to make a blank file of the liquid i deleted, it says it is invalid.
I deleted the custom-content liquid and when i try make a blank one it says "new section incompatible with current schema value" or something.
can you please help?
me too that's my problem now..help me please
Hi there! I had the same accident, did you find out how to fix it? I would appreciate it. thank you!
User | RANK |
---|---|
12 | |
10 | |
9 | |
9 | |
9 |