Store Owner Tips

Subscribe to our newsletter

Weekly ecommerce tips, deals & news.

Thank You, we'll be in touch soon.

Latest News

Feed Rule

A feed rule is an IF/THEN instruction that changes product data on its way into a sales channel feed. Your store data stays exactly as it is. Instead the rule rewrites a title, adjusts a price or fills a blank field. So one bad attribute gets fixed without touching 400 products.


Key Takeaways

  • It changes the feed, not your store: Rules run on the way out. Consequently your product pages are untouched.
  • The shape is IF/THEN: A condition picks the products, then an action changes a field.
  • It fixes what you cannot fix at source: Channel-specific title formats and character limits are the usual cases.
  • Rules fail silently: Still, a rule matching nothing simply does nothing and reports no error.

How Does A Feed Rule Work?

A feed rule works by testing each product against a condition, then changing a field when that condition matches. First the feed is built from your store. Then the rules run over it before the file is sent.

The IF/THEN shape

Every rule has three parts: a condition, a field and an action. AdTribes describes the same structure in its guide to product feed rules. Its rules change data on products already sitting in the feed.

So a rule might read: if category is Power Tools, then append the voltage to the title. In short, the condition selects and the action rewrites.

Also, rules run in order. A later rule can overwrite an earlier one, which causes most of the results nobody expected.

What the actions can do

The action is the half that changes something. Five kinds cover almost everything stores need.

  • Set value: Force a field to a fixed value you type in.
  • Find and replace: Swap text inside a field, handy for units and brand spellings.
  • Math: Multiply, divide, add or subtract on price, sale price or quantity.
  • Copy a field: Fill one attribute from the value held in another.
  • Exclude an attribute: Remove a single field for the products that match.

Still, that last one matters more than it sounds. Sending a blank attribute and sending no attribute are different things to a channel.

The problems rules actually solve

Rules exist because channel requirements and store data rarely line up. Each of these is a mismatch you cannot fix in your product editor.

  • Length limits: A long store title gets cut mid-phrase in shopping results.
  • Channel-specific wording: One channel wants the size in the title, another does not.
  • Missing values: Fill a blank brand or condition field with a sensible default.
  • Price adjustments: Feed a channel price above your store price to cover its fee.

Yet none of those are data errors. They are formatting differences, which is exactly what a rule is for.

Where in the pipeline rules run

It helps to know exactly when a rule fires. The sequence is fixed, and every step happens before the channel sees anything.

  • Your store data: The products as you actually maintain them.
  • Mapping: Store fields get assigned to channel attributes.
  • Rules: Values are rewritten, filled or removed.
  • The output file: An XML product feed or a spreadsheet, generated on a schedule.
  • The channel: Google Merchant Center or another destination validates it.

So a rule can only work with what mapping already put there. A field nobody mapped has nothing for a rule to change.

Where rules go wrong

A rule that matches nothing is the quiet failure. So nothing breaks, nothing errors, and the feed ships unchanged.

Also, two rules can fight each other. A find-and-replace running after a set-value quietly undoes the set-value on that field.

Therefore change one rule at a time and re-read the output file. In practice reading the generated feed beats trusting the rule list.

Rules are also not feed mapping. Mapping decides which store field fills which channel attribute, while a rule changes the value afterwards. So a mapping problem never gets solved by adding rules.

What Do The Numbers Say About Feed Rules?

Channel limits are published, which is what makes rules mechanical rather than guesswork. Google’s product data specification caps a title at 1-150 characters, and notes shoppers usually read only the first 70.

Descriptions get far more room. The same specification allows 1-5,000 characters. Still, it advises putting the important detail in the first 160 to 500.

Also, feed tooling is widespread on WooCommerce. AdTribes Product Feed PRO, our own feed plugin, reports 80,000+ active installations.

Still, no benchmark exists for how many rules a store should run. In practice the right number is however few it takes to pass the channel’s checks.


What Does A Feed Rule Look Like In Practice?

Here’s a hypothetical example. So picture a hardware store with 1,200 products and titles written for its own website.

The titles that got truncated

Usually store titles run long, opening with the range name and ending with what is in the box. That reads well on a product page.

In shopping results the title gets cut mid-phrase. Consequently the words that would win the click never appear. Meanwhile nobody notices, because the feed is accepted without an error.

After one rule

So they add a single rule. If the category is Power Tools, set the title from brand, then product type, then voltage.

First the rule rebuilds 340 titles. Then those products start showing a readable title in results.

No product page changed at all. Instead the store data stayed put while the feed carried a different version of it.

The rule that fought another rule

Also, an older rule appended a shipping promise to every title. So the new clean titles picked up that suffix again and ran long.

Nobody spotted it for a week, because nothing errored anywhere. Therefore they started reading the output file after every change. Even so, the week of truncated titles was already spent.


What’s The Difference Between A Feed Rule And Editing The Product?

What you’re comparingFeed ruleEditing the product
What changesThe feed output onlyYour store data
Who sees the changeThe channelYour own shoppers too
ScopeEvery matching product at onceOne product, or a bulk edit
ReversibleYes, delete the ruleOnly if you kept a backup
Best forChannel-specific formattingData that is genuinely wrong

In practice the test is simple enough. If the data is wrong for everyone, fix the product. If it is only wrong for one channel, write a rule.

Also, rules can hide a real data problem. A rule filling a blank brand field keeps the feed valid while your product pages stay incomplete. So check which of the two you are actually doing.

Broader feed optimization is the discipline rules serve. They are the mechanism, not the strategy.


What Are The Pros And Cons Of Feed Rules?

The pros

  • One change, many products: A rule fixes 300 listings without a bulk edit.
  • Channel-specific without duplication: Each channel gets its own formatting from one catalog.
  • Nothing is destroyed: Delete the rule and the original value comes back.

The cons

  • Silent when wrong: A rule that matches nothing reports nothing.
  • Order-dependent: Later rules overwrite earlier ones without warning.
  • It can mask bad data: Filling gaps in the feed leaves your store data still wrong.

Frequently Asked Questions

Do feed rules change my product pages?

No. A rule runs while the feed is being built, so it only changes the file sent to the channel. Your product pages, and what your own shoppers see, stay exactly as they were.

Why isn’t my feed rule doing anything?

Usually the condition matches no products. Check that the field you are testing really holds the value you expect, including capital letters and spacing. A later rule overwriting the same field is the other common cause.

Should I use a rule or fix the product data?

Fix the product when the data is genuinely wrong. Use a rule when the data suits your store but not one channel. Channel-specific title formats are the clearest case for a rule.


Why Do Feed Rules Matter?

Feed rules matter because every channel wants your catalog described its own way. Without them you either maintain a second copy of your data or accept whatever the channel makes of the first.

So a rule is how one catalog serves several channels at once. Meanwhile your product pages carry on being written for people rather than for a spec. That is the practical basis of multichannel selling from a single store.

Share article

Subscribe to our newsletter

Weekly ecommerce tips, deals & news.

Nice – You're in!

Copyright © StoreOwnerTips.com. All Rights Reserved.