How to restore deleted index code in liquid themes?

How to restore deleted index code in liquid themes?

Avni25
New Member
4 0 0

 I accidentally deleted the index code from the liquid themes and now I cannot roll it back. Can someone please help.

Reply 1 (1)

Dynasort
Shopify Partner
56 5 14

Do you know what theme you are using? You may be able to reinstall a free theme from shopify, and copy the code for the index file over from the new one. If you're using a purchased theme, you may have to contact the theme developer.

The Dynasort App

Dynamic collection sorting based on your product attributes. https://apps.shopify.com/dynasort