Pricing Rule - Max Quantity-

Hi,

Any comment would be appreciated, I’m trying to figure if I’m making any mistake or if it is a bug.

I’m setting a cumulative Pricing Rule, like:

  • 5th piece is 100% free
  • 10th is 100% free
  • 15th is 100% free… and so on.

The rule applies perfectly at Min Qty setup, but the Max Qty is always passed + 1. I mean, what the Pricing Rule is doing:

  • 5th and 6th pieces are 100% free
  • 10th and 11th are 100% free
  • 15th and 16th are free… etc.

Min Qty and Max Qty, have the same number. Max Qty can’t be less than Min Qty. Also tried to avoid using Max Amount, but nothing happens.

Thanks again. I hope you’re doing well.

Try Promotional Scheme

Thanks for suggestion.

But, when Promotional Scheme is saved, it’s automatically also created a Pricing Rule.

Same result…

If I’m not doing something wrong, it’s not working per manual instructions.

Try on Product discount slab

Is this want you want : on sales order


No. A Product Discount Slab adds extra piece(s) depending on Min Qty / Max Qty condition.

Instead, Price Discount Slab sets a price or discount to an item depending conditions set at Min Qty / Max Qty / Min Amount / Max Amount.

However I tested using Product Discount Slab and has exactly the same issue: Max Qty is always passed + 1. Definitively it’s an issue.

https://github.com/frappe/erpnext/issues/23312