Home›Support›English Support›[Resolved] WooCommerce Thank you page redirecting to the default language after completing the order in a secondary language
[Resolved] WooCommerce Thank you page redirecting to the default language after completing the order in a secondary language
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing an issue where, a secondary language customer is redirected to the default language thank you page on your multilingual site, Solution: We recommend updating to the latest version of WCML, which is 5.3.2. This version includes a fix for the redirection problem.
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.
I have a problem after some updates. WE use 2 languages on our site (DE and NL). Right now when a german customer buys something he will be redirected to the NL thank you page.
I downgraded WCML to version 5.2.1 and now the issue is gone.
Also another issue now is gone and that's: the admin confirmation e-mail of an order was always send to e-mailaddress of the main language. But for other countries we used a string translation to send the admin e-mailaddress. After updating WCML this didn't work anymore. After downgrading is does again.
New threads created by Noman and linked to this one are listed below:
Thanks for the additional details. I’ve escalated the thank you page redirect issue to our 2nd tier support and I will update you once I hear back about it.
The steps will be as follows:
1. Please take a backup of your site first for safety reasons.
2. Open the wp-content/plugins/woocommerce-multilingual/wpml-woocommerce.php file
3. Around line 128, Change: