Hi there, Im new to conditional statements.
I have 3 simple tabs
My issue is as follows.
I wish to make the next tab ‘active’ if the first (Overview) tab is empty
here is my code
-
{% if product.metafields.overview.info !=blank %}
- Overview {% endif %} {% if product.metafields.features.detail !=blank %}
- Features {% endif %} {% if product.metafields.size.guide !=blank %}
- Size Guide {% endif %}
