mistakenly erased sections/product-template.liquid

mistakenly erased sections/product-template.liquid

bododbilly
Visitor
1 0 0

hi everyone ive erased the whole  sections/product-template.liquid trying to add a snipet code for reviews and when ive put the code in the wrong place ive selected and deleted but ive actually deleted the whole section is there anyway to recover as i cant add any products to the store at this point,please help

Reply 1 (1)

BStubbs
Shopify Partner
137 16 62

@bododbilly welcome to the Community Forums

Sorry your first visit is in a moment of panic!

If you are using a Shopify theme from the free themes, rename your current theme as something like 'Main theme', then from the Free themes install a new version of the theme you installed before.

Next, go to the new theme you just installed and copy the code from the product-template.liquid file. Now go back to your Main theme and find the `sections` section. Click Add New and name it product-template.liquid.

Now paste the code you copied from the new version and click save! Now you are done and should be back up and running!

I hope this helps, leave a comment if you get stuck!

 

Was this helpful? Press like!
Did it fix the problem? Mark it as the solution for others!
Buy me a beer? Well, sure!