- Status
- 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 );