Hi,
I have an if statement with multiple clauses which keeps giving the wrong output.
(I’ve cut off what comes after as it isn’t that important for this)
The array I’m checking this with only contains one value [Menswear].
However, this first if condition is evaluating as true. My assumption is that it would only be true if the array contained both “Menswear” and “Womenswear”.
This is currently being done within a custom liquid snippet on a product page. Can’t for the life of me understand why the and is being ignored here.
Does anyone have any ideas?
Thanks