Re: issue in product liquid code

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
416 62 62

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

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps

JasmeetVT14313
Shopify Partner
292 63 77

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

- VTN Customer Dashboard enhances your customer's dashboard with advanced features, profile management, and order tracking. Free trial available.
- Feel free to contact me at jasmeet.kaur@vtnetzwelt.com