Supplier catalogs

How to keep only selected vendors in a YML feed

2026-06-29
Task

The supplier sent one shared YML feed, but the import needs only two vendors: Acme Lighting and Northline.

Short answer

Add an export condition to offer: vendor must match ^(Acme Lighting|Northline)$ (matches a value that is exactly Acme Lighting or Northline).

How to do it in Eofferix

  1. In the XML/YML snapshot, select the repeated offer node.

  2. Open the node settings.

    Opening offer settings
    The animation shows opening settings for the repeated product node.
  3. Add an export condition for vendor: vendor ^(Acme Lighting|Northline)$.

    Export condition
    The condition is applied to the whole item.

Before / after

Before

source data
<yml_catalog date="2026-06-29 10:00">
  <shop>
    <offers>
      <offer id="YML-16001" available="true"><name>Hudson lamp</name><vendor>Acme Lighting</vendor><price>1290.00</price></offer>
      <offer id="YML-16002" available="true"><name>Parker chair</name><vendor>Northline</vendor><price>8400.00</price></offer>
      <offer id="YML-16003" available="true"><name>Harbor shelf</name><vendor>OldStock</vendor><price>990.00</price></offer>
    </offers>
  </shop>
</yml_catalog>

After

result
<yml_catalog date="2026-06-29 10:00">
  <shop>
    <offers>
      <offer id="YML-16001" available="true"><name>Hudson lamp</name><vendor>Acme Lighting</vendor><price>1290.00</price></offer>
      <offer id="YML-16002" available="true"><name>Parker chair</name><vendor>Northline</vendor><price>8400.00</price></offer>
    </offers>
  </shop>
</yml_catalog>

What to keep in mind

  • If only one vendor is needed, use the equals condition without a regular expression.
  • Place the condition on offer so the whole item is excluded.

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up