Good day to all. Faced the problem of importing goods into Bitrix (version 16.0.13). The site has already formed the structure of sections and flooded the goods, I need to update the goods, I do it as written in the theme name through the script bx_1c_import.php the import process goes fine, does not generate errors. Import settings on the site

  • What to do with products missing in the import file: deactivate,
  • What to do with groups that are missing in the import file: nothing is ticked off: Use checksums of items to optimize the catalog update Time of database and server are the same

But after importing absolutely all products are deactivated. And if I change the setting “What to do with products that are not in the import file” from deactivating to nothing, then after import all products are active. I checked the files for unloading those products that are deactivated are present in the file. Why can this happen?

  • Products mapped by XML_ID? - Mihanik71
  • Yes, the XML_ID of the product matches the external product code. Somewhere on the Bitrix forums I read something like this: If full import is done, then the exchange settings on the site are ignored and goods that are not in the upload become inactive. - Sergey Zaigraev
  • I also noticed the symbol code of the information block where the catalog-d116ca69-f5dd-4af3-a232-519304897f94 import goes, and in the upload file d116ca69-f5dd-4af3-a232-519304897f94 they should be absolutely identical? or the prefix catalog- does not matter? - Sergey Zaigraev
  • If you are given an exhaustive answer, mark it as correct (tick the selected answer). - Mihanik71

1 answer 1

Since version 4 of the exchange, the support of the flags “What to do with goods missing in the import file” is not used, or more precisely, it can be used, but it can work incorrectly with full unloading. Due to the fact that it did not work in full unloading, and the exchange takes place in packets - it is better not to use this functionality.

It is accepted after the exchange to remove unnecessary goods or in 1C mark them and delete them on the site.

  • Ie if it will do unloading on the changes then there will be no deactivation of the goods? then it turns out in manual mode you need to put "nothing" not to do with the goods? - Sergey Zaigraev
  • Goods should not be deactivated - this flag should be skipped. The fact that you now deactivate all this version of the bug. - Mihanik71
  • “Then it turns out in the manual mode you need to put“ nothing ”not to do with the goods?” True - Mihanik71
  • The bug of the bitrix itself. Specifically of my version 16.0.13, did I understand everything correctly? - Sergey Zaigraev
  • Yes. In the future, when upgrading to other versions, other bugs may be observed - therefore it is better not to use this parameter. Do not do anything and then everything will work stably) It is stupid of course, but now the transition is made to a batch exchange - several hundreds / thousands of products to prevent falls. And to remember what goods were unloaded, changed at each of the steps, it turns out expensive, so this functionality is cut out. - Mihanik71