conditional and/or
Can someone explain to me how to make an if/or condition for shopify. Here’s what I’m trying to accomplish:
{ if template 'cart' or template ‘product’) } ... { endif }
NOTE: My equals/percent signs aren’t being displayed in the forum.
This works if I use one statement or the other, but not both using “or” or ”||”.

03:55PM, Apr 09, 2006
Liquid doesn’t yet have full boolean expressions.
In the meantime i would just use case for this:
{% case template %} {% when 'cart' %} .. {% when 'product' %} .. {% endcase %}