Accidentally deleted a liquid template

New Member
2 0 1

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

 

0 Likes
New Member
1 0 1

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. 

1 Like
New Member
2 0 1

Thank you I did it and everything is back . I appreciate your help.

1 Like
New Member
1 0 0
Hi am stuck with the same liquid template. How do you download the new theme please
0 Likes
New Member
2 0 0
Hello ,
Can you please tell me how i can do that in steps?
I know which liquid file i deleted the product liquid file was the name
0 Likes
Highlighted
Shopify Expert
9786 86 1531

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:

 

  1. When installing do not add it as a published version. Make sure it's unpublished.
  2. Find the missing file in the NEW unpublished theme. 
  3. Copy the contents.
  4. Make a blank version of the file that's missing in your published theme
  5. Paste the contents into blank file in your published theme. 
  6. Save

Now you should be good to go.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
New Member
1 0 0

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?

0 Likes