cancel
Showing results for 
Search instead for 
Did you mean: 

Mini cart with zero price for all the configurable products except first item

SOLVED

Mini cart with zero price for all the configurable products except first item

Hi,

 

While adding a 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. After refresh also, the mini cart is not showing correct data.

 

Please check the attachment for your reference.

issue.png

 

Help me to fix this issue!

Prema M
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Mini cart with zero price for all the configurable products except first item

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();

 

Prema M

View solution in original post

1 REPLY 1

Re: Mini cart with zero price for all the configurable products except first item

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();

 

Prema M