Buy 2 Get 1 Free

Hi,
I want to configure a Promotional Scheme/Pricing Rule where if the Customer Buys any 2 Items, he/she will get the third Item (lowest Price) for free

Is this possible out of the box in ERPNext?

https://frappe.io/kb/selling/setting-up-buy-1-get-1-free-pricing-rule

Thanks @kennethsequeira
However it is required to define a Free Item in Pricing Rule or Promotional Scheme,
in my use case, the third Item (item with lowest Price) becomes Free, how do I configure this?

@kennethsequeira I’m encountering the same hurdle. Any advice?

I think you’d need a custom script to accomplish this. It’s a very specific requirement that will need to cover a wide range of variables.

You’ll need to have the requirements listed to cover every possible scenario.

If they purchase seven items, do they pay for five items and get the two cheapest
for free?

Does it scale infinitely?
Are any products excluded?

Once you have the criteria, you can create a custom script to apply a zero rate or 100% discount for the items matching your criteria.

If you list out the criteria, someone may be able to help with the script.