Skip to Content
Former Member
Oct 23, 2018 at 02:31 PM

Recalculate cart with multiple b2bUnit


We are having a problem with this kind of scenario. When we set up more than one b2bUnit for a customer and we applied an user discount group for each b2bunit, hybris show us an error like this:

java.lang.IllegalStateException: Cart model 00055000 was not calculated due to: de.hybris.platform.jalo.order.price.JaloPriceFactoryException: multiple userDiscountGroup values found for user

Anyone knows if are there some way to calculate/recalculate cart regarding the b2bUnit on session? It means, regarding just the b2bUnit selected by customer when its loged in...