Skip Navigation

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

Problem:
The client was facing an issue where different shipping costs set for shipping classes in each currency were not reflecting correctly on the cart/checkout page. Instead of the expected 3999kr, the shipping cost displayed was 299kr.
Solution:
We advised the client to ensure that the shipping classes were translated correctly by following the steps in our documentation: https://wpml.org/documentation/related-projects/woocommerce-multilingual/#shipping-classes.
We also recommended updating all outdated plugins and resetting WPML's language tables. This involved creating a full site backup, updating plugins, and performing specific WPML troubleshooting steps to reset and repopulate language settings.
For products existing only in one language, we guided the client to adjust settings under WPML -> Settings -> Post type translation to ensure only translated products are shown in secondary languages.

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 further assistance is needed, 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 0 replies, has 0 voices.

Last updated by Carlos Rojas 3 days, 4 hours ago.

Assisted by: Carlos Rojas.

Author Posts
January 8, 2025 at 1:27 pm #16573634

todorM

Background of the issue:
I set different shipping costs for shipping classes for each currency, but on the cart/checkout page, I still see prices for the default currency. The issue can be seen on these pages: hidden link, hidden link. I expected to see 3999kr as the shipping cost, like on the screenshot hidden link.

Symptoms:
Instead of the expected 3999kr (hidden link), I got a shipping cost of 299kr as shown in the screenshot hidden link.

Questions:
Why are the shipping costs not reflecting the set currency values on the cart/checkout page?
How can I ensure the correct shipping cost is displayed for each currency?

January 10, 2025 at 10:20 am #16581305

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

Please double-check if you have followed the steps described in this section: https://wpml.org/documentation/related-projects/woocommerce-multilingual/#shipping-classes to translate the shipping classes correctly.

Regards,
Carlos

January 10, 2025 at 1:00 pm #16582139

todorM

Hello, as you can see, all shipping classes translated correctly (screenshots hidden link, hidden link). I can provide you admin access so you can check it. I translated all shipping classes and set different shipping prices for each currency. Also, I tested it in the checkout, so I can confirm that correct billing/shipping country was selected

January 13, 2025 at 10:28 am #16587651

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thank you very much for your message.

1.- I would like you to share a link to a video where you walk me through the configuration and the issue. That way we will be 100% sure to understand the issue and start to isolate its cause.

2.- Also, I would like to take a closer look at the configuration, so I have set your next message private so you can securely share the access credentials to the site.

Please don't forget to create a full site backup that you can restore if necessary.

January 16, 2025 at 9:40 am #16600889

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you very much for sharing the screencast and the credentials requested.

Before we continue I need to ask you to follow these steps:
- Create a full site backup
- Update all outdated plugins that appear in this link: hidden link
- Go to WPML -> Support -> 'troubleshooting' link -> Select 'This operation will reset WPML's language tables and reinstall it. Any custom languages that you added will be removed.' and click on the 'Clear language information and repopulate languages' button
- Go to WPML -> Languages -> 'Site Languages' section -> Click on 'Edit Languages' link -> Rename the languages (the previous steps set the languages default names back)
- Double-check if the issue disappeared

Could you tell me the results of the steps described above?

January 16, 2025 at 11:03 am #16601538

todorM

You said "Any custom languages that you added will be removed" we can't do it. If we need it only for test, I can copy the site to the staging and do it there.

I actualized the staging hidden link, so we can test it there. But I don't understand for why we should remove all languages. Also I need to provide you protection credentials, so please make next message private

January 16, 2025 at 12:53 pm #16601992

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi,
This troubleshooting step must be applied because there is an issue in the database, but it will only remove custom languages.

I have set your next message private so you can share the access credentials to the staging site, including the server protection credentials and I will run the tests there on the staging site.

January 17, 2025 at 11:44 am #16605916

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thank you for creating the staging site.

Please watch this video where I describe the steps I followed to solve the problem: hidden link

January 20, 2025 at 10:45 am #16612625

todorM

Thank you so much for your response, when I changed the shipping cost to manual it worked as expected, but I still have a few questions.
Yes, the staging is soooo slow sometimes, it's a problem with the hosting, we know about it. Ohhh, it really was our problem that we didn't notice that the dropdown had the wrong selection, sorry for that.
Because of some issues, we have different products for all languages, so some products exist only for the FR language and some only for EN, etc.
I did not completely understand what we should do with custom languages(US, UAE) and why?

January 20, 2025 at 11:05 am #16612744

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi,
I'm happy to hear that the original issue was solved 🙂

To have products that exist in only one language, you need to go to WPML -> Settings -> Post type translation and set the products to the first column (left column). That way only translated products will be shown in secondary languages.

If you want to display the untranslated products in the secondary languages, then you will need to use the column in the middle (in the configuration from the previous paragraph) as described in this link: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/

January 22, 2025 at 2:27 pm #16623681

todorM

ok, thank you for your help

January 22, 2025 at 2:32 pm #16623693

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to assist you.

Have an excellent day!