Resolved
Reported for: WPML Multilingual & Multicurrency for WooCommerce 3.8.1
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);
}
});
Hi thanks for the workaround unfortunately this piece of code doesn’t work on my side.
Hello, if this workaround is not working for you – please open a new ticket in our support forum so that we can investigate it and see how we can help your case.