Ok so I figured it out myself and used a different solution to send the Customer Invoice to Multiple Emails in WooCommerce.
First, I installed this plugin: https://ww.wp.xz.cn/plugins/wc-multiple-email-recipients
Then I installed Custom Fields plugin and added a field for emails to the Order Edit Page.
I modified the Plugin code so it echos the added emails in the header of the Customer Invoice Email.
That’s all. If you want me to help you with this, you can contact me.
-
This reply was modified 7 years, 1 month ago by
Afnan Abbasi.
Hi Afnan
Are you able to share the modified plugin code for this please? 😉
Cheers.
Hey @elliotvs ,
Sorry for the late response, but I just saw your reply. Here’s what I have modified in the plugin code:
1. Created a custom field using ACF.
2. In the plugin code where the Emails entered in the plugin settings are to be echoed, I echo the ACF field from the order post type.
Something like:
<?php echo get_field('emails'); ?>
Hope that makes sense. To change it completely according to your site, there are multiple things that would need to be done to attain it.
You can talk to me here: twitter.com/affuxo