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

visheshk
Tourist
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)

BrainStation23
Shopify Partner
304 50 48

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

JasmeetVT14313
Shopify Partner
198 46 54

@visheshk 
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