Logic Engine
Introduction
The Logic Engine is the most powerful tool in Catalog Workbench: it lets you build rule chains that find products meeting conditions you set and apply changes to them in bulk — conditional, multi-step edits across your whole catalogue. This reference explains every token, field, comparator and action in plain English, with examples from simple to advanced. It opens from the Logic tab of Batch Utilities.

What it's for

Where the other Batch Utilities tabs apply one operation to a selection, the Logic Engine lets you say "for every product where X, do Y (and then Z)". A single chain can hold several conditions and several actions, so you can express rules like "for products under R100 with empty SKUs, raise the price 10% and set them to draft".

The Logic tab at a glance

The Logic Engine lives as the Logic tab inside the Batch Utilities window. From top to bottom it is a Batch Size control and a stack of panels: Saved Chains, Target (the Parent Product / Variations / Both toggle), Build Rule (the token palette), Current Rule, Rule Chain, and Save & Apply.

Logic tab (inside Batch Utilities)
Collapse
PRO
Product Editor
Sale Manager
Categories
Brands
Tags
Coupons
Attributes
Attribute Editor
Templates
Bulk Attribute Editor
Bulk Attribute Remove
Filters
Filter Editor
Filter Widgets
Widget Styles
Export
Import
Settings
Documentation
CategoriesSearch name, SKU or ID…×SPBTFilter SetsRows 50ColumnsBatch Utilities+ Add New Product
All (1,284)|Published (1,197)|Draft (87)|Bin (0)
SKU ▲▼Product Name ▲▼Product IDProduct TypeSlugImageGalleryCategoriesRegular Price ▲▼Sale PriceStock Status ▾Stock
CW-TS-001
Classic Crew T-Shirt
Edit ↗ | Duplicate | Draft ✎ | Delete
A
1201 Simpleclassic-crew-t-shirt 3 imgsT-Shirts Edit$19.00$In Stock64
CW-TS-002
V-Neck T-Shirt
Edit ↗ | Duplicate | Draft ✎ | Delete
AV
1202 Variablev-neck-t-shirt 2 imgsT-Shirts Edit$19.00 – $22.00—3 / 3 in stock—
CW-SH-010
Oxford Shirt
Edit ↗ | Duplicate | Draft ✎ | Delete
A
1210 Simpleoxford-shirt SetShirts Edit$39.00$32.00In Stock28
CW-KN-020
Merino Crew Sweater
Edit ↗ | Duplicate | Draft ✎ | Delete
AV
1220 Variablemerino-crew-sweater 4 imgsKnitwear Edit$59.00—6 / 6 in stock—
CW-KN-021
Cable Knit Cardigan
Edit ↗ | Duplicate | Draft ✎ | Delete
A
1221 Simplecable-knit-cardigan SetKnitwear Edit$69.00$Low stock3
CW-OW-030
Rain Jacket
Edit ↗ | Duplicate | Draft ✎ | Delete
A
1230 Simplerain-jacket 2 imgsOuterwear Edit$89.00$In Stock17
CW-OW-031
Wool Overcoat
Edit ↗ | Duplicate | Draft ✎ | Delete
A
1231 Simplewool-overcoat SetOuterwear Edit$149.00$Out of Stock0
CW-BT-040
Slim Fit Jeans
Edit ↗ | Duplicate | Draft ✎ | Delete
AV
1240 Variableslim-fit-jeans 3 imgsJeans & Trousers Edit$49.00—9 / 9 in stock—
CW-BT-041
Chino Shorts — Draft
Edit ↗ | Duplicate | Publish ✓ | Delete
A
1241 Simplechino-shorts SetShorts Edit$29.00$In Stock40
Save Changes
«‹1of 26›»
Showing 1 to 50 of 1,284 products
Delete Selected
Batch Utilities
Search operations…×
Selected Items 3
Merino Crew Sweater×
Cable Knit Cardigan×
Wool Scarf×
Pricing & StockShipping & TaxAttributesTaxonomyCustom FieldsContentImagesStatusDeleteLogicUndo
Batch size50
— Load a saved chain —LoadDeleteNewTargetParent ProductVariationsBoth
Build Rule
Logical OperatorsANDOR
ConditionIF
ComparatorsCONTAINSNOT CONTAINS=≠><≥≤STARTS WITHENDS WITHIS EMPTYIS NOT EMPTY
ActionsSETAPPENDPREPENDREPLACEREMOVECLEARINCREASE BYDECREASE BYINC BY %DEC BY %MULTIPLY BYDIVIDE BYROUNDCAP ATFLOOR ATADD TOREMOVE FROM
Fields / ValuesMETA FIELDVALUE INPUTTOFROMWITHALL VARIANTS
Current Rule
⋮ IF ×⋮ Stock Status: outofstock ×
+ Add Rule to ChainClear
Rule Chain
⋮⋮ 1IFStock Status: outofstock↑↓EditDelete
⋮⋮ 2SETVisibility: hidden↑↓EditDelete
⋮⋮ 3SETStatus: draft↑↓EditDelete
Save & Apply
Hide out-of-stock productsSave ChainApply to 3 SelectedApply to All Products

You build a rule by clicking palette tokens (they appear in Current Rule), press + Add Rule to Chain to drop it into the Rule Chain, repeat for each rule, then apply to your selection or all products.

Before you start — three cautions

CautionWhy
Attribute renames are reversible — but cascade widelyA normal apply (to selected or all products) is recorded in the Undo log and can be reversed from the Undo tab. The attribute-only Apply Changes mode, which renames global attributes/terms, is also recorded and can be reversed — but each rename affects every product using that term, so test on a small selection or staging first.
Always test on a small selection firstApply a new chain to a handful of selected products and check the result before running it on all products.
Chains run top to bottom through every ruleOrder matters — a later action sees the value a earlier action already changed.
⚠
Undo covers product changes — but still back up before big runsA normal apply snapshots the fields it touches to the Undo log first, so you can Restore it from the Undo tab. Undo only covers the fields the chain changed. The attribute-only Apply Changes mode is also recorded and reversible, but its renames cascade across every product using the term. Test on a small selection, and keep a site backup before applying a chain to your whole catalogue.