Liquid syntax error: 'schema' tag must not be nested inside other tags

Highlighted
New Member
4 0 0

Reference: https://help.shopify.com/themes/customization/communication/add-product-availability-reminder-form#s...

When I paste the code (step 4) from the above reference link, I get the error: Liquid syntax error: 'schema' tag must not be nested inside other tags.

Any help please? 

Thanks.

 

0 Likes
Highlighted
New Member
2 0 0

Hi,

 

I am experiencing the same error, when:

 

Copy the content of one template into a new one. Rrrrrrrrrr.

I wish I could help. Or find out how to release poor 'schema'

 

I pray a wise one will come this way soon.

 

Peace,

 

Jeannie

0 Likes
Highlighted
New Member
4 0 0

this is the code right !

{% if product.available %}
<form action="/cart/add" method="post" enctype="multipart/form-data">

{% endif %}

did you add in </form>
{% if product.available %} <form action="/cart/add" method="post" enctype="multipart/form-data"> </form>
{% endif %}
0 Likes