While adding set of configurable products to cart, it gets added and showing correct data in checkout/cart page, whereas in mini cart it is showing zero price for all the configurable products except the first item.

Please check the attachment for your reference.

enter image description here

2 Answers 2


Finally, I found a solution to the above-mentioned issue. While adding multiple items to the cart save() function should be outside the loop.

/* keep this outside the loop */ 

You Just need to update your add to cart action into your controller file.

Move your below code


After completed your Foreach loop.

It's working for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.