1

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

0

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 */ 
 $this->cart->save();
0

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

Move your below code

$cart->save();

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 that you have read and understand our privacy policy and code of conduct.

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