Answer the question
In order to leave comments, you need to log in
Bitrix mail template not working?
How to add #ORDER_USER# for other order statuses?
It doesn't work except order item Accepted
Answer the question
In order to leave comments, you need to log in
Here are the keys provided in the system for the status change mail event:
$arFields = Array(
"ORDER_ID" => (...),
"ORDER_DATE" => (...),
"ORDER_STATUS" => (...),
"EMAIL" => (...),
"ORDER_DESCRIPTION" => (...),
"TEXT" => "",
"SALE_EMAIL" => (...)
);
$arFields
:foreach(GetModuleEvents("sale", "OnOrderStatusSendEmail", true) as $arEvent)
if (ExecuteModuleEventEx($arEvent, Array($ID, &$eventName, &$arFields, $arOrder["STATUS_ID"]))===false)
$bSend = false;
$arFields
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question