Post by eleven28 » Thu Dec 13, 2012 7:53 am

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
Last edited by eleven28 on Fri Dec 14, 2012 8:46 pm, edited 1 time in total.

User avatar
Newbie

Posts

Joined
Fri Jan 27, 2012 6:41 am
Location - Australia

Post by Avvici » Fri Dec 14, 2012 6:38 am

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.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by eleven28 » Fri Dec 14, 2012 8:41 pm

Thank you so much, avvici! Exactly what I wanted.

Thanks for making my day. :)

User avatar
Newbie

Posts

Joined
Fri Jan 27, 2012 6:41 am
Location - Australia
Who is online

Users browsing this forum: No registered users and 142 guests