Answer the question
In order to leave comments, you need to log in
How to fill in the buyer's personal data when creating an order through Bitrix\Sale\Order?
Hello.
You need to create a quick order in 1 click.
I have already implemented the creation of an order, but I can’t fill in the buyer’s personal data
. The documentation and other Internet resources have only an example of writing a comment:
$order->setField('USER_DESCRIPTION', 'Мой первый заказ');
How to fill in the rest of the fields?
Answer the question
In order to leave comments, you need to log in
The personal data of the buyer in your case is the properties of the order.
Here you can read about how to work with them
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question