Try it

Feed rule

Sortyra team · · 3 min read

A feed rule is an instruction that automatically changes selected products at every update – for example adds the brand to the title, rounds a price or hides goods without an image. It consists of a condition (which products it concerns) and an action (what happens to them). You set it up once and it also applies to new products.

What a feed rule is

Imagine that every day you get a price list from a supplier and keep correcting the same mistakes in it. A rule is an instruction for an assistant: "Whenever a new price list arrives, do this with it." The assistant does it without being reminded – a month later too, and for products that have been added in the meantime.

Every rule has two parts:

  • condition – which products it concerns (for example "category contains Tents", "price is lower than €10"),
  • action – what happens to them (change, add, hide, recalculate).
ConditionActionResult
the brand is not in the titleadd the brand at the beginning"Trailo Dome 3" instead of "Dome 3"
the product has no imagehide the productit is not sent to Google
all productsround the price to .90€47.23 → €47.90

Rules are applied one after another. Their order can therefore change the result.

What it is used for

  • Fixing supplier data – typos, wrong units, HTML in a description.
  • Channel requirements – title length, required fields, hiding products that a channel does not accept.
  • Prices – a markup on the purchase price, rounding, currency conversion.
  • Marketing – campaign labels (custom_label), UTM parameters in links.
  • Differences between channels – a different title for Google than for Heureka.

What to watch out for

  • A manual edit in the online shop gets overwritten if the feed goes through an import again. Fix a recurring mistake with a rule, not by hand.
  • A condition that is too broad – "title contains tent" also catches "tent peg".
  • The order of rules – if you round first and add the markup afterwards, the .90 ending is lost.
  • Checking before switching on – look at how many products a rule affects before you save it.

How Sortyra helps

In Rules you build the condition and action from a menu (for example Find and replace, Calculation, Value table, Hide product, Translate) and see a preview of the impact before saving. A rule can apply to one output or to all of them, and can have Active from and Active until dates; ready-made recipes cover common tasks. Manual edits and locked fields take precedence over rules.

Frequently asked questions

What is the difference between a rule and a manual edit?

A manual edit changes one product once. A rule is applied at every update to all products that meet the condition, including new ones.

Do I need to know how to program to use rules?

No. Rules are built from a menu in the form "if … then …", and many tools offer ready-made templates for common tasks.

Will a rule also change the data in my online shop?

A rule changes the feed that is created at the output. The change reaches the online shop only if the shop imports that feed.

Try it on your own feed