ROOM64 / KNOWLEDGE / ERPNEXT

Setting up "Buy 1 Get 1 Free" Pricing Rule

Use a Product Discount Pricing Rule to add a free item when a transaction meets a purchase condition. The free item can be the same Item or a different promotional Item.

อ่านต้นฉบับที่ ERPNext Official Docs ↗
เอกสารอ้างอิงภาษาอังกฤษเนื้อหาจากเอกสาร ERPNext คงรายละเอียดและโค้ดตามต้นฉบับ · ต้นฉบับอัปเดต 2026-07-25 ชื่อเมนูและ DocType ที่ใช้ได้ขึ้นอยู่กับเวอร์ชันและรุ่นที่ทีมใช้งาน

Selling · งานขาย · Setting up "Buy 1 Get 1 Free" Pricing Rule

สารบัญในหน้านี้

Use a Product Discount Pricing Rule to add a free item when a transaction meets a purchase condition. The free item can be the same Item or a different promotional Item.

Before you begin

Create or confirm:

  • The qualifying and free Items .
  • Selling Item Prices .
  • Sufficient stock for the free Item when it maintains stock.
  • The eligible Customer, Customer Group, Territory, or campaign when the offer is restricted.

Test the rule on a demo transaction before enabling it for users. Product Discount rules can re-add a free row when users remove it while the qualifying condition still applies.

Create a Buy 1 Get 1 Free rule

  1. Open the Pricing Rule list and select Add Pricing Rule .
  2. Enter a clear title, such as Buy AeroBook Sleeve, Get One Free .
  3. Set Apply On to Item Code and add the qualifying Item.
  4. Set Price or Product Discount to Product Discount .
  5. Set the minimum quantity to 1.
  6. In the Product Discount section:
  • Enable Same Item when the purchased Item is also free.
  • Otherwise select the free Item.
  • Set Free Qty to 1.
  1. Configure the Selling or Buying applicability, party conditions, dates, and priority.
  2. Save and enable the rule.

A Product Discount Pricing Rule configured for Buy 1 Get 1 Free.

Test the offer

  1. Create a new Quotation or Sales Order .
  2. Select an eligible Customer and add the qualifying Item.
  3. Enter the minimum qualifying quantity.
  4. Save or select Apply Pricing Rule when required by the form.
  5. Confirm that ERPNext adds the free row with a zero rate.

The dot before an Item Code shows stock availability at a glance: green means in stock and red means out of stock.

Use the highlighted pencil icon to open the full child-row editor when you need to verify fields that are not shown in the grid.

Same-item and different-item offers

OfferConfiguration
Buy one, get the same Item freeEnable Same Item and set Free Qty
Buy one Item, get another Item freeLeave Same Item disabled and select the free Item
Buy several units, get one freeSet the qualifying minimum quantity and Free Qty
Apply the offer to an Item GroupApply the condition to the Item Group and test every eligible Item

Stock and fulfilment

A zero-rate promotional Item can still require stock. Verify availability before launching the offer and include the free row in downstream Delivery Notes and stock updates.

If insufficient stock prevents submission, replenish or change the offer. Do not delete the free row and assume the Pricing Rule is satisfied, because ERPNext can fetch it again.

Rule priority and overlap

Review other Pricing Rules, Promotional Schemes , and Coupon Codes that could match the transaction. Use clear validity periods and priorities, then test whether offers should combine or remain exclusive.

Troubleshooting

ProblemWhat to check
The free row is not addedConfirm the rule is enabled and all item, party, quantity, date, and transaction conditions match
The free row returns after deletionThe qualifying condition still applies; change the transaction or disable the rule
Submission reports insufficient stockCheck stock for the free Item and selected Warehouse
More than one promotion appliesReview overlapping rules and priorities
The wrong Item is freeReview Same Item and the selected free Item

Frequently asked questions

Can the free Item differ from the purchased Item?

Yes. Leave Same Item disabled and select the promotional Item.

Can I set Buy 2 Get 1 Free?

Yes. Set the minimum qualifying quantity to 2 and Free Qty to 1.

Does the free Item appear on delivery documents?

Yes, when the mapped document includes the promotional row.

Can the free Item have a non-zero rate?

A Product Discount free row is intended to carry a zero promotional rate. Use a Price Discount rule for a reduced, non-zero rate.

เนื้อหาเอกสารอ้างอิงและภาพประกอบมาจาก ERPNext / Frappe Official Docs · บทความแนะนำภาษาไทยเรียบเรียงโดย Room64 · เว็บไซต์นี้เป็นคู่มือประกอบการใช้งานโดย Room64 · เอกสารทางการ ↗

มีงานที่อยากให้ Software, AI หรือ Automation ช่วยอยู่ไหม?

เล่า workflow หรือปัญหาที่ทีมกำลังเจอ เราช่วยดูได้ว่าควรใช้ระบบสำเร็จรูป เชื่อมเครื่องมือเดิม หรือพัฒนาเพิ่มเฉพาะส่วนไหน

คุยกับเราทาง LINEhello@room64.net