I am building woocommerce on 3 sites and on all sites, the cart-widget does not update when adding an item to the cart (AJAX).
After some investigating I found that the widget should have an id="shopping_cart-2" and a class="widget widget_shopping_cart". However, on my sites the widget gets NO id and a class="widget shopping_cart-2"
If I add the class widget_shopping_cart manually to the code, it works fine. But that would mean I have to update that code each time there is an update which is not a good thing. So anyone know what might be the underlying cause?