Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

Tagged: 

This topic contains 0 replies, has 1 voice.

Last updated by Andreas W. 23 hours, 43 minutes ago.

Assisted by: Andreas W..

Author Posts
March 4, 2025 at 2:27 pm #16774641

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Take kindly note, that I already took a local copy of your site and ran a troubleshooting. Also, take note that I am a Senior Supporter with 6+ years of experience.

When reporting an issue, please always be as detailed as possible. I only took a copy of the site and tested it with the products that already were inside the cart.

You did not mention that the issue only occurs for one specific shipping class. Also, take note that it would be kind of uncommon for a bug issue to occur only on one shipping class and on others not. This means the issue could be also related to your WooCommerce settings and not be caused by WPML.

On the copy of your site, I was able to confirm the issue, even with both products on the cart. The issue disappeared, as explained earlier, after disabling and re-enabling all plugins.

Did you give this workaround a try already?

If this does not resolve the issue:

Create a staging site and try running the site with minimal setup to see if the issue persists.

1) Disable any additional plugins that are unrelated to WooCommerce, WPML, and our add-ons and test again. If the issue persists, let me know, and I will provide a WPML test site on which we can replicate the issue for further investigation.

2) If the issue goes away, start reactivating the plugins one at a time, or activate them in small groups. This way, check where the issue reoccurs to see the plugin that is causing the issue.

3) If this has not clarified the cause of the issue, please switch to a standard theme such as Twenty Twenty-One to see if the issue may be related to the theme.

Once we have identified the cause, we can then try replicating the issue and then escalate it internally. I will provide a test site with WPML in this case.

March 4, 2025 at 6:38 pm #16775641

gerwinV-2

Dear Andreas,

Thank you kindly for the response.

The issue is indeed occuring for one specific shipping class, namely the "ADR" one. After disabling every plugin and only having WPML enabled and woocommerce, the issue still persists. I suspect that the placeholder for the value within the string is not correctly set in the translated instances of the main site.

The value of the ADR shipping class is 9,95 Eur. and that of the normal one is 6,95 Eur.
When you have these two products in the cart, one with ADR shipping and one with normal shipping, it shows the 6,95 Eur. value and not the configured "calculate shipping cost for most expensive class". This indicates that on the translated domain, the value is not properly passed through by WPML to the translated instance of the "ADR" class.

Another occassion where this can be seen is when you just have 1 product that is configured with the "ADR" shipping class. When you go to the cart with this product on one of the translated domains, the shipping cost is either not shown or shown incorrectly.

Any new shipping classes we add to woocommerce seem to suffer the same issue. They work correctly on the main domain but fail to work on the translated ones.

We went through the 3 trouble shooting steps provided by you and they did not fix the issue.

Comment to: "On the copy of your site, I was able to confirm the issue, even with both products on the cart. The issue disappeared, as explained earlier, after disabling and re-enabling all plugins.". As mentioned above, this is the case described with the 9,95 Eur. and 6,95 Eur.

Looking forward to your response.
We also have a staging website ready for you if required.

March 4, 2025 at 9:09 pm #16775989

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Could you please allow me access to this staging site?

I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

March 5, 2025 at 7:26 pm #16780429

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

This seems not to be WPML-related. If I disable WPML, String Translation, and WCML and use WordPress with the site's default language of English, the shipping amount is also Standaard verzending NL: € 6,95.

Maybe you should consult the WooCommerce Support about this.

March 5, 2025 at 7:57 pm #16780471

gerwinV-2

Dear Andreas,

Thank you for looking into the issue.

The default language of the website is Dutch (NL). When you use the Dutch website, the shipping class is working correctly. The issue only seems to appear on the translated domains.

March 5, 2025 at 8:26 pm #16780547

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

I disabled WPML, String Translation and WCML.

By default WordPress was set to English and I can see the same issue.