Hello,
I have made a custom thank you page and shows well but in the second language don't show the translation of this page and go to the main thanks you page.
the below example well explains what I mean
Main lang -> en
second lang -> ar.
*** Please add the domain link to all links below ***
- when I go to make a Purchase order in en language go to this page,
Thank you for contacting WPML support, I'd be happy to help you with this issue.
For order 8513 which you made in Arabic language, I see the endpoint in the English language is /checkout/order-received/8513/?key=wc_order_cq1EEfRrXiGTq
which is the standard order received (thank you) page of WooCommerce.
For order 8514 which you made in English language, I see the endpoint is
/thank-you/order-received/8514/?key=wc_order_Oh5kSMKHtJQJ4
which is the custom order received (thank you) page.
Please check these screenshots hidden link hidden link
Can you please let me know how you create the custom thank you page on your site? Or help me to replicate the issue on a clean installation of WordPress and WPML. You will be login directly with this link hidden link
Then let me know how to replicate the issue.
Hi,
I create the page using elementor and make it default by going to elementor>Site Settings>WooCommerce pages>Purchase Summary .. and choosing the page.
I can create a custom thank you page on my demo site. However, I do not see that issue. After completing the checkout in the second language, I will be redirected to the translation thank you page.
I suggest you can try two steps below and see if it helps:
1. Enable a minimal environment:
- Deactivate all plugins except WPML, WooCommerce, Elementor and their addon plugins
- Switch to a standard theme of WordPress
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
2. Go to WPML > String Translation > Scroll down and click on "Translate texts in admin screens" > Search for the keyword "elementor_woocommerce_purchase_summary_page_id" > Add it to String translation.
Go back to WPML > String Translation and translate the thank you page ID with its translation page ID. You can find the page ID in the URL, for example:
wp-admin/post.php?post=3457&action=edit&lang=en
If it does not help, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. Your next reply is set to private to share the info.
I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.
I see the issue on your site. It happens when the endpoint "order-received" is translated into the Arabic language. If I delete the translation in WPML > String Translation, the translation thank you page display correctly after completing the checkout.
I'm asking our 2nd tier support about this issue and update you here when I have something to share.