Post by sferris » Fri Nov 11, 2011 11:52 pm

Is there any way to make the order confirmation that is sent to to the store owner come from the customer's email address instead of the store email?

My customer uses an internal CRM and it would help them link orders to customers if the emails came from the customers. I did make a modification so the owner is sent the same copy as the customer per this topic:

http://forum.opencart.com/viewtopic.php?f=110&t=33975

I'm using 1.5.0.5. Thanks!
Last edited by sferris on Sat Nov 12, 2011 3:17 am, edited 1 time in total.

New member

Posts

Joined
Sat Jul 16, 2011 12:46 am

Post by uksitebuilder » Sat Nov 12, 2011 12:22 am

You should be able to change

$mail->setFrom($this->config->get('config_email'));

to

$mail->setFrom($order_info['email']);

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by sferris » Sat Nov 12, 2011 3:17 am

That worked! Thank you!

New member

Posts

Joined
Sat Jul 16, 2011 12:46 am
Who is online

Users browsing this forum: No registered users and 41 guests