Order Notifications Sent From Vendor Email Account

Hi,

I am using 4.3.5 multi vendor version.

I want to send order notification from a specific email id - orders@company.com. Currently default functionality is to send emails (To: section) from vendor's registered email id.

Where can I change this?

Regards,

Fahad

app/functions/fn.cart.php

find the fn_order_notification function and replace:

if ($notify_user == true) {
        Mailer::sendMail(array(
            'to' => $order_info['email'],
            'from' => 'company_orders_department',

with

if ($notify_user == true) {
        Mailer::sendMail(array(
            'to' => $order_info['email'],
            'from' => 'default_company_orders_department',

You can also specify e-mail there. E.g.

if ($notify_user == true) {
        Mailer::sendMail(array(
            'to' => $order_info['email'],
            'from' => 'orders@company.com',

It worked :)

Thanks

You are welcome!