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.
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.
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..
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 <youremail@gmail.com>\r\n"; // delete if not needed
}
return $headers;
}
-
This reply was modified 2 years, 8 months ago by basvweb.
-
This reply was modified 2 years, 8 months ago by basvweb.
-
This reply was modified 2 years, 8 months ago by basvweb.