Page 1 of 1

[SOLVED] Order Status "Notify Customer" - CC Email to Admin?

Posted: Thu Dec 13, 2012 7:53 am
by eleven28
Okay, I have been searching the forum for days and I still can't find what I'm looking for, so I'm just going to ask again.

As far as I remember, I had edited some of the core files (following a previous post) so that when an admin changed an order's status and selected "Notify Customer", the email notification would also be copied to the admin email address for reference.

Had it working fine until I forgot and overwrote the file with the original (OC v 1.5.3.1). Oops...

Can anyone help point me in the right direction? I would really, really appreciate it.

Sarah

Re: Order Status "Notify Customer" - CC Notification to Admi

Posted: Fri Dec 14, 2012 6:38 am
by Avvici
Open /admin/model/sale/order.php and find this code:

Code: Select all

$mail->send(); 
Below it add this :

Code: Select all

$mail->setTo($this->config->get('config_email'));
            $mail->send();
Really you can place any email you want there like this:

Code: Select all

$mail->setTo("youremail.com");
            $mail->send(); 
Good day.

Re: Order Status "Notify Customer" - CC Notification to Admi

Posted: Fri Dec 14, 2012 8:41 pm
by eleven28
Thank you so much, avvici! Exactly what I wanted.

Thanks for making my day. :)