A
A
Alexander2018-05-09 21:53:09
1C-Bitrix
Alexander, 2018-05-09 21:53:09

How to place a new order property in the Delivery block of the checkout page?

I created in Bitrix in the settings of the online store
(Desktop->Shop->Settings->Order properties List of properties)
a new property for the order - Point of issue joxi.ru/n2YRXY0Soq0lVA
This property of the Enum type contains 2 places of points of issue of goods.
I linked this property to delivery services ( joxi.ru/82QpLW4fjL40Rm )
So that the pickup point appears if Pickup is selected among deliveries.
joxi.ru/8An5b3Nsj5Kda2
But there was a problem, the new property appears in the Buyer block)))
joxi.ru/823nvg8hJVw7pm
But how to make the new property appear in the Delivery block?
Can this be done in the admin section? If not, how can this be done at all?
The second question is, how can you track an event on the java script side when changing the delivery service in order to refer to an element in the DOM model?
Simply, if it is not possible to transfer the Pick-up point to the Delivery block through the site settings, then I want to hide the Pick-up point fields in the Buyer block and show them in the Delivery block via java script, but for this I need to catch the event when the selected delivery system changes.
Is it possible to somehow catch the event through the BX.Sale.OrderAjaxComponent that there has been a change in delivery or a change in the ordering procedure in general?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nikegk, 2018-05-17
@inviziblll

To transfer the property to the delivery block, this article should help: bitrixoved.blogspot.ru/2017/12/saleorderajax.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question