Answer the question
In order to leave comments, you need to log in
How to implement the import of locations in the 1c-bitrix store?
Hello. There is a file with locations in csv. You need to somehow import it to the location of the 1s-Bitrix store. By default, only a file with a structure can be imported there, as in the documentation dev.1c-bitrix.ru/user_help/store/sale/settings/loc...
Is it possible to use a different structure?
There was also a problem that if you upload a file from a PC to the site (even if you take a test location file from the documentation), then the file is uploaded, but not processed (it does not give any errors).
Answer the question
In order to leave comments, you need to log in
You can write your own parser for this csv and use the API. Specifically CSaleLocation::Add .
Hello,
In theory, you can use any file structure, you just need to write a handler that will understand it and put it correctly in Bitrix.
It cannot be that without errors, they are 100% either in the server logs or in the Bitrix logs, if they are enabled or if it is necessary in one file, enable the debugg mode.
In general, there are few details, no example of a file, no Bitrix version, no description of the environment.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question