Why does 'endfor' error appear when saving main-product.liquid file?

10 0 5

when im trying to save the main-product.liquid file its keeps showing this error, im trying to add presale logic to the template

'endfor' is not a valid delimiter for form tags.

Replies 2 (2)

Shopify Partner
332 54 51

Hi @visheshk. Can you share your main-product.liquid file?

Brain Station 23 PLC
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Email: js.team@brainstation-23.com

Shopify Partner
204 48 57

There are multiple possibilities which could be resulting this error.
1> Closing of the tag was not done
2> Closing of the tag was done at wrong place
3> Any other unintentional change.

Can you please provide screenshots/code of the file before and after your changes, so that I can guide you better.

- Helpful? Please hit Like and mark it as a solution
- VTN Power Wishlist ultimate solution for effortless wishlist management. Free plan available
- Feel free to contact me at jasmeet.kaur@vtnetzwelt.com