Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3498 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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 Terkait Replies Tampilan Aktivitas
0
Okt 24
1373
1
Jul 24
3129
0
Agu 23
1829
1
Mar 23
4131
0
Jan 23
9