This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem: New order email subject shows placeholders instead of Site Title and date [{site_title}] New Customer Order ({order_number}) - {order_date} Solution: This issue will be fixed in an upcoming version of WooCommerce Multilingual. In the meantime, you can use the following workaround: Relevant Documentation: https://wpml.org/errata/new-order-email-subject-shows-placeholders-instead-of-site-title-and-date-since/

This topic contains 5 replies, has 4 voices.

Last updated by I 1 year, 6 months ago.

Assigned support staff: Vincenzo.

Author Posts
April 20, 2018 at 2:23 pm #1726706

pierreE

After updating WPML Multilingual CMS, the email confirmations we receive when we receive a new order and when customers receive an order show the incorrect email subject.

We see the following email subject: [{site_title}] New Customer Order ({order_number}) - {order_date}

When it should be: [Envirocycle] New Customer Order (8048) - April 20, 2018

Please provide a fix ASAP.

Thank you!

Lisa

April 20, 2018 at 2:43 pm #1727109

pierreE

Hello,

I also contacted WooCommerce for support and they provided the following response:

"I see the ticket thanks! Several other users already contacted us about this and we identified that this is being caused by the WPML.

This component, in particular, is causing it in their update: WPML Multilingual CMS: door OnTheGoSystems – 3.9.4

We ask you to please contact WPML to resolve this further as it is their plugin not working correctly at the moment."

Thank you,

Lisa

April 21, 2018 at 9:17 am #1738236

eladiF

Same problem here. Please, let us know when it is solved. Thanks.-

April 21, 2018 at 3:53 pm #1743121

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hello, thank you for contacting WPML Support!

We apologize for the inconvenience this causes.
The issue seems to be introduced with WooCommerce Multilingual 4.2.10

This ticket has been escalated to our 2nd Tier support with increased priority.

I will update you as soon as I get more info about this.

Thanks for your patience

April 23, 2018 at 10:14 am #1763637

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hello,

this issue has been escalated to our developers.
While waiting that we release a new version, you can try the following workaround:

- Open the /wp-content/woocommerce-multilingual/inc/class-wcml-emails.php file.
- Comment out (or remove) lines 138 and 139
- Save and upload the file

// 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' ) );

Let us know if it helps.

May 18, 2018 at 10:21 pm #2192426

I

Thanks for the suggested fix Vincenzo.

Did this not get tested before release, seems like a easy bug to pick up on?

Do you have a release date for the fix?

Thanks,

Ian.