Buy 2, get 1 free with Dynamic Pricing

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
  1. Edit the product and open the Pricing tab in the Product data panel.
  2. Choose Add rule, then Simple.
  3. Enter a Name, such as Buy 2, get 1 free.
  4. Set Kind to Special offer.
  5. Fill the row: Buy 2, Get 1, Type Percentage discount, Amount 100.
  6. Tick Repeats.
  7. Choose Save rule, then update the product.

The buy 2, get 1 free rule in the Simple editor: buy 2, get 1 at 100% off, repeating.

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
FieldWhat it does
BuyHow many items the customer pays for.
GetHow many further items are discounted.
Type and AmountPercentage discount 100 makes those items free. Percentage discount 50 makes them half price.
RepeatsTicked, the offer applies again for every further set. Clear, it applies once per order.

What the customer is charged

↑ Back to top

Measured on a $30 product with the rule above:

In cartFull priceChargedFree items
2$60.00$60.000
3$90.00$60.001
6$180.00$120.002

The cart shows three items at $20 each: a cart line holds one price per item, so the discount is spread across the line.

A cart with three T-shirts at $30 where one is free, for a total of $60.

Variations on the same rule

↑ Back to top
You wantChange
One free item per orderClear Repeats.
Buy 3, get 1 half priceBuy 3, Get 1, Percentage discount 50.
Buy 1, get 1 freeBuy 1, Get 1. The customer needs 2 in the cart.
Wholesale customers onlyUnder Who, choose the role.
A weekend promotionFill From and To under Dates. The rule switches itself on and off.

Any 3 from a category

↑ Back to top

Make the offer a store rule to count items across a category.

  1. Go to WooCommerce › Dynamic Pricing and choose Add rule on the Rules tab, then Simple.
  2. Fill the name and the offer as above.
  3. Under Applies to, choose Add filter and pick the category.
  4. Set Quantities based on to Everything this rule applies to.
  5. 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.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.