Answer the question
In order to leave comments, you need to log in
Why is the OnOrderSave event not firing?
Good afternoon!
Bitrix 15.5.10.
in init.php I call the following code
AddEventHandler("sale","OnOrderSave","My_OnOrderSave");
function My_OnOrderSave($orderId, $orderFields, $orderData, $isNew) {
CWriteLog([$orderId, $orderFields]);
echo '<pre>';var_dump($orderId,$orderFields); die();
}
Answer the question
In order to leave comments, you need to log in
Enable deprecated event processing enabled in the settings of the online store module?
Starting from the 15th version, new events are used dev.1c-bitrix.ru/learning/course/index.php?COURSE_...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question