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?
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 :
You could add the additional email field and use that in function addOrderHistory() where mail is send:
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'],
Code: Select all
$mail->setTo($order_info['email']);
order_query contains all data in order ( SELECT * )
After that products and other info is selected
After that products and other info is selected
Who is online
Users browsing this forum: No registered users and 8 guests