Skip Navigation

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

Problem:
The client is experiencing an issue where shipping methods are not displayed or are limited when switching the site from French to English. This occurs after adding items to the basket and attempting to checkout, with the problem persisting in private browsing mode as well.
Solution:
We recommend clearing the WPML cache by navigating to WPML > Support > Troubleshooting. Additionally, clear the cache from the W3 Total Cache plugin. It's also advisable to check for any server-related caches and clear them too. If after performing these steps the issue still persists, please open a new support ticket with us.

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

Last updated by Laura 1 year, 6 months ago.

Assisted by: Laura.

Author Posts
October 17, 2023 at 5:08 pm #14596729

djamalC

Hello,

I've had my site set up in English (default language French) for a while now and I've just realised that when I switched the site to English no shipping method was displayed (or only the worldwide relay choice was proposed).

This happens when I'm in French and have items in my basket. If I switch to English the delivery methods disappear (whatever country I choose).
The same thing happens if I'm in private browsing and I go directly to the English site. Once I've added my items to the basket, there are no delivery options.

I've seen that this could be due to the fact that the shipping settings are in French and that only French-speaking countries will display a delivery method. Example: "Allemagne" OK and "Germany" not.

I didn't really understand everything, hence my post.

To reproduce the problem :
- switch to French
- add an item
- go to checkout
- choose a delivery country (e.g. Germany)
- check that a delivery method is offered
- switch to english and the problem should appear ==> no delivery mdoe for germany

hidden link

Thanks for your help

Capture d’écran 2023-10-10 à 23.24.40.png
Capture d’écran 2023-10-10 à 22.33.17.png
October 19, 2023 at 10:36 am #14613921

djamalC

The problem is very bloquant as my international client can't do orders. Thanks for your help

October 19, 2023 at 1:49 pm #14615847

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

thanks for contacting us.

First of all you should increase your WP Memory Limit https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-can-i-increase-my-sites-memory-limit

Second, what are your shipping settings? Can you provide us some screenshots?

October 19, 2023 at 2:46 pm #14616339

djamalC

Hi,
Thanks for your reply.
It's done I have increased the WP MEMORY LIMIT to 130M.
Here are my shopping settings. I have enabled few european countries, gathered them by zones and added them some shipping methodes (Free shipping, Mondial relay, direct delivery)

Capture d’écran 2023-10-19 à 16.43.53.png
Capture d’écran 2023-10-19 à 16.43.18.png
Capture d’écran 2023-10-19 à 16.42.59.png
October 19, 2023 at 2:48 pm #14616507

djamalC

here is a similar topic. Maybe the answer is there ? https://wpml.org/forums/topic/shipping-method-not-displaying-translated-language-immediately/

October 20, 2023 at 11:12 am #14622775

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Are you using the hook mentioned on the ticket? If not, then it's not the same issue.

Do you have a staging site we can test with?

October 20, 2023 at 12:44 pm #14623623

djamalC

Oula I have no idea. I am not really sure to understand what that ticket talks about..
And we do not have staging site.
Maybe I can give you our admin access in privet to connect the website ?

October 20, 2023 at 5:35 pm #14626371

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

If you're not sure what the ticket is about, then it's likely not your issue.

I can check your site but we can't do tests on live sites, so probably I will need a copy.

October 23, 2023 at 10:40 am #14636895

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

It's a cache issue. I tried in incognito and the problem doesn't appear.

Please try flushing the WPML cache in WPML > Support > troubleshooting and also to delete the cache from W3 Total cache plugin and see if it helps.

Also check if there are any server related caches and delete them as well

October 23, 2023 at 1:10 pm #14638405

djamalC

Hi, Looks like it works now thanks 🙂