Pricing Rule - apply on total Quantity for all Variants

it seems a Pricing Rule is applied per Invoice line.

  • so, if you have a discount for quantities >100 this discount will be applied if any of the invoice lines alone is >100
  • if you have 2 Variants of the same item with 51 pcs each, the base price is applied to each Variant, not the discounted price.

Is there any way to apply the discounted price on the total quantity of a base item (all variants in the invoice together)?

This would especially sound logical when an item price is defined for the item template and not the individual variants.

The Pricing Rule has been set in the item template? And each variant? The other thing to try might be to put the item in a group and select Item Group from the Apply On dropdown in Pricing Rule.

I created an issue for something like this a while back - cumulative itemGroup discount on Pricing Rules · Issue #15306 · frappe/erpnext · GitHub - but I don’t think it is a priority feature

  • the item price is only set in the template
  • the pricing rule is only set in the template

that sounds interesting, will check it out.

Hi…This is the way that i managed to apply the discounted price on the total quantity of a base (template) item:

Hope this helps.

1 Like