Skip to content Skip to sidebar

Resolved

Reported for: WPML Multilingual & Multicurrency for WooCommerce 5.3.6

Topic Tags: Bug, WCML

Overview of the issue

If you are using WPML Multilingual & Multicurrency for WooCommerce with High-Performance Order Storage (HPOS) enabled, the number of decimals is set to zero. It causes the order amount to round to the nearest whole number.

Workaround

Option 1 (Recommended)

Adjust Decimal Settings: Go to WooCommerce > Settings > General and set the decimal number for currencies to a non-zero value. This adjustment will allow for correct rounding of prices.

Option 2

Disable HPOS: Switch to legacy WordPress posts storage mode by navigating to WooCommerce > Settings > Advanced > Features and disabling the High-Performance Order Storage option.

2 Responses to “WPML Multilingual & Multicurrency for WooCommerce - Rounding Issues with Orders when High-Performance Order Storage (HPOS) is Enabled”

  1. Hi! Is there a fix ready soon for this bug? The workarounds do not work, changing decimals to 2 just changes back by itself to 0 again when the WPML plugin is activated. Not being able to set two decimals causes order errors when usgin certain checkout solutions – woocommerce will round the total sum whereas the checkout solution keeps decimals, causing orders to fail. Hope you would have the time to look into this serious issue, thank you!