How can I fix a Liquid error in Debut Theme's Product Template?

Please can anyone show me how to correct this error message " Attempting to close HtmlElement ‘div’ before LiquidTag ‘if’ was closed. It’s Debut Theme.

It’s in Product-template.liquid

Add {% endif %} in the file

Hi, where would it go please?

{% if product.available %}
{% form ‘product’, product, class:form_classes, novalidate: ‘novalidate’ %}
{% unless product.has_only_default_variant %}
{% for option in product.options_with_values %}

{{ option.name }}
{% endfor %} {% endunless %}

{% if section.settings.show_quantity_selector %}

{{ 'products.product.quantity' | t }}
{% endif %}
{% unless current_variant.available %} {{ 'products.product.sold_out' | t }} {% else %} {{ 'products.product.add_to_cart' | t }} {% endunless %} {% if section.settings.enable_payment_button %} {{ form | payment_button }} {% endif %}
{% endform %}

Try removing the line 193

Thank you, that worked!

Hi Miguel,

Facing some theme issue,I am not able to find out the issue.

But i have checked in Featured collection.liquid page. It seems some code error.

Could you please help me on this.

Here is my site link for your reference.

https://www.homedecorbox.com/