A
A
Andrey2017-06-26 17:37:44
PHP
Andrey, 2017-06-26 17:37:44

How to link a buyer profile with a 1c bitrix user profile?

How can I link a buyer's profile with a user's profile on 1c bitrix
So that when the data in the buyer's profile changes, the data in the user's profile also changes immediately?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Zemlyanoy, 2017-06-26
@Galamoon

Events related to changing types of payers
Subscribe to events, select the required fields and update the user profile.

A
Anatoly Kirsanov, 2017-06-28
@bitrixworkshop

Search events. Only I would start with the checkout component events. Or (if you need the final version, which went 100% into the order) - the event of saving the order.
There is a nuance here. Bitrix supports multiple profiles per user. Including with different types of payer. Those. having a login, you can place orders on your behalf, wife, dad, grandmother and neighbor, order for your IP ...
If you change user data in such a situation, nothing good will happen.
True, the regular 1C exchange knows nothing about this (the counterparty ID is generated based on user data, not profile). If you have 1C, then you have to forget about several profiles per user.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question