Post by rbass » Fri Feb 06, 2015 5:57 am

I already have an additional email field in the database table. I need to know where to add another query to pull an aditional email to send order status changes to a 2nd customer email address??

Where would this be located?

New member

Posts

Joined
Mon Nov 22, 2010 6:26 am

Post by pprmkr » Fri Feb 06, 2015 3:58 pm

Adding order history:

admin/controller/sale/order.php, function history()
admin/model/sale/order.php, function addOrderHistory($order_id, $data) calling getOrder($order_id)

$order_query contains all data in order ( SELECT * )

After that products and other info is selected

Finaly the function returns an array with all data.
After :

Code: Select all

'email'                   => $order_query->row['email'],
You could add the additional email field and use that in function addOrderHistory() where mail is send:

Code: Select all

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

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by ffworld » Wed Feb 11, 2015 11:08 am

order_query contains all data in order ( SELECT * )

After that products and other info is selected

fifa coins xbox fifa coins ps4


Newbie

Posts

Joined
Tue Feb 10, 2015 1:43 pm

Who is online

Users browsing this forum: No registered users and 8 guests