Skip Navigation

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

Problem:
If you're experiencing issues with shipping cost calculations in the translated version of your WooCommerce store, specifically for the EU zone, where the shipping cost cannot be calculated while other zones work fine, follow the steps below for a potential fix.
Solution:
1. Go to your shipping settings.
2. Change the shipping calculation from "per order" to "per class".
3. Save the changes.
4. Then, switch it back from "per class" to "per order" and save again.
5. Test to confirm if the issue is resolved.

Please note that this solution might be irrelevant if it's 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.

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 4 replies, has 1 voice.

Last updated by Rico Heinrich 4 days, 8 hours ago.

Assisted by: Bruno Kos.

Author Posts
March 24, 2025 at 6:44 am #16849745

Rico Heinrich

Background of the issue:
I am trying to set up shipping zones in WooCommerce with different shipping costs for Germany, EU, outside EU, and Rest of World. In the checkout of the translated version of our store (English), the shipping cost for the EU zone cannot be calculated. This issue does not occur in the original version of our store (German), where it works for all zones, including the EU zone. Link to a page where the issue can be seen: hidden link

Symptoms:
On the translated site, the shipping cost for the EU zone cannot be calculated, while it works for all other zones and in the original German version.

Questions:
Why is the shipping cost for the EU zone not being calculated on the translated site?
How can I fix the shipping cost calculation for the EU zone in the translated version?

March 24, 2025 at 8:18 pm #16853922

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

While one of my teammates handles your ticket, I will provide you with initial debugging steps.

Please update your WPML plugin and add-ons to the latest version, 4.7.2, to benefit from the latest bug fixes and improvements. This may not necessarily resolve your problem; however, we need to work on the newest code available to troubleshoot the issue best.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.

Please remember to backup your database before you proceed.

Let us know if the issue persists after an update has been done.

March 25, 2025 at 9:02 am #16855545

Rico Heinrich

Thank you, I did the update. The problem persists though.

March 27, 2025 at 6:18 am #16866074

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Did you only set shipping zones like this, so within WooCommerce -> Settings -> Shipping zones? I tried this on my localhost and it works properly without any additional setup needed.

Can you please check if this issue appears when:

- only WPML plugins and WooCommerce (disable all the other WooCommerce addons) are activated, as it will tell us if there is an interaction issue with other plugin
- theme is set to a WordPress default like Twenty Twenty as it will tell us if there is an interaction issue with your theme

Maybe Germanized or some other WooCommerce plugin on your site affects this somehow.

shipping zones.png
translated language.png
March 27, 2025 at 7:17 am #16866243

Rico Heinrich

Thank you.

- Yes, the shipping zones are set up that way.
- I deactivated almost everything including Germanized and changed the theme.

However, the issue is still there.

Bildschirmfoto 2025-03-27 um 08.15.03.png
Bildschirmfoto 2025-03-27 um 08.12.50.png
March 27, 2025 at 7:53 am #16866538

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Would you be willing to provide me with WordPress credentials so I could investigate the issue directly?

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

I marked your next reply as private so that you can safely add credentials.

March 27, 2025 at 11:05 am #16867900

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

I am checking this with our 2nd tier and will keep you posted.

March 28, 2025 at 7:13 am #16871135

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

To troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size.

You can find more information about the process here:
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#get-help-from-support

Please confirm if this approach is acceptable to you!

March 28, 2025 at 7:39 pm #16874453

Rico Heinrich

Yes, please go ahead. I deleted the order data so you can make a copy now.

March 31, 2025 at 11:57 am #16879132

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

This has been escalated to our 2nd tier team team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

April 1, 2025 at 1:05 pm #16883012

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

The issue seems to resolve itself after editing the shipping property—specifically by changing the setting from "per order" to "per class", and then switching it back to "per order". This effectively resets the configuration. We already applied this fix on your staging site, so you can test it there.

1. Go to your shipping settings.
2. Change the shipping calculation from "per order" to "per class".
3. Save the changes.
4. Then, switch it back from "per class" to "per order" and save again.
5. Test to confirm if the issue is resolved.

image.png
April 2, 2025 at 6:45 am #16885497

Rico Heinrich

This works perfectly, thank you very much!