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.
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").
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?
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.
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.
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.