Conditions for automated collections

You can add one or more conditions for an automated collection to match products based on many details, including product title or type, tags, price, or even inventory stock.

Set conditions based on product title, variant title, type, or vendor

You can add a condition to include a product in a collection based on the product's title, variant title, type, or vendor. You can select from the options in the second drop-down list to control how a product needs to match the condition value that you enter in the third field. The text that you enter in the third field is compared to your products according to the condition's settings, and matching products are included in the collection. The condition is not case-sensitive.

You can select from the following options to control how a product needs to match the condition value that you enter:

is equal to A product needs to match exactly the whole value you enter.
is not equal to A product can't match the value you enter.
starts with The beginning of the product title, type, or vendor matches the value you enter.
ends with The end of the product title, type, or vendor matches the value you enter.
contains The product title, type, or vendor contains the value you enter.
does not contain The product title, type, or vendor doesn't contain the value you enter.

Example

You can set the following condition to include only the products that have titles that end with the words limited edition:

  1. Select Product title from the first drop-down list.
  2. Select ends with from the second drop-down list.
  3. Enter limited edition:
    Example of 'ends with' condition

With this condition set, products that have the following titles are added automatically to the collection:

  • T-shirt with logo, limited edition
  • Belt with silver buckle - special limited edition
  • 2018 Baseball Cap with Logo, Limited Edition

Products that have the following titles are not included in the collection, because their titles don't end with the specified text string:

  • Limited edition T-shirt
  • Belt with silver buckle - limited edition 2018
  • 2018 Baseball Cap, Limited Ed.

Set conditions based on product tags

You can set a condition to include products with a particular product tag. When a condition uses product tags, you need to enter the exact tag as a condition value.

For example, to set up a condition that selects products tagged with accessories:

  1. Select Product tag from the first drop-down list.
  2. Select is equal to from the second drop-down list.
  3. Enter accessories.

Set conditions based on price, weight, or inventory stock

You can add a condition to include a product in a collection based on its price, compare at price, weight, or inventory. You can set the condition to include products that match its value exactly, or products that are greater or less than its value:

is equal to A product needs to match the exact value.
is not equal to A product can't match the value.
is greater than The product is greater than the value.
is less than The product is less than the value.

For example, to set up a condition that includes products that are priced $100 or less:

  1. Select Product price from the first drop-down list.
  2. Select is less than from the second drop-down list.
  3. Enter $100.01.

Using multiple selection conditions

You can set more than one selection condition to control which products are included in a collection. You can choose whether products must match all the conditions to be included in the collection, or any of the conditions.

For example, suppose that you set the two following conditions for a collection:

  • Product tag is equal to shirt.
  • Price is less than $100.01.

If you select all conditions, then products are included only if they are tagged with shirt and are also priced at $100 or less. Products need to match both conditions to be included in the collection.

If you select any condition, then products are included if they are tagged with shirt or if they are priced at $100 or less. Products need to match only one condition to be included in the collection.

Set multiple conditions to define a range

To include the products with a price, weight, or inventory value within a range, you need to set more than one condition. The low end of the range is defined in one condition, and the high end of the range in another. You need to select all conditions to include only the products that fall within the range.

For example, to set up a collection that includes products priced within a range of $50-$150, you would set up the two following conditions:

  1. Product price is greater than $49.99.
  2. Product price is less than $150.01.

Ready to start selling with Shopify?

Try it free