Skip to main content
2 of 2
Commonmark migration

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.

enter image description here

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">
Khoa TruongDinh
  • 32.3k
  • 11
  • 90
  • 156