Skip Navigation

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 topic contains 8 replies, has 8 voices.

Last updated by krzysztofB-4 3 years, 9 months ago.

Author Posts
April 22, 2018 at 11:39 am #1750091

napatC

I updated WooCommerce Multilingual to version 4.2.10 two days ago. Today I found text replacement problem with the subject of email notification. The {site_title}, {order_number} and {order_date} value does not get replaced it still shows {site_title}, {order_number} and {order_date}.

Before update the plugin it was working fine.

Screen Shot 2018-04-22 at 18.38.08-.png
April 23, 2018 at 9:28 am #1762580

Andrés
Supporter

Languages: English (English ) Spanish (Español ) French (Français )

Timezone: Europe/Paris (GMT+01:00)

Hello there,

Welcome to WPML support forum.

While one of my teammates takes care of your case I will provide you with the first debugging steps.

This issue has already been identified by our developers and while we release a new version, you can try the following workaround:

- Open your /woocommerce-multilingual/inc/class-wcml-emails.php file.
- Comment out (remove) lines 138 and 139 seems to help:

        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.
Andrés

April 23, 2018 at 9:43 am #1763132

napatC

Thank you. I have commented out the 2 lines.

May 11, 2018 at 2:16 pm #2089910

matthewB-10

Has this been fixed yet?

May 28, 2018 at 7:42 am #2236682

franckv-2

Hello WPML Team,
Thank you for the workaround, but I don't like to put too much custom code in my sites.
Do you know if a solution will be integrated in a new release soon ?
Thanks

June 11, 2018 at 9:22 am #2404551

biancaD

This issue has not been fixed yet!
4.2.1 woocommerce multilingual still got the issue!

June 12, 2018 at 3:25 pm #2408738

marcinP-15

Hello, This issue is still not solved. Had to add custom code again after update 🙁

September 12, 2018 at 8:36 am #2726694

T4ng

Any news on that one? The thread is marked as resolved, but last comments state it's not...

November 15, 2018 at 6:44 pm #2911194

krzysztofB-4

Hello

Same problem here. When admin gets confirmation email, there is [{site_title}] Nowe zamówienie klienta ({order_number}) - {order_date} in it - no data inside {site_title} , {order_number} and {order_date}
Plus no order numer in email body.

User emails are ok, just admin email is broken.