add_filter( 'woocommerce_email_recipient_customer_note', 'custom_woocommerce_email_recipient_customer_note' );
function custom_woocommerce_email_recipient_customer_note( $emails ) {
$emails .= ',cc@email.com';
return $emails;
}
The Email is working already.
I received a notification but the there’s no note to customer text included in there? is it possible that we can add it there the note to customer text?
thank you in advance
This just cc’s in an address to the usual note email..Content is not changed.
Hi Mike,
Good day!
Thank you for response.
I had a problem from the customers email who ordered, can’t receive anymore after I add that code.
can you help on this.
Thank you so much.
Bom
@bomybanez how did you applied the code?
@claudio
Yes I used it. The code works but the customer who ordered can no longer receive an email.
When I removed that code the customer can received an email notification.
Please help!
Thank bro.
My Plan is to add new recipient email to receive a notification when someone added a note to customer.
so there will be 3 receivers of email notification at the same time:
1. default admin email
2. customers email
3. new recipient email (this is what I wanted to add)
thank you @claudio
@claudio
This is what I add the code:
I added it into the funtions.php under the child theme.
———————
add_filter( ‘woocommerce_email_recipient_customer_note’, ‘custom_woocommerce_email_recipient_customer_note’ );
function custom_woocommerce_email_recipient_customer_note( $emails ) {
$emails .= ‘sales@company.co.uk’;
return $emails;
}
———————
That code looks fine but you’re missing a comma before the email.
Thank you so much. It works now!