Posts

Showing posts with the label email-notifications

Woocommerce: Adding second email address not working, unless recipient is admin

I have tried several methods to add additional recipients to Woocommerce emails, but it only seems to work on test orders where the primary recipient is the admin. These are the snippets I've tried. If the customer for the order is the admin, the email is sent both addresses. If the order contains a customer email address, it is only send to that email address and not the CC. Here are the code snippets I've tried: . . This one works, but fires with every single email notification: If I add the email $object in, so it only fires for customer processing orders, it only cc's on the admin emails (cc only, not recipient), not customers (neither cc nor recipient). I would appreciate any advice. The following code works in Woocommerce last version (v3.4.3) adding a custom email in "CC" for Customer processing email notification: Code goes in function.php file of your active child theme (or active theme). Tested and work. You can even add it to Bcc instead of Cc, like i...