Skip to content

Rules

Conditional "if this, then that" rules — when they are evaluated and in what order.

Available to roles Admin, EditorOpen in the app (Opens in a new tab)
On this page

A rule is one sentence: if the condition holds, perform the action. Instead of hiding zero-priced products by hand after every import, you write it down once and the system does it.

Conditional rules: a table of priority, condition, action and an enabled toggle
Fig. 1 Conditional rules. The priority on the left decides the order — a higher number runs first.

Controls on this screen

  1. Create ruleOpens the condition-and-action editor.
  2. The note about orderRules run by priority — the screen says so outright, because it is the one thing here that can go wrong silently.
  3. PriorityA higher number runs first. Two rules over the same field are settled by exactly this.
  4. Name and descriptionName a rule after what it does. A year from now this is the only clue.
  5. ConditionWhat must hold for the action to run. The brand equals Crussis, say.
  6. ActionWhat happens — adding a tag, changing a status, setting availability.
  7. Enabled toggleA disabled rule stays written down but does not run. Safer than deleting.
  8. Row menuEdit, duplicate and delete the rule.

What a rule is made of

PartExampleNote
Conditionbrand equals "Crussis"Compares a product field with a value. Several conditions can be combined.
ActionAdd Tag = "sale"What happens to the product when the condition holds.
Priority90, 80, 70…A higher number runs first. Gaps of ten leave room to insert a rule between two others.
StateEnabled / disabledDisabling is how you take a rule out of service without losing what it says.

When rules run

Rules are not a standing condition that holds continuously — they are steps somebody has to run. They execute:

  • as a step in a product flow after an import,
  • when a flow is run by hand over a chosen set of products.
I created a rule and nothing happened.

A rule runs inside a flow. Check that it is part of one, and that the flow has run over the products in question.

Can I undo what a rule changed?

Individual changes yes, through Changes to review. But while the rule is enabled the next run makes the change again — disable the rule first.

How many rules are too many?

There is no technical limit. Practically: when you can no longer say which rule sets which field, it is too many. Descriptive names and priority gaps of ten help.