Resolved
Reported for: WPML Multilingual & Multicurrency for WooCommerce 4.11.2
Resolved in: 4.11.3
Overview of the issue
If you have any WooCommerce email configured to send to multiple recipients in WooCommerce → Settings → Emails, WPML Multilingual & Multicurrency for WooCommerce sends it to the first email address only.
Workaround
- Make a full backup of your site.
- Go to wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php.
- Replace line 468:
$admin_language = $this->get_admin_language_by_email( $recipient, $order_id );
With:
add_filter( 'woocommerce_new_order_email_allows_resend', '__return_true' ); $admin_language = $this->get_admin_language_by_email( $recipient, $order_id );
Hi Team. Is this workaround aiming only for new order emails? Should I create filter for the other hooks like order cancellation and so on?
Hello there,
Yes, that code will help for the new order emails but shouldn’t be necessary for other emails so far.
We are working in a general solution in the meantime.
Hello,
could you please provide the code for every type of WooCommerce message, and not only for the “New Order” email? Thanks
Hello there,
This code shouldn’t be necessary for other emails. However, don’t hesitate to open a ticket in our support forum so we can investigate further your case.
Regards
Hello, is the problem solved in version 4.11.3? Thanks.
Hello there,
Yes, it should be solved with WCML 4.11.3. 🙂
We have this issue to. At first the only the first email gets the notification. But right now, no one gets the emails (including the 1st on the list). Changing the code as instructed did not fix the issue.
Hello there,
It should be solved with WCML 4.11.3.
If the issue remains, please, open a ticket in our support forum as it may be a different issue or different scenario.
Thank you for your help!