Debug Magento Mini Cart
If we want to debug the Js Mini Cart, you find the js - minicart.js
, for example: pub/static/frontend/Magento/luma/en_US/Magento_Checkout/js/view/minicart.js
.
Using Chrome to debug
We can debug with Chrome.
Try with the latest Magento version
I checked with Magento 2.1.1 version, seem they fixed this problem.
The new function getCartParam('summary_count')
will be used.
data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading">