Supplier catalogs

How to skip CommerceML products marked for deletion

2026-06-29
Task

The 1C CommerceML export still contains products with ПометкаУдаления=true. They should not enter the new catalog.

Short answer

Add an export condition to the Товар node: the simple option is ПометкаУдаления equals false or is not equal to true. Use ^(false|0|Нет)$ only if the export contains several “do not delete” notations.

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. Method 1: set ПометкаУдаления Equals false.

    Export condition
    This is one condition variant; the other variants do not need to be added.
  4. Method 2: you can keep all products where ПометкаУдаления is Not equal to true.

    Export condition
    This is one condition variant; the other variants do not need to be added.
  5. Method 3: use regular expression ^(false|0|Нет)$ (matches “do not delete” values: false, 0, or Нет) if notations are mixed.

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

Before / after

Before

source data
<КоммерческаяИнформация ВерсияСхемы="2.10">
  <Каталог>
    <Товары>
      <Товар>
        <Ид>SKU-8001</Ид>
        <Наименование>Hudson lamp</Наименование>
        <ПометкаУдаления>false</ПометкаУдаления>
      </Товар>
      <Товар>
        <Ид>SKU-8002</Ид>
        <Наименование>Parker chair</Наименование>
        <ПометкаУдаления>true</ПометкаУдаления>
      </Товар>
      <Товар>
        <Ид>SKU-8003</Ид>
        <Наименование>Harbor shelf</Наименование>
        <ПометкаУдаления>Нет</ПометкаУдаления>
      </Товар>
    </Товары>
  </Каталог>
</КоммерческаяИнформация>

After

result
<КоммерческаяИнформация ВерсияСхемы="2.10">
  <Каталог>
    <Товары>
      <Товар>
        <Ид>SKU-8001</Ид>
        <Наименование>Hudson lamp</Наименование>
        <ПометкаУдаления>false</ПометкаУдаления>
      </Товар>
      <Товар>
        <Ид>SKU-8003</Ид>
        <Наименование>Harbor shelf</Наименование>
        <ПометкаУдаления>Нет</ПометкаУдаления>
      </Товар>
    </Товары>
  </Каталог>
</КоммерческаяИнформация>

Process data faster with Eofferix

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

Sign up