I had a troubles with the subject line, but hope you will understand me now...
What i want to achieve is when i change the order status from missing to any other status (or for example from order_status_id=0 to order_status_id=16) TO STOP SENDING confirmation email to client.
Is it possible and how?
OC version is 2.3.0.2.
I tried to change this line on catalog/model/checkout/order.php
Code: Select all
$mail->send();
Code: Select all
if ($order_status_id!=16) {
$mail->send();
}
Also trued this on the same file, before this line:
Code: Select all
$mail = new Mail();
Code: Select all
if ($order_info['order_status_id']=16) {
die();
}
Thank you!