WPML

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

This issue is fixed in WooCommerce Multilingual 5.1.0. Updating solves it on your site, so you only need this workaround if you can’t update yet.

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

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.