Skip Navigation

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.

This topic contains 6 replies, has 2 voices.

Last updated by CHRISTOS VASILOPOULOS 1 month, 1 week ago.

Assisted by: Itamar.

Author Posts
May 5, 2025 at 1:57 pm #16996599

CHRISTOS VASILOPOULOS

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?

May 5, 2025 at 2:35 pm #16996889

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

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.--

Regards,
Itamar.

May 5, 2025 at 3:59 pm #16997259

CHRISTOS VASILOPOULOS

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.

May 6, 2025 at 8:20 am #17000023

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Based on the steps you provided, I can see the problem on your site.

However, I can't log in to your site. I get this message: Please see the attached screenshot.

Can you please correct this?

Please edit the original private message and add the correct access details.

Thanks,
Itamar.

2025-05-06_11-15-46.jpg
May 6, 2025 at 2:04 pm #17002156

CHRISTOS VASILOPOULOS

Hi. You are right. I typed the wrong password.
However, I click edit but nothing happens. I cannot add the new pass there.

May 6, 2025 at 4:43 pm #17002909

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

This is weird, you're supposed to be able to edit it.
In any case, I'm enabling a private message for the following reply.

Regards,
Itamar.

May 7, 2025 at 8:16 pm #17008826

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for the access details.

I could see the problem you described.

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?

Thanks,
Itamar.

2025-05-07_23-11-43.jpg
2025-05-07_23-10-40.jpg
May 10, 2025 at 2:06 pm #17019109

CHRISTOS VASILOPOULOS

Thank you.