• Resolved basvweb

    (@basvweb)


    Hi,

    I really love your plugin. A customer of mine wants the shipping mails to be send automatically to his finance department also. Is it possible to CC or BCC the mail to his finance department email also?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Zorem

    (@zorem)

    Hi, the Shipped (Completed) is a customer email, you can use our sales report email plugin to send reports to the shipping department.

    Thread Starter basvweb

    (@basvweb)

    Hi @zorem ,

    Isn’t there a code I can put in the functions.php that will automatically send all the tracking e-mails as a BCC or CC to the finance department?

    Plugin Author Zorem

    (@zorem)

    the Completed Email is sent by WooCommerce, AST just adds the tracking to this email, you need to do it in WooCommerce.

    Thread Starter basvweb

    (@basvweb)

    But I did not replace Completed with Shipped.. I want the ‘Partially shipped’ email to have a CC or BCC

    Plugin Author Zorem

    (@zorem)

    The Completed and partially shipped are customer emails, they are not meant to be sent as fulfillment emails, you can search for email notifications plugin, we plan to launch a workflow automation plugin later this year..

    Thread Starter basvweb

    (@basvweb)

    Hi @zorem ,

    I have found a code that will do the trick!

    add_filter( 'woocommerce_email_headers', 'bbloomer_order_completed_email_add_cc_bcc', 9999, 3 );
     
    function bbloomer_order_completed_email_add_cc_bcc( $headers, $email_id, $order ) {
        if ( 'customer_partial_shipped_order' == $email_id ) {
            $headers .= "Bcc: Name <[email protected]>\r\n"; // delete if not needed
        }
        return $headers;
    }
    • This reply was modified 3 years, 3 months ago by basvweb.
    • This reply was modified 3 years, 3 months ago by basvweb.
    • This reply was modified 3 years, 3 months ago by basvweb.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CC or BCC Shipping mail’ is closed to new replies.