Y
Y
Yuriy2021-12-07 13:48:45
1C-Bitrix
Yuriy, 2021-12-07 13:48:45

Bitrix emails about order statuses?

Tell me how to delay the sending of letters on order for certain statuses?

for example, the status is assigned to the order COMPLETED, but the letter does not go immediately to the buyer, but after 1 day, suppose.

to be hooked on event and not to send it on achievement of time (DATE_UPDATE_STATUS + 1DAY < DATE_NOW)? Isn't the queue full of such letters?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zhitnik, 2021-12-07
@art-zhitnik

Alternatively, handle the OnBeforeEventSend event. Check the date, if a day has not passed, return false in the handler (cancels sending).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question