[Resolved] WooCommerce shipping rules not recognized in Dutch language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where no shipping options are available for Dutch language checkout in WooCommerce, using WPML and the plugin 'Advanced Shipping Rates for WooCommerce'. This problem arose after recent updates to WPML, WooCommerce Multilingual, and WooCommerce, even though the shipping configurations have not changed. Solution: We recommend the following steps to troubleshoot and potentially resolve the issue: 1. Ensure that each shipping class has a Dutch translation assigned in WPML. Navigate to WPML → Taxonomy Translation → Shipping Classes. 2. Check for any configuration issues in WooCommerce by going to WooCommerce > WCML > Status. 3. Verify that the Dutch product has the correct shipping class set in the WordPress Editor. If necessary, edit the original product and update its translations using the WPML Translation Editor. If these steps do not resolve the issue, consider simplifying the shipping setup to be based on cart totals instead of shipping classes, as the client chose to do.
Please note that this solution might be outdated or not applicable to your specific case. If the issue persists, 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 needed, do not hesitate to open a new support ticket for further assistance 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.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Question:
Was the default site language recently changed from Dutch to English?
I am asking, as some contents and settings will always be created in the site's default language, and changing the site's default language on a site that already has content and translations can cause unexpected issues in some cases.
Have you tried to edit and save the shipping classes in WooCommerce and then updated the translations at WPML > Taxonomy Translation?
No, the default site language was never changed.
The site was built from the start with English as the default language.
Dutch was added later as a translation language.
I have already tried editing and re-saving the shipping classes in WooCommerce
and checked the translations in WPML → Taxonomy Translation, but this did not resolve the issue.
What is important is that this setup has worked correctly for a long time.
Only after recent WPML / WCML / WooCommerce updates the shipping methods
are no longer recognized when the site is set to Dutch.
In English, the exact same cart and address work correctly.
This suggests that something in WPML/WCML is preventing the shipping rules
from matching the cart in Dutch, rather than a missing translation of the shipping class.
Please let me know what further information you need to investigate this.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I'd like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
You'll find the necessary fields below the comment section if you log in to leave the next reply. The information you provide will be private, meaning only you and I will be able to see and access it.
IMPORTANT
Please be sure to create a backup of the website and database before granting us access.
If you don't see the "wp-admin / FTP" fields, your login credentials for the post and website will be set to "PUBLIC." Do NOT publish the information unless you see the required wp-admin / FTP fields.
I may need to install a plugin called "All In One WP Migration" to create a copy of the website on which I can investigate the problem more thoroughly.
I would also be very grateful if you could provide a staging site on your server for this purpose.
If you have any questions about creating such a staging site, please contact your hosting provider. Please ensure that WPML is also registered on this staging site at https://wpml.org/de/account/websites/.
If you are unable to provide such a copy of the website for testing, please let me know on this ticket.
The private reply form looks like this: hidden link
When replying again, click "I still need assistance".
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any login information that was not specifically provided in the private reply form for this ticket.
At the moment I do not have the time or technical capacity to set up a staging site
or provide full access for investigation.
Before going that route, could you please advise which specific WPML/WCML settings
are most likely to affect shipping rule matching per language?
This setup has worked for a long time, and only stopped working after recent updates,
so I suspect a change in how WPML/WCML handles taxonomies or cart matching.
If you could guide me through the most relevant checks first, I would greatly appreciate it.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hi Eduard,
Please go to WPML → Taxonomy Translation → Shipping Classes and confirm that each shipping class has a Dutch translation assigned.
Also, go to WooCommerce > WCML > Status and check for any given configuration issues that will show up in the top section in case WCML identifies an issue.
Also, revise the actualy dutch product on the WordPress Editor. Does it have the correct shipping class set on the backend? If not, try editing the original product and then update its translations with the WPML Translation Editor.
If those steps do not clarify the cause of the issue, I can offer to log in as admin and take a local copy using "All In One WP Migration" without making any further changes on your site.
You could also install the plugin yourself, create a complete site package, upload it to a service of your choice, and send me a download link.
I have checked all the items you mentioned:
- Shipping class translations
- Product shipping class assignments in both languages
- WCML status checks
- Synchronization of shipping classes
Everything appears to be configured correctly, but the issue in Dutch remains.
Given the time constraints on my side, I have decided to simplify my shipping setup and reconfigure my shipping rules to be based on cart totals instead of shipping classes. This will avoid the current issue in a different way.
For now, you can close this ticket. I appreciate your help and the guidance you provided.