I
I
Ilia Malashko2021-02-13 09:34:03
1C-Bitrix
Ilia Malashko, 2021-02-13 09:34:03

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
602773263d47b480577997.png

. 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

1 answer(s)
R
Roman Gritsuk, 2021-02-13
@miv-men

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 question

Ask a Question

731 491 924 answers to any question