OR condition in dinamic collection

OR condition in dinamic collection

boxeshop
Visitor
2 0 0

to aggregate products to a collection it is possible to insert 2 words instead of just one in the "CONTAINS" type conditions or create an OR type condition, at the moment they are all of the AND type

Replies 2 (2)

StevenDunneDev
Shopify Partner
57 14 10

If I understand what you're asking correctly, yes it's possible to put two words but when matching that condition it will look for the string exactly as written.
For example you could put CONTAINS "Red Car". It would then match a product called "Big Red Car" but it wouldn't match a product called "Red Fast Car".

You could use the AND operator and look for "red" and "car" seperately

If my answer has been helpful to you, please give it a like and accepted solution. I greatly appreciate it 🙂

If you'd like to hire me to solve bigger problems for you, please reach out. I'd love to hear from you
boxeshop
Visitor
2 0 0

Thanks for the reply

in reality I find myself in the position of aggregating products in a single collection but from two different suppliers. I would like to be able to set the following two rules

supplier equals Bunny OR supplier equals BipBip

unfortunately this is not possible and it is a serious shortcoming in my opinion