Twig Code Example - If Else

{% if product_stock == 0 %}

<!-- not available html -->   
{% else %}
<!-- available html -->
{% endif %}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.