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. Method 1: for two vendors, use regular expression ^(Acme Lighting|Northline)$ (matches a value that is exactly Acme Lighting or Northline).

    Export condition
    This is one condition variant; the other variants do not need to be added.
  4. Method 2: if one vendor is needed, set vendor Equals Acme Lighting.

    Export condition
    This is one condition variant; the other variants do not need to be added.

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>

Process data faster with Eofferix

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

Sign up