- Status
- Resolved
- Reported for
- WPML Multilingual & Multicurrency for WooCommerce 4.2.10
- Resolved in
- WPML Multilingual & Multicurrency for WooCommerce 4.3.2
Overview of the issue
If you are using WPML Multilingual & Multicurrency for WooCommerce 4.2.10, you probably noticed that new order emails are showing placeholders instead of the site title, the order number and/or the date on the Email Subject.
For example, emails are showing:
New Customer Order ({order_number}) – {order_date}
Intead of:
New Customer Order 1234 – April 23rd 2018.
Workaround
This issue will be fixed in an upcoming version of WooCommerce Multilingual.
In the meantime, you can use the following workaround:
- Edit the class-wcml-emails.php file found in the ../woocommerce-multilingual/inc/ folder.
- Comment out (or remove) lines 138 and 139, like shown in the following code snippet:
//add_filter( 'woocommerce_email_heading_new_order', array( $this, 'new_order_email_heading' ) ); //add_filter( 'woocommerce_email_subject_new_order', array( $this, 'new_order_email_subject' ) );