Hi kumaresanwp,
Sadly this isn’t a feature you can add yet.
Similar question answered by the author:
https://wordpress.org/support/topic/cancelled-order-email?replies=3
Hi Cherl_p,
Is, there any other way do to this…
Hello
Please use woocommerce version 2.6.4 and then go to
Admin > woocommerce > settings > email.
There will be option cancelled order.
Thanks
Not yet, because i developed website.
If i change version website will collapse.
I have checked.
Version 2.6.4 also have the same option.
Product order cancelled mail going to only admin not user…
Try following code into functions.php located in your themes.
When mail is send then mail will be goes to admin and customer.
/*
* Add customer email to Cancelled Order recipient list
*/
function wc_cancelled_order_add_customer_email( $recipient, $order ){
return $recipient . ‘,’ . $order->billing_email;
}
add_filter( ‘woocommerce_email_recipient_cancelled_order’, ‘wc_cancelled_order_add_customer_email’, 10, 2 );
Thanks
Please try and let me if it is working or not.
Thanks
I already tried this code from pixelboy7734 post.
It’s not working.
Hello
Which issue happen you want to put add above code?
Can you please describe?
No issue in that code.
But, mail not received by customer..
function wc_send_booking_cancelled_multiple_addresses( $recipient ) {
global $pending_conf_vendor;
$recipient = rtrim( trim( $recipient ), ‘,’ );
$new_recipients = array(
‘yourmeail@domain.com’,
‘onemore@anotherdomain.com’,
//Add more email addresses if needed
);
$recipient .= ‘,’ . implode( ‘,’, $new_recipients );
return $recipient;
}
add_filter( ‘woocommerce_email_recipient_booking_cancelled’, ‘wc_send_booking_cancelled_multiple_addresses’ );
Hello
Please try following code into your functions.php.
function wc_send_booking_cancelled_multiple_addresses( $recipient ) {
global $pending_conf_vendor;
$recipient = rtrim( trim( $recipient ), ‘,’ );
$new_recipients = array(
‘yourmeail@domain.com’,
‘onemore@anotherdomain.com’,
//Add more email addresses if needed
);
$recipient .= ‘,’ . implode( ‘,’, $new_recipients );
return $recipient;
}
add_filter( ‘woocommerce_email_recipient_booking_cancelled’, ‘wc_send_booking_cancelled_multiple_addresses’ );