This recipe sets up a mix-and-match offer with Dynamic Pricing: any 3 T-shirts for $100. The customer picks any three from the category. The cart totals below were measured on a real cart.
The set price applies when it saves the customer money. Three shirts that already cost $100 or less stay at their regular prices.
What you need
↑ Back to top- Dynamic Pricing, activated
- A product category for the offer, such as T-shirts
Set up the rule
↑ Back to top- Go to WooCommerce › Dynamic Pricing and choose Add rule on the Rules tab.
- Choose Custom, then Set price.
- Enter a Name, such as Any 3 T-shirts for $100.
- Under Price, leave Quantity at 3 and Total at 100. Leave Set of on Any items and Repeats ticked.
- Under Applies to, choose Add filter. Leave Category and Is, and pick T-shirts under Which.
- Leave Count on Everything this rule applies to, so every shirt in the category counts toward the set.
- Choose Save rule.
The Rules tab shows the rule as Any 3 for $100.00, repeats · T-shirts.
What each field does
↑ Back to top| Field | What it does |
|---|---|
| Quantity | How many items make a set. |
| Total | The price of the whole set. |
| Set of | Any items lets the customer mix products. One of each product asks for different products in the set. |
| Repeats | Ticked, every further set of 3 gets the price too. Cleared, the offer applies once per order. |
| Count | Everything this rule applies to counts the whole category together. |
What the customer is charged
↑ Back to topMeasured with a $40 Logo tee and a $30 Pocket tee in the category:
| In cart | Full price | Charged |
|---|---|---|
| 2 Logo tees | $80.00 | $80.00 |
| 3 Logo tees | $120.00 | $100.00 |
| 2 Logo tees and 1 Pocket tee | $110.00 | $100.00 |
| 1 Logo tee and 2 Pocket tees | $100.00 | $100.00 |
| 4 Logo tees | $160.00 | $140.00 |
| 6 Logo tees | $240.00 | $200.00 |
| 3 Logo tees and 3 Pocket tees | $210.00 | $190.00 |
With 3 Logo tees and 3 Pocket tees, the Logo tees make the set for $100 and the Pocket tees stay at $90, because $90 is already below the set price.
The set price is spread across the items in the set. Three Logo tees show as $33.33 each.
Variations on the same rule
↑ Back to top| You want | Change |
|---|---|
| Any 2 for $50 | Quantity 2, Total 50. |
| One set per order | Clear Repeats. |
| The offer on selected products | Under Applies to, set Filter by to Product and pick the products. |
| A weekend offer | Fill From and To under Dates. |
The Dynamic Pricing documentation shows how rules work together.