# Use elsif Instead of Multiple if Blocks

Mutually exclusive conditions should use `elsif` to short-circuit evaluation. Order by most likely condition first.

```liquid
{% comment %} BAD: evaluates all conditions {% endcomment %}
{% if product.price < 25 %}
  <span>Budget</span>
{% endif %}
{% if product.price >= 25 and product.price < 100 %}
  <span>Standard</span>
{% endif %}
{% if product.price >= 100 %}
  <span>Premium</span>
{% endif %}

{% comment %} GOOD: stops at first match {% endcomment %}
{% if product.price < 25 %}
  <span>Budget</span>
{% elsif product.price < 100 %}
  <span>Standard</span>
{% else %}
  <span>Premium</span>
{% endif %}
```
