Skip Navigation

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

Problem:
The client is facing two issues with their multilingual site using WPML and Funnel Kit. First, Elementor cannot load the editor for the French version of the checkout due to a cross-origin error. Second, the default English language checkout incorrectly loads the French version.
Solution:
1. For the Elementor issue, it's likely related to the cross-origin policy. We recommend checking with your hosting provider to ensure that the cross-origin policy is disabled. If problems persist, contact your hosting support to disable the CORS policy.
2. Verify that you have added the correct page IDs in the code snippet to ensure that the correct language version loads.
3. Ensure that the French checkout page is created correctly. It should be manually edited and set up as in the English version, even when WPML is disabled.
4. Check the setup on a staging site where different domains per language are not used, as this might resolve the issue.

If these steps do not resolve your issues or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by bikbulatovaE 2 months, 1 week ago.

Assisted by: Dražen.

Author Posts
April 18, 2025 at 6:05 am #16946252

bikbulatovaE

Sniper support for this one.
The fix works like a charm.
Thanks Drazen.

Not sure about this one, but I have here a last issue to fix. You can create a separated ticket also please. I have also wrote to funnel kit support about this.

Funnel kit checkouts translation issue

I followed the tutorial here: hidden link

I then created 1 testing checkout for the french website version in addition to the checkout already optimized for the default English language. With code snippet installed, etc. Just following the detailed process available in the tutorial.

Then, 2 issues occured:
1/ Elementor can't load the editor for the french version of the checkout due to this error (check screenshot). "Blocked a frame with origin "hidden link" from accessing a cross-origin frame"

2/ Default english language, for some reasons, tries to load the french version of the checkout. If you test the website, add product to your cart, go to checkout, you will see the french checkout (blank page with SEO Title "Paiement").

April 18, 2025 at 6:10 am #16946259

Dražen
Supporter

Languages: English (English )

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

Hello,

1) For elementor it is probably related to cross origin policy, if you are using different domain per language, and it is blockign access of files from other (default language) domain. You can check and make sure cross policy is disabled, with your hosting.

2) Can you confirm you have added correct page IDs in the code snippet?

3) Do you have a staging site where I can check and see the issue?

Thanks,
Drazen

April 19, 2025 at 8:12 am #16948631

bikbulatovaE

1/ Issue was fixed already for the cors policy issue, with custom code (issue with fonts/symbols on-page). For this one I'm not sure, in the hta.access is already the code to grant access to other related domains.
2/ yep, all correct
3/ staging.kilim-provenance.com/wp-admin
Access are the same as before (other tickets). I can send them to you one more time if needed.

April 21, 2025 at 5:42 am #16950638

Dražen
Supporter

Languages: English (English )

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

Hello,

1) Sometimes, depending in hosting that is not enough, and you need to ask hthe osting support to disable Cors policy.

If you still have issues, I will open a new ticket for you, but wont be able to handle it, so maybe best would be you open / start a new chat so we can quickly help.

2) I do not have access to staging.kilim-provenance.com/wp-admin, please share it so I can check the issue reported.

Regards,
Drazen

April 21, 2025 at 8:46 am #16951216

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks.

I checked and switched the order in the Funnel kit, and it works fine, but FR checkout page is not created correctly; it is still blank.

It is created manually and like that also when WPML is disabled, make sure to edit and create it correctly as in your EN language.

Regards,
Drazen

April 21, 2025 at 1:42 pm #16951941

bikbulatovaE

It is blank, because I can't edit it. Because there is still some cors policy issue.

Anyway, I still get the french blank checkout while ordering from the english default website. If you did something, it doesn't work.

April 22, 2025 at 5:19 am #16953001

Dražen
Supporter

Languages: English (English )

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

Hello,

Maybe we are not checking the same versions. On the staging site, that I checked it works fine, FR page goes to FR checkout and also you can edit the FR page since the staging site is not using domain per languages.

- hidden link

Please re-check and let me know if you still need my help on this.

Regards,
Drazen

April 22, 2025 at 7:21 am #16953312

bikbulatovaE

Ok, now that's good for me too.
Strange behavior here (checkout pages order).