Answer the question
In order to leave comments, you need to log in
How to exchange bonuses between a site on Bitrix and 1C?
Hello. There is a Bonus Program functionality in 1C in Marketing, otherwise Loyalty Cards, bonuses, cashback. That is, a client buys goods in a store, and he is credited with 1C bonus rubles on a discount card.
And there is a site on Bitrix, where a module from the marketplace is used, which has the functionality of bonus points. And how to exchange all this business with 1C? This is an exchange of orders, are there any details in 1C of the type Number of bonuses? Who has case studies for this task?
In fact, you just need to synchronize the number of bonuses between 1C and the site with reference to the counterparty.
Answer the question
In order to leave comments, you need to log in
On the 1C-Bitrix side, you develop a functionality that uploads in the required format (let's say json, xml, xls) and the right set of data (let's say a phone number, number of points), update this file every 5/10/30/60/.. minutes.
On the 1C side, you are developing a functionality that reads data from this file and uploads it to the database.
If you use a regular exchange of orders 1C-Bitrix and 1C, then yes, theoretically you can add additional. requisite for uploading to 1C from 1C-Bitrix, and in 1C-Bitrix add a property to the order, in which to record the current state of points on each order. On the 1C side, process the data from this add. props.
There are many solutions. You have to look at the architecture.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question