A friend asked for help with the site. There is an online store for 1C. Bitrix, you need to add products from another online store. If I can parse info from other stores, then how can I add it programmatically to 1C. Bitrix? Never come across this CMS. Maybe 1.Bitrix has some kind of API or can you adequately add products directly to the database right away?

Thank!

    1 answer 1

    Good day. You can do this by writing your own import script and using the appropriate API functions necessary to add products / prices / residues. You can read more in the official documentation on the use of API. You need information about the classes in the "Trade Directory" module.

    1C-Bitrix also supports importing the trading catalog from xls and csv files. And you can write your own template for importing goods . All you need is to write your own script for parsing other sites and then process the data in 1C-Bitrix. The resulting script is best hang on the agent in 1C-Bitrix, so that its work does not slow down the site. Or if you do not need periodic work - then make a master for manual start as needed.