Reputation: 1
I'm sitting with the problem described in the title.
Our site has different customer groups, but for the sake of simplicity I'm only going to use 2 example groups - Wholesale and Retail.
To replicate the issue I do the following:
Simple products are fine though.
Clicking the "Update Shopping Cart" button on the cart fixes the issue, but this isn't really a solution.
Is this a magento bug? Is there a fix?
Upvotes: 0
Views: 876
Reputation: 1329
when products have been added to a cart, their data is copied into a quote. this is normal and is done to ensure transaction consistency.
The question is what action triggers customers group to change? If this is something that happens in frontend, then cart have to be made aware of that by
$cart = Mage::getModel('checkout/cart')->getQuote();
$cart->setTotalsCollectedFlag(false)->collectTotals();
Upvotes: 0