Targeting rules

Target products with the plain-language rule builder: Match ALL or ANY of attribute, operator, and value conditions, watch a live match count, and schedule when a rule is active.

How targeting works

Each template can carry a targeting rule that decides which products it applies to. The rule builder is a plain-language segment builder: you choose whether to Match ALL or Match ANY of a set of conditions, and each condition is an attribute, an operator, and a value.

An empty group matches every product, which is the always-match default. Add conditions to narrow it down.

The rule builder with a Match ALL group and an attribute, operator, and value row

Attributes you can target

Attributes come from your real product data and are grouped in the picker so a rule can never reference a field Adorn does not derive:

  • Catalog: Product type, Title, SKU, Collection, Tags
  • Pricing: Price, Compare-at price, Discount %, On sale, Sale state
  • Availability: whether a product is in stock, out of stock, preorder, or discontinued
  • Reviews: Review rating, Review count
  • Custom Labels: Custom label 0 through 4
  • Product data: Brand, Google product category
  • Images: Image count, Has image 2 / 3 / 4
  • Context: Market, Currency

Operators

The operators offered depend on the attribute's type. The full set reads in plain language:

  • is, is not (equality)
  • is greater than, is at least, is less than, is at most (for numbers)
  • is one of (membership in a list)
  • contains, doesn't contain (for text and for list fields like Collection or Tags)
  • starts with (for text, and for Google product category this matches a whole subtree)

A closed-set field like Sale state or Availability offers is / is not against a fixed choice. Price and Compare-at price are in cents, so a $49.99 band is entered as 4999.

Example rules

  • On sale is true, to hit every product currently on sale
  • Collection contains Wall Art, to hit any product in that collection
  • Price is at least 4999, to hit a price band
  • Brand is Urban Road, or Google product category starts with Home & Garden > Decor, to hit a whole category subtree

Use Add condition to add another row, and Add group to nest a sub-group, so you can build a Match ALL rule that contains a Match ANY group and so on.

The live match count

As you edit, the builder shows a live count from your real catalog, for example Matches 128 of 3,731, with sample product tiles. That tells you exactly which products a rule will hit before you save it.

Scheduling a rule

The schedule is off by default, so a rule reads as Always active. Turn it on to set an Active after and an Active before window, for example to run a sale design only during the sale. Outside its window the rule is inactive and its products fall through to the next match.