Supplier catalogs

How to keep CommerceML products only from one group

2026-06-29
Task

The CommerceML file contains a shared catalog, but the import needs only one product group with ID grp-lighting.

Short answer

Add an export condition to Товар: Группы/Ид must match ^grp-lighting$ (matches a value that is exactly grp-lighting).

How to do it in Eofferix

  1. In the XML/YML snapshot, select the repeated Товар node.

  2. Open the node settings.

    Opening Товар settings
    The animation shows opening settings for the repeated product node.
  3. Add an export condition for Группы/Ид: Группы/Ид ^grp-lighting$.

    Export condition
    The condition is applied to the whole item.

Before / after

Before

source data
<КоммерческаяИнформация ВерсияСхемы="2.10">
  <Каталог>
    <Товары>
      <Товар><Ид>SKU-23001</Ид><Артикул>LA-23001</Артикул><Наименование>Hudson lamp</Наименование><Группы><Ид>grp-lighting</Ид></Группы></Товар>
      <Товар><Ид>SKU-23002</Ид><Артикул>KR-23002</Артикул><Наименование>Parker chair</Наименование><Группы><Ид>grp-furniture</Ид></Группы></Товар>
      <Товар><Ид>SKU-23003</Ид><Артикул>PN-23003</Артикул><Наименование>Harbor shelf</Наименование><Группы><Ид>grp-lighting</Ид></Группы></Товар>
    </Товары>
  </Каталог>
</КоммерческаяИнформация>

After

result
<КоммерческаяИнформация ВерсияСхемы="2.10">
  <Каталог>
    <Товары>
      <Товар><Ид>SKU-23001</Ид><Артикул>LA-23001</Артикул><Наименование>Hudson lamp</Наименование><Группы><Ид>grp-lighting</Ид></Группы></Товар>
      <Товар><Ид>SKU-23003</Ид><Артикул>PN-23003</Артикул><Наименование>Harbor shelf</Наименование><Группы><Ид>grp-lighting</Ид></Группы></Товар>
    </Товары>
  </Каталог>
</КоммерческаяИнформация>

What to keep in mind

  • If one exact group ID is needed, use equals without a regular expression.
  • CommerceML tag names are kept as they appear in the 1C export; they are part of the format.

Process data faster with Eofferix

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

Sign up