Show this when. Show that otherwise. is how Liquid picks the branch.
{% if some.value %}
<p>some.value is truthy, render this branch.</p>
{% elsif other.value %}
<p>Checked only when the first was false.</p>
{% else %}
<p>Fallback when none matched.</p>
{% endif %}
{% elsif %} adds extra branches between the if and the else. Each is tested in order; the first match wins. You'll lean on it for multi-way choices like time-of-day greetings.
{% if x %} evaluates x directly. Skip the == true and != nil checks AI tools love. But know the trap: in Liquid, only nil and false are falsy. An empty string passes a bare if. When you mean “this string has content”, compare against blank: {% if product.description != blank %} is false for nil and for empty or whitespace-only strings.
For substring or array membership, use contains, not .includes(). product.title contains "Yirgacheffe" reads like a sentence; that's the point.
Three tries below: truthiness, else branch, contains.