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 3 replies, has 2 voices.

Last updated by Bobby 3 months, 1 week ago.

Assigned support staff: Bobby.

Author Posts
July 11, 2019 at 5:10 pm #4192179

dianaR

I want to implement a thank you page which is different from each languages, so that I can do a retargeting in the right language.

Do you have suggestions on some plugins or how can I do to easily do it in the different languages?

Many thanks in advance.

July 11, 2019 at 6:07 pm #4192487

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

here you will find the list of all plugins that are compatible with WPML

-> https://wpml.org/documentation/plugins-compatibility/

how are you currently implementing this thank you page ?

here is for example another user thread where they share the snippet they use for a custom thank you page in Woocommerce

https://wpml.org/forums/topic/redirecting-to-custom-thank-you-page-after-purchase-woocommerce/

July 12, 2019 at 2:14 pm #4199587

dianaR

Hi Bobby, thanks for the links. I was thinking about using NextMove Lite plugin https://wordpress.org/plugins/woo-thank-you-page-nextmove-lite/

But according to the user thread link, I can create custom thank you pages for the different languages and then simply add the code:

if(ICL_LANGUAGE_CODE=='fr'){
$url = '<u>hidden link</u>';
}
else {
$url = '<u>hidden link</u>';
}

right? Where should I add this? to functions.php?

July 13, 2019 at 12:06 am #4201909

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

The code would be added to your theme's functions (or your Child Theme's function.php if you use one [recommend way])

from what i understood the user found the code through the linked article and then with using an if else function with our ICL_LANGUAGE_CODE they customized it to work for each language.

if you do try the plugin let me know your results as i am not familiar with it , but i did do a quick search in our database and can see that some users have succesfully used it. The only current known issue was with some meta data fields that we have seen provided a fix to the user

you can also see here that the author added the fixes on their 2.3.0 version therefore this might be a good option

https://wordpress.org/plugins/woo-thank-you-page-nextmove-lite/#developers

The topic ‘[Closed] Different Thank you pages’ is closed to new replies.