Add to cart

Hello! Need your help please. I use craft template and i have deleted the add to cart button. How can i add it again?

  • Go to your Shopify Admin.
  • Navigate to Online Store > Themes.
  • Click on Actions next to the Craft theme and select Edit code.
  • In the Sections or Templates directory, look for a file named product.liquid or a similar file (like product-template.liquid).
  • Open the file to edit it.

Add to Cart

i have deleled the product.liquid . that is my problem. how can i creat it again and where can i find the code? can you please help me more?

If you have a backup of the theme or if the theme was downloaded from the Shopify Theme Store, you can re-download the theme to restore any missing files. Alternatively, if you’re using a third-party theme, the developer may provide the original code.

If i restore the code, any changes like titles, messages, rules etc will get lost?

Yes, the changes of only product.liquid file will lost