if else if in twig file opencart

<div class="tags-veg-non">
    {% if product.isbn == 'V' %}
        <div class="tag" title="vegetarians">
          <a href="#"><div class="veg-icon">V</div></a>
            
        </div>{% elseif product.isbn == 'N' %}
    
        <div class="tag" title="non vegetarian">
          <a href="#"><div class="non-veg-icon">N</div></a>
            
        </div>{% endif %}
    
</div>

Leave a Reply