WPML

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 is fixed in WPML Multilingual & Multicurrency for WooCommerce 4.3.2. Updating solves it on your site, so you only need this workaround if you can’t update yet.

This issue will be fixed in an upcoming version of WooCommerce Multilingual.

In the meantime, you can use the following workaround:

  1. Edit the class-wcml-emails.php file found in the ../woocommerce-multilingual/inc/ folder.
  2. 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' ) );

All known issues

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.