[Resolved] Issue with wpml and elementor mini cart
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was facing an issue where the mini cart on their bilingual website did not display the correct language or redirect to the appropriate pages when switched from Greek to English, despite all pages being correctly translated. Solution: We identified that in the WPML settings, the option 'Adjust IDs for multilingual functionality' was not selected. We enabled this setting by navigating to WPML -> Languages -> Make themes work multilingual and selecting 'Adjust IDs for multilingual functionality', then saving the changes. This adjustment ensured that the mini cart displayed messages and redirected correctly according to the selected language.
If this solution does not resolve your issue, or if it 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 the problem persists, please do not hesitate to 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.
Background of the issue:
I am trying to ensure that the mini cart on fossedrasi.gr works correctly in both Greek and English. The issue can be seen on this page: hidden link.
Symptoms:
When the site is in Greek, everything works as expected with Greek messages and redirects. However, when switched to English, it still shows Greek messages and redirects to Greek checkout and cart pages, despite all pages being translated correctly.
Questions:
What is the solution to ensure the mini cart displays the correct language and redirects to the appropriate pages?
This ticket has been inactive for quite a while. I didn't get a reply from you. You seemed to be disconnected. So, I've transformed this chat into a support ticket because you may still need our help. If you do, please reply to this ticket, and one of our supporters will continue helping you.
If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply. Please explain to me where you added the mini cart element.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
I have disabled all plugins except elementor and wpml and issue remained.
I removed the minicart from the menu but you can try the same by buying a products.
i.e. in English:
1. Go here hidden link
2. Add Membership to cart.
3. navigate to cart (all are in the footer menu): hidden link (this works like that but... try to do view cart from that page banner above the checkout fields. you will see it points to the hidden link (greek).
The same thing happens with any other page. Also when Checkout is complete, while in English, it shows the Greek Order completion page.
In WPML -> Languages -> Make themes work multilingual, the option 'Adjust IDs for multilingual functionality' was unselected. I selected it and clicked the Save button. Please see the attached screenshot. Now, when I follow the steps you gave me and click the 'View Cart' button in the banner, I get to the English cart page. Please see the attached screenshot.
Can you please confirm that this problem is solved now?
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.