Conditions
Filter by SKU
Target variants by their SKU — exact, contains, or prefix.
The SKU condition matches variants by their stock-keeping unit identifier.
How it works
Click Add condition → SKU and pick an operator.
Operators
| Operator | What it matches |
|---|---|
is |
Variant SKU exactly equals the value |
is not |
Variant SKU does not equal the value |
contains |
Variant SKU contains the substring |
starts with |
Variant SKU begins with the prefix |
ends with |
Variant SKU ends with the suffix |
is one of |
Variant SKU matches any in the list |
Examples
Discount a specific variant
SKU is "TSHIRT-RED-XL"
Discount everything in a SKU family
SKU starts with "TSHIRT-"
Discount specific variants by exact list
SKU is one of "TSHIRT-RED-XL", "TSHIRT-BLUE-XL", "TSHIRT-GREEN-XL"
Workflow tip: use SKU patterns
If your SKUs have a structured pattern (like CATEGORY-COLOR-SIZE), you can use contains and starts with to write a single condition that targets a wide range of variants without listing each one.
For example, if all summer items have SKUs starting with SUM-:
SKU starts with "SUM-"
That one condition covers every summer variant in your catalog.
Notes
- SKUs are case-sensitive in Shopify.
- Variants without a SKU set won't match SKU conditions.
- Changes to SKU values on variants are picked up the next time the rule runs.
Related
Last updated May 3, 2026👁 2 views