WPML

Overview of the Issue

When using WooCommerce Quantity Manager with WPML, with the multi-currency feature of WooCommerce Multilingual, an order value rule compares the cart total in the shopper’s currency with the amount in the store currency.

Workaround

For the store-wide order value rule, add the following code to the functions.php file of your child theme:

PHP
add_filter( 'option_quantity_manager_global_value', function ( $v ) {
    if ( is_admin() || ! is_array( $v ) ) {
        return $v;
    }
    foreach ( [ 'min', 'max' ] as $k ) {
        if ( isset( $v[ $k ] ) && '' !== $v[ $k ] ) {
            $v[ $k ] = (string) apply_filters( 'wcml_raw_price_amount', (float) $v[ $k ] );
        }
    }
    return $v;
} );

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.