Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.
Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.
Schlagwörter: Bug
Dieses Thema enthält 8, hat 0 Stimmen.
Zuletzt aktualisiert von Lucas Vidal de Andrade Vor 4 Wochen, 1 Tag.
Assistiert von: Lucas Vidal de Andrade.
| Author | Posts |
|---|---|
| April 28, 2026 at 15:26 #18000565 | |
|
angelab-15 |
Hi, I’m experiencing an issue with WooCommerce shipping classes in a multilingual setup. Setup: WooCommerce Shipping costs are not calculated correctly when products have a shipping class assigned (worked fine until last week): With shipping class → 0€ shipping (not calculated) 👉 When Elementor Pro is deactivated, everything works correctly in German 👉 On a staging site, I also tested without any Elementor WooCommerce templates (using only native WooCommerce shortcodes [woocommerce_checkout]) What has already been tested (WPML related) It seems that: 👉 Shipping classes exist and are translated correctly Possibly due to interaction between: WPML taxonomy handling Thanks in advance for your support. Angela |
| April 29, 2026 at 10:47 #18002421 | |
|
Lucas Vidal de Andrade WPML-Unterstützer seit 11/2023
Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português ) Zeitzone: Europe/Vienna (GMT+02:00) |
Hello there Angela, Thank you for sharing the details. Since the error is occurring only on the default language, when Elementor is active, please check if the issue persists when Elementor is active AND WPML is deactivated. Let me know the results. Regards, |
| April 29, 2026 at 11:19 #18002596 | |
|
angelab-15 |
Hello Lucas, |
| April 29, 2026 at 12:54 #18002871 | |
|
Lucas Vidal de Andrade WPML-Unterstützer seit 11/2023
Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português ) Zeitzone: Europe/Vienna (GMT+02:00) |
Thanks for sharing. I would like to look at this directly on your site. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible. The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it. I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you. IMPORTANT Please make a backup copy of the site files and database before giving us access. - If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this: versteckter Link |
| April 30, 2026 at 8:33 #18004805 | |
|
Lucas Vidal de Andrade WPML-Unterstützer seit 11/2023
Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português ) Zeitzone: Europe/Vienna (GMT+02:00) |
Hello there, The issue seems to come of a more complex conflict. Here's what I found so far: 1. When all plugins are activated it does not work: I'm getting a second opinion with my colleagues and will get back to you once I have new updates. |
| April 30, 2026 at 8:39 #18004834 | |
|
angelab-15 |
Hello Lucas, thank you. Looking forward hearing from you. Angela |
| April 30, 2026 at 8:45 #18004855 | |
|
angelab-15 |
I'm just remembering. There was a problem before with Smart Coupons and WPML. The free gift functiion did not work correctly in second language. I had given this code from WPML Support which is still active: add_action( 'wpml_language_has_switched', function () { $sc = WC_SC_Coupon_Actions::get_instance(); foreach ( WC()->cart->get_cart() as $key => $item ) { $pid = isset( $item['product_id'] ) ? (int) $item['product_id'] : 0; WC()->cart->cart_contents[ $key ] = $sc->modify_cart_item_data( $item, $pid, $vid, $qty ); WC()->cart->calculate_totals(); |
| Mai 1, 2026 at 8:19 #18007407 | |
|
Lucas Vidal de Andrade WPML-Unterstützer seit 11/2023
Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português ) Zeitzone: Europe/Vienna (GMT+02:00) |
Thank you for sharing this detail. It indeed might be relevant here. I shared that with the devs and will keep you up to speed. |
| Mai 8, 2026 at 11:12 #18022596 | |
|
Lucas Vidal de Andrade WPML-Unterstützer seit 11/2023
Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português ) Zeitzone: Europe/Vienna (GMT+02:00) |
Hey there, Thank you for waiting. Upon checking, we noticed that the code you provided was actually the culprit. Since this now has been fixed by the authors, the code is no longer necessary. Please remove the code and update all of your plugins. This should fix the issue. Let me know if you have any questions. |