Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3328 Visualizzazioni

I have a scenario as follows:

Product A from Category 1 and Product B from Category 2.

If a customer buys 1 qty of each product, then he/she will get a 10% discount on the cheapest product. This scenario works fine if the customer buys these two products only in that order.

If he/she purchases another product which is not included in the promotion and less than the price of the above two in the same order, then the discount applies to the third product (because of the cheapest price).
How can I handle this situation?

Avatar
Abbandona
Risposta migliore

Hi Balagopal,

I would assume you use the option "Discount Apply On the cheapest product". This option will auto choose the cheapest product in the whole sales order and then apply the discount.

The best solution is to write some code to cover the edge case.

A manual workaround is to manually change the discount price to make it match the cheapest product in the special list.

Avatar
Abbandona
Autore

yes, we are doing some customization to achieve that now. With the default options of Odoo, we can't manage the promotion for the above scenario.

Post correlati Risposte Visualizzazioni Attività
0
ott 24
1257
1
lug 24
2955
0
ago 23
1675
1
mar 23
3948
0
gen 23
9