Answer the question
In order to leave comments, you need to log in
How to limit the choice of time in delivery when placing an order?
Hello!
When placing an order, indicate the date and time of delivery of the goods.
The field time and date of delivery is displayed through the standard properties of the order.
The standard calendar BX.calendar is used. Version "1C-Bitrix: Site Management 16.5.4".
The minimum time that can be specified is +2 hours to the present, that is, if a person places an order at 12:00, then he cannot specify a delivery time less than 14:00.
How can this be implemented?
The BX.calendar function, as I understand it, where the date and time output is written is in the bitrix\js\main\core\core_date.js file?
Climb there, look for a function to output time and change it there? If so, what is the function responsible for this?
Or is it possible somehow differently, without getting into the core itself?
Answer the question
In order to leave comments, you need to log in
The BX.calendar function, as I understand it, where the date and time output is written is in the bitrix\js\main\core\core_date.js file?
Climb there, look for a function to output time and change it there? If so, what is the function responsible for this?
Or is it possible somehow differently, without getting into the core itself?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question