- สถานะ
- แก้ไขแล้ว
- รายงานสำหรับ
- WPML Multilingual & Multicurrency for WooCommerce 4.11.2
- แก้ไขใน
- 4.11.3
ภาพรวมของปัญหา
หากคุณมีอีเมล WooCommerce ใด ๆ ที่ถูกกำหนดค่าให้ส่งถึงผู้รับหลายคนใน WooCommerce → การตั้งค่า → อีเมล WPML Multilingual & Multicurrency for WooCommerce จะส่งอีเมลนั้นไปยังที่อยู่อีเมลแรกเท่านั้น
วิธีแก้ปัญหาชั่วคราว
- สำรองข้อมูลไซต์ของคุณแบบเต็ม
- ไปที่ wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php
- แทนที่บรรทัดที่ 468:
$admin_language = $this->get_admin_language_by_email( $recipient, $order_id );
ด้วย:
add_filter( 'woocommerce_new_order_email_allows_resend', '__return_true' ); $admin_language = $this->get_admin_language_by_email( $recipient, $order_id );