OR condition in dinamic collection

Topic summary

A user seeks to create dynamic collections in Shopify using OR conditions instead of the current AND-only logic. Their specific use case involves aggregating products from two different suppliers (“Bunny” OR “BipBip”) into a single collection.

A developer clarifies that while multiple words can be included in CONTAINS conditions, they must match exactly as written. For example, “Red Car” matches “Big Red Car” but not “Red Fast Car.” Using AND operators to search separately doesn’t solve the OR requirement.

The original poster confirms this limitation prevents their desired supplier-based filtering. Another user agrees this is a significant shortcoming and suggests Shopify should add conditional statement support to Smart Collections.

Status: The discussion remains open with no solution—users are requesting a feature enhancement from Shopify.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

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

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

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

1 Like

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