cancel
Showing results for 
Search instead for 
Did you mean: 

Cart shows wrong qty in popup

Cart shows wrong qty in popup

When i add some quntity to cart and click on cart button it opens popup but there it shows wrong qty. how can i update it?

i.e. if i add 5 qty to cart and check it shows only one. (How ever total is correct for cart and it shows according to 5 qty)

https://i.imgur.com/pBuuGhv.png

2 REPLIES 2

Re: Cart shows wrong qty in popup

Hello @joy1212 

 

may be your theme issue, so try with default luma theme and check it

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Cart shows wrong qty in popup

Hi @joy1212 

 

Please compare your theme "minicart.js" with default "minicart.js" if there are any changes with this.
Default minicart.js path as below:

vendor/magento/module-checkout/view/frontend/web/js/view/minicart.js

Also check with luma theme if minicart.js is working fine then use the functionality with your theme js.

 

It will help you to resolve issue.

Problem solved? Click Accept as Solution!