Conditional logic option for product pricing?

I have 10 products. I have product prices, but I also have a freight cost and sell. I don’t want to have a line item for Freight on my customer proposals, so I want to embed the freight cost into my products.

That said, I think that this will require conditional logic, because the freight cost is fixed, but the products on order are not. Therefore when some products are quoted and some are not, I want the freight cost that was proportionately carried in the un-quoted products to shift (add) to the products on the proposal so I can make sure I am capturing my fixed freight cost across the products (rather than embedding the freight entirely into a single product.)

Any advice?

Hello :slight_smile:

you can obtain this behaviour with creating a new Dolibarr’s module, by using a special structure for this logic that will permit to calculate each line products in your documents
you just need a good knowledge of Dolibarr’s mechanismes and structures and of php…

Good continuation