Conflict with WPML Multilingual & Multicurrency for WooCommerce
-
When a “Tax-Proof” coupon is used, the cart and checkout pages show the correct discounted total. However, on the payment gateway and the “thank you” page, the order total is saved without the discount, even though the discount line item is visible.
What We Tried (and Failed): We have confirmed this is a plugin hook conflict. We have tried multiple custom snippets to fix it, and all have failed. We’ve tried:
- Using
woocommerce_checkout_update_order_metato fix the total. - Using
woocommerce_checkout_order_processed(at priority 99 andPHP_INT_MAX) to fix the total. - Using the
wcml_force_order_total_recalculationfilter to prevent WPML from running.
None of these attempts worked. This means your plugin’s function is running at the very end and overwriting the correct total.
When I disable the WPML Multilingual & Multicurrency for WooCommerce plugin, the coupons work as they should. - Using
You must be logged in to reply to this topic.