IF a == true OR b == true statement January 26, 2023 by Tarik check this Twig Reference. You can do it that simple: {% if (a or b) %} ... {% endif %}