kirilkirkov / Ecommerce-CodeIgniter-Bootstrap

Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
MIT License
1.28k stars 944 forks source link

Fixed bug in shopping cart badge counter #216

Closed bpiltz closed 3 years ago

bpiltz commented 3 years ago

I saw that sometimes the counter of the shopping cart badge was counting more items than were in the cart actually. I mean really wrong like there was one in the cart with quantity one and it was showing "2".

I fixed it in this commit in file application/libraries/ShoppingCart.php: 812a3ad6b5f2b78d3381ba1d2925e4d4f1b735b3