S
S
Surzhenko2020-07-10 14:07:12
1C-Bitrix
Surzhenko, 2020-07-10 14:07:12

How to get profiles of all types of payers in bitrix:sale.order.ajax?

When placing an order, the properties of the order from the buyer profile of a certain type are automatically filled in. The buyer profile can be selected from the drop-down menu on the page. But the list of available profiles depends on the type of payer specified in this form. Is it possible somehow to get all the profiles available to the user in the bitrix:sale.order.ajax component without selecting the payer type in the order form?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2020-07-15
@gromdron

Through customizing the issuance of the component, of course, but what's the point if the profile is a combination of filled fields, and the fields for different profiles are different.
Those. the value of the field X for profile 1 may exist, but in profile 2 the field X may not exist at all.
The easiest way to do this is on the events in the component: https://dev.1c-bitrix.ru/api_d7/bitrix/sale/events...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question