Set up a buy one, get one free offer ​

A product discount pricing rule adds a free Item to a sales document when the customer buys a qualifying Item. The free Item can be the same Item or another one.

Prerequisites ​

  • The qualifying Item and the free Item, with selling prices.
  • Stock of the free Item, if it is a stock Item. A free Item still leaves your warehouse.

Create the rule ​

  1. Open the Pricing Rule list and select Add Pricing Rule.
  2. Enter a clear title, for example "Buy a sleeve, get one free".
  3. Set Apply On to Item Code and add the qualifying Item.
  4. Select Selling. Add party conditions if the offer is limited.
  5. Set Price or Product Discount to Product.
  6. Set Min Qty (As Per Stock UOM) to 1.
  7. In the Product Discount Scheme section:
    • Select Same Item to give the purchased Item free.
    • Otherwise, select the Free Item.
    • Set Qty to 1.
  8. Set the validity dates, then save.

To give one free unit for every unit bought, select Is Recursive and set Recurse Every (As Per Transaction UOM) to 1.

Variants ​

OfferSettings
Buy one, get the same Item freeSame Item selected, Qty 1
Buy one, get another Item freeSame Item cleared, Free Item selected
Buy 2, get 1 freeMin Qty 2, Qty 1
Offer on a whole Item GroupApply On set to Item Group

Test the offer ​

  1. Create a Quotation or Sales Order for a qualifying customer.
  2. Add the qualifying Item with the minimum quantity.
  3. Save. ERPNext adds the free Item on a new row with a zero rate.

If you delete the free row while the condition still applies, ERPNext adds it again when you save. Change the quantity or disable the rule instead.

The free row goes to the Delivery Note with the other rows, and stock leaves your warehouse.

Troubleshooting ​

ProblemCause and fix
No free row is addedThe rule is disabled, expired, or one of its conditions does not match.
The free row comes back after you delete itThe condition still applies.
Submission fails for lack of stockThe free Item has no stock in the warehouse.
Two offers applyAnother rule or promotional scheme also matches. Check priorities.