The minicart does not display correctly
I made an update so that the minicart badge shows the quantity of products and not the total products in the basket
Everything goes ok but on the model version it always shows the number of products, not the quantity
Is there a minicart component for mobile other than the existing one?
mini-cart.vue const reducer = (accumulator, currentValue) => accumulator + currentValue; this.cartItems = response.data.mini_cart.cart_items; this.cartInformation = response.data.mini_cart.cart_details; this.cartItems.forEach(element => quantity.push(element.quantity)); this.quantity = quantity.reduce(reducer); console.log(this.quantity) Now i show quantity
devansh-webkul last edited by
No, we only have one mini cart component. You need to customize this at your end.