Now there's no error, but the calculations for categorie 1-30 are still not correct when ordering more than one of the same product.
In the TotalPrice, only the discount price for one product is shown. The calculation doesn't multiply the price. See previously attached image.
Maybe there's another calculation rule for :
(Abs(itmObj.ProductCatID = 31) * (itmObj.Price+(abs(itmObj.Size < 110) * ( ((itmObj.Size-15)/5)) + (abs(itmObj.Size = 110) * (+18)) + (abs(itmObj.Size = 120) * (+19)) + (abs(itmObj.Size = 130) * (+20)) + (abs(itmObj.Size = 140) * (+21)) + (abs(itmObj.Size = 150) * (+22))) )+
The price for products > 110 (size cm) must be increased by 1 (euro) each 10 (size cm).
This calculation worked fine :
(Abs(itmObj.ProductCatID = 31) * (itmObj.Price+(abs(itmObj.Size <= 65) * ((itmObj.Size-15)/5)) + (abs(itmObj.Size > 65) * (((itmObj.Size-65)/10) + 10))))+
The price for products > 65 (size cm) are increased by 0,5 (euro) each 5 (size cm).
But here the max size was 100. Now the max size is 150, so the calculation should be edited.