This recipe sets up a buy 2, get 1 free offer on one product with Dynamic Pricing. It takes a couple of minutes, and the cart totals below were measured on a real cart.
The offer starts at 3 in the cart. Buy 2, get 1 free is a set of three items: two paid, one free.
What you need
↑ Back to top- Dynamic Pricing, activated
- A simple or variable product with a price set
Set up the rule
↑ Back to top- Edit the product and open the Pricing tab in the Product data panel.
- Choose Add rule, then Simple.
- Enter a Name, such as Buy 2, get 1 free.
- Set Kind to Special offer.
- Fill the row: Buy 2, Get 1, Type Percentage discount, Amount 100.
- Tick Repeats.
- Choose Save rule, then update the product.

Percentage discount 100 makes the item the customer gets free. The Price review view shows what a shopper pays at each quantity before you update the product.
What each field does
↑ Back to top| Field | What it does |
|---|---|
| Buy | How many items the customer pays for. |
| Get | How many further items are discounted. |
| Type and Amount | Percentage discount 100 makes those items free. Percentage discount 50 makes them half price. |
| Repeats | Ticked, the offer applies again for every further set. Clear, it applies once per order. |
What the customer is charged
↑ Back to topMeasured on a $30 product with the rule above:
| In cart | Full price | Charged | Free items |
|---|---|---|---|
| 2 | $60.00 | $60.00 | 0 |
| 3 | $90.00 | $60.00 | 1 |
| 6 | $180.00 | $120.00 | 2 |
The cart shows three items at $20 each: a cart line holds one price per item, so the discount is spread across the line.

Variations on the same rule
↑ Back to top| You want | Change |
|---|---|
| One free item per order | Clear Repeats. |
| Buy 3, get 1 half price | Buy 3, Get 1, Percentage discount 50. |
| Buy 1, get 1 free | Buy 1, Get 1. The customer needs 2 in the cart. |
| Wholesale customers only | Under Who, choose the role. |
| A weekend promotion | Fill From and To under Dates. The rule switches itself on and off. |
Any 3 from a category
↑ Back to topMake the offer a store rule to count items across a category.
- Go to WooCommerce › Dynamic Pricing and choose Add rule on the Rules tab, then Simple.
- Fill the name and the offer as above.
- Under Applies to, choose Add filter and pick the category.
- Set Quantities based on to Everything this rule applies to.
- Choose Save rule.
The cheapest items in the cart are the free ones.
Store rules and product rules both apply to a product they share. The Dynamic Pricing documentation shows how rules work together.