window.Ecwid.OnCartChanged.add(function(cart) { // Forces quantity update controls to stay visible and active console.log("Cart updated", cart); });