U
U
UnderDog322019-02-13 13:21:18
1C-Bitrix
UnderDog32, 2019-02-13 13:21:18

How to force the launch of the exchange in Bitrix, having the necessary files?

Please advise on the issue. There is such a help in the 1C-Bitrix database - https://dev.1c-bitrix.ru/api_help/sale/xml/index.php
It says about the following files:

  • import.xml - the file stores information about products, groups, price types, warehouses, product properties and units of measure;
  • offers.xml - information about product offers and their properties is stored in the file;
  • prices.xml - information about the prices of offers is stored in the file;
  • rests.xml - the file stores information about the rest of offers.

The exchange mechanism through the module is clear. But what if I just have these 4 files, how can I update products, balances, trade offers using these files without using 1C?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Irina, 2019-02-14
@iitovka

1) if manually it’s easy, then
put the files in the folder /upload/1c_catalog/
run under the admin site
url /bitrix/admin/1c_exchange.php?type=catalog&mode=import&filename=import.xml
and update the page until you get success - the import is completed
and so each file
2) if programmatically and automatically, then it is necessary to ensure that the files are uploaded to this folder.
and then make requests with the curl script to do the same as above, only passing authorization

I
igrok666, 2021-08-25
@igrok666

Here is an article on how to start uploading from 1s manually, having upload files https://1c-dev.ru/s%D1%81ripts/ruchnaya-vygruzka-f...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question