Skip Navigation

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

Problem:
You are trying to ensure that shipping discount rules remain active across all frontend languages in WPML. The discount rule works perfectly in the Dutch version of your webshop, but when the checkout page is translated (e.g., to French), the rule is no longer applied.
Solution:
We recommend checking the known issue related to shipping methods not appearing on translated cart pages at https://wpml.org/errata/flexible-shipping-pro-shipping-methods-do-not-appear-on-translated-cart/. Additionally, ensure that you have updated your WPML plugins to the latest version to avoid any conflicts or incompatibilities. It is crucial to take a full backup of your website and database before making changes. We also advise trying these steps on a staging or development site first to protect your live website.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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 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 3 replies, has 0 voices.

Last updated by Waqas Bin Hasan 3 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
March 12, 2025 at 2:16 pm #16807644

christelC

Background of the issue:
I am trying to ensure that our shipping discount rules remain active across all frontend languages in WPML. The issue can be seen on this page: hidden link. Our webshop uses standard shipping rates based on weight, and a discount rule grants free shipping for products in two specific categories (‘Vaste Doelen’ and ‘Verplaatsbare Doelen’). We have ensured that all shipping methods and discount rules are correctly configured and synchronized across all languages. We have cleared all site caches and reviewed WPML String Translation, but the issue persists.

Symptoms:
The discount rule works perfectly in the Dutch (NL) version of our webshop, but as soon as the checkout page is translated via WPML (e.g., to French), the rule is no longer applied.

Questions:
Why are the discount rules not applying correctly when switching languages?
How can I ensure that the discount rule applies consistently across all languages?

March 14, 2025 at 12:49 pm #16816891

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

There's a known issue with this, please see https://wpml.org/errata/flexible-shipping-pro-shipping-methods-do-not-appear-on-translated-cart/ for details and the possible workarounds. And see if this works for you?

Other than that I'll recommend updating WPML plugins to the latest version, so that any doubt about a conflict or incompatibility can also be ruled out.

IMPORTANT: Please take full backup of your website and database beforehand. 

It is highly advised to try this on a staging/dev site first, so your live website isn't compromised.

Regards.

March 16, 2025 at 10:52 pm #16822483

christelC

Thank you for your response and for providing the workaround.

We have implemented a similar workaround as described in your example, and the shipping costs now correctly reflect in the French and English versions of the checkout. However, we are still encountering an issue: the "Free Shipping" label does not appear in the cart when switching languages, even though it has been properly translated via WPML String Translation.

We have verified that the translation exists and is synchronized, yet the label remains missing in the translated versions of the cart (see attached screenshot with the red-marked section).

Could you please advise on how we can ensure that the "Free Shipping" label is displayed correctly in all languages?

Scherm­afbeelding 2025-03-16 om 23.37.08.png
Scherm­afbeelding 2025-03-16 om 23.36.07.png
Scherm­afbeelding 2025-03-16 om 23.36.25.png
Scherm­afbeelding 2025-03-16 om 23.35.52.png
March 17, 2025 at 5:30 am #16822877

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates and glad that it worked. Please feel free to close this ticket.

For the other issue, I recommend opening a separate ticket because as per forum policy we can only handle one issue per ticket. So you can get more to the point help, without mixing up several issues in one long ticket.