WPML
Status
Resolved
Reported for
WPML Multilingual & Multicurrency for WooCommerce 3.8.1
Resolved in
WooCommerce Multilingual 3.8.2

Overview of the issue

Because of changes in WooCommerce, the Widget for cart is not updating correctly with data when switching languages.

 

Workaround

As a workaround you can replace in /woocommerce-multilingual/res/js/ the files cart_widget.js and cart_widget.min.js with this code:

jQuery(document).ready(function($){
    try {
        var cart_hash_key = wc_cart_fragments_params.ajax_url.toString() + '-wc_cart_hash';

        if (sessionStorage.getItem(cart_hash_key) == '') {
            sessionStorage.removeItem('wc_fragments');
        }
    } catch(err){
        //console.log(err.message);
    }
});

All known issues →