Hello,
I need to build some custom price logic. On the customer I have a field, lets say 5 which means this customer has 5% reduction from the standard pricelist. It is not a campaign, and should not be displayed as such.
A general B2B pricelist for market “Sweden” will allow this reduction to take place.
A pricelist for just this customer is already reduced and should not allow the reduction in price.
I have some CustomData stored on the PriceList to tell me if a reduction is allowed for this pricelist or not.
Is there any way to achieve this in Litium 8, other than implementing my own PriceCalculator (not decorator)?
I don’t think I can do it with a decorator, because the prices returned from standard PriceCalculator does not say from which price list they came, which is what i need to be able to determine if I am allowed to modify the price or not.
I have trouble decompiling the standard PriceCalculatorImpl into working code, so I will have to ask for the source code from Litium to be able to make my own.
Before I do that, could there be another way?
Litium version: 8