[Resolved] Shipping class multi-currency doesn't work
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.
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?
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
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.
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?
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
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.
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?
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.
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!
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.