how to create a collection with OR condition

Topic summary

Creating a Shopify collection using an OR condition for product tags (e.g., tag = a or tag = b) to build a “Red Shoes” collection.

Solution: use an Automated Collection with “Match any condition” (OR logic). Add multiple conditions so a product qualifies if it has either tag.

  • Product Tag > Is equal to > a
  • Product Tag > Is equal to > b

Key terms: “Automated collection” = a collection that updates based on rules; “Match any condition” = OR logic across conditions; “Is equal to” requires an exact tag match.

Outcome: A clear, actionable setup was provided. A screenshot illustrates the condition configuration. No disputes or alternative approaches were raised, and the guidance likely resolves the request.

Summarized with AI on January 31. AI used: gpt-5.

I need collections based on OR condition.

if tag=a or tag=b then my collection is red shoes

How can I do this?

thanks !

1 Like

Hi @DonKeyKing007

I believe this is just an automated collection, called “Red Shoes” which matches “any condition”.

You would then enter multiple conditions where a tag matches exactly, for example:

  1. Product Tag > Is Equal To > Tag 1
  2. Product Tag > Is Equal To > Tag 2

Would match if a product had “Tag 1” or “Tag 2”.

I hope that helps!