OR condition in dinamic collection

OR condition in dinamic collection

boxeshop
Visitor
2 0 1

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 3 (3)

StevenDunneDev
Shopify Partner
60 14 13

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 1

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

usererror84
Shopify Partner
1 0 0

I 100% agree with you on this - It's a serious shortcoming. @Shopify This would be a vast improvement if 'conditional' statements could be added to 'Smart Collection'