WPML
Status
Resolved
Reported for
WPML Multilingual & Multicurrency for WooCommerce 4.12.0
Resolved in
WooCommerce Multilingual 5.1.0

Overview of the issue

If you are using our WPML Multilingual & Multicurrency for WooCommerce multi-currency feature, you may find cases where products in secondary languages display wrong prices.

This situation is likely to happen if you set a default currency different from the WooCommerce’s default or if you switch currencies in the front-end before translating your products.

Workaround

Our developers are aware of this situation. In the meantime, you can follow this workaround:


  1. Make a full backup of your site before proceeding.

  2. Open the /woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php file.

  3. Look for line 147 and just after:
    public function raw_price_filter( $price, $currency = false ) {


  4. Add:
    $debug = new \WPML\Utils\DebugBackTrace();
            if ( $debug->is_class_function_in_call_stack( 'WPML_TM_ATE_Jobs', 'apply', true ) ) {
                return $price;
            }

All known issues →