Documentation
ShopFeed
Rules Engine

Rules Engine

Navigate to WooCommerce → ShopFeed → Rules.

Build IF/THEN rules per feed - for example: "if category is Clearance AND price < $10 → exclude", "if stock quantity < 5 → set custom label to 'Low Stock'", or "if title contains 'Refurb' → set condition to refurbished".

Rules run against the feed output only. Your actual product data - price, title, stock - is never modified in the store.

Rule Structure

Each rule has:

PartDescription
NameA label for your own reference, e.g. "Exclude clearance under $5"
EnabledToggle the rule on/off without deleting it
Applies toWhich channels this rule runs against
PriorityRules run in priority order, lowest first; a later rule can override an earlier rule's change
MatchALL conditions (AND) or ANY condition (OR)
ConditionsZero or more field/operator/value comparisons - no conditions means the rule always applies
ActionThe single transformation applied when the conditions match

Condition Fields

FieldType
TitleText
DescriptionText
SKUText
BrandText
Product Type (category path)Text
Regular PriceNumber
Price NumericNumber
Stock QuantityNumber
AvailabilityText (in stock / out of stock)

Operators

Equals, Does not equal, Contains, Does not contain, Starts with, Ends with, Greater than, Less than, Is empty, Is not empty.

Actions

ActionDescription
Exclude item from feedRemoves the product from this feed entirely
Set title toReplaces the title
Prepend / append to titleAdds text before/after the existing title
Find & replace in title / descriptionText substitution
Set description toReplaces the description
Set brand toOverrides brand for the feed
Set Google product category toOverrides the Google category mapping
Set availability toOverrides availability
Set custom labelSets a custom label slot (0-4)
Set price to (fixed amount)Overrides price
Adjust price by percentageIncreases/decreases price by %
Adjust price by fixed amountIncreases/decreases price by a flat amount

Preview Changes

Open the Rules tab

Go to WooCommerce → ShopFeed → Rules.

Choose a channel and sample size

Pick which channel to preview against, and a sample of 10, 25, or 50 real products.

Click Preview Changes

See a before/after table with a changed/excluded/unchanged summary for the sample - nothing is written until you click Save Settings.

The preview always uses your store's default language and currency, even if multi-language/multi-currency is enabled - it doesn't currently preview a specific variant. For variable products, only the first variation is sampled; the live feed itself still expands every variation.