Bundle discount
How to Set Up Bundle Discounts
The Bundle Discount is a pricing rule in YayPricing that allows you to create flexible product bundles and offer discounts when customers purchase them together. In this tutorial, we will give you simple steps to set up bundle discounts for customers who want to buy products in bundles. With this feature, you can analyze purchasing needs in your WooCommerce store, create suitable bundles, and implement discount strategies to attract customers.
Let's explore how to set up this promotion: Get 30% OFF when purchasing Three products in the “Modern Lamp” category.
Discussion steps:
Step 1: Create a New Bundle Discount Rule
Navigate to WordPress dashboard → YayPricing. It automatically displays the Pricing Rules dashboard. Then, click Add New Rule to create your own campaign and select Bundle Discount from the rule types.

Step 2: Configure Discount Rule
After creating a new campaign, select “Product Bundle" rule type, and then we go ahead to configure the price discount settings, such as a discount of 30% for 3 products in the cart.
You should also define the affected items of this rule.

Set the discount value and quantity for the bundle product.
Define the affected items of this rule; there are 3 options for you to choose from.
Buy product: This field lets you add the products, which you would like to apply the rule to, such as Product category, product tag, product attribute, etc...
Step 3: Decide Which Items Get Discounted
YayPricing gives you the flexibility to decide how the discount should be applied once the bundle is triggered. Here are the options:
Whole Bundle
The discount applies evenly across all three items. As we set a discount of 30%, this value will be discounted based on the total price of the cart. YayPricing automatically discounts from the first item, until it is completely discounted, then goes to the next item.
See the image below for more details!


Note: You can see how much discount you have received by using the sale badge displayed on the item affected by the discount rule.
Single Item
The discount rule will apply to single items and will not distinguish between identical items. You can see the result on the cart page below!


Even if your cart has more than three items, YayPricing still applies a 30% discount for every single product like that.
Filter Items
You can tell YayPricing to only apply the discount to a filtered selection within the bundle. It also allows you to choose the quantity of items to be affected.

Lowest Price: Discount applies only to the cheapest item in the bundle.


Highest Price: Discount applies only to the most expensive item in the bundle.


Bundle (fixed group): You can define which item(s) in the bundle get the discount. This feature is useful for structured bundle deals where you want consistency.


Enable and Save this rule. This ensures that once the bundle condition is met, a 30% discount is applied automatically to those products.
Bonus: Using Your Own Formula for Bundle Discount
For advanced setups, YayPricing lets you configure bundle rules with formulas. Instead of sticking to fixed percentages or flat discounts, you can create custom pricing logic that perfectly matches your sales strategy.
When clicking to enable “Using formula", auto-disable the pricing rule above.
The formula has the form of {n} * quantity and {n} * pricing.
For example, by combining these with numbers {n}, you can set up unique bundle deals like “Buy 3 items for a discount of 10%” - we have the bundle discount, like purchasing 3 products will get 10% discount, and it counts on.
Similar to the pricing rule, the formula is also affected in 3 cases: Single item, Whole bundle, and Filter.
Example 1: Set the rule effect on a single item; thus, when purchasing three products; the discount rule will apply to every single item.


The logic is: The Discount will increase according to the quantity
Purchasing 3 products - discount of 10% for each item
Purchasing 6 products - discount of 20% for each item
Purchasing 9 products - discount of 30% for each item
And so on.
Example 2: Set the rule effect on the whole bundle, which means the value will be discounted based on the total price of the cart. YayPricing automatically discounts from the first item, until it is completely discounted, then goes to the next item.
As shown in the image below, we purchased 6 products, so we will get a discount of 20% for the whole bundle.


Example 3: Set the rule effect on the cheapest item. And the other rule also works the same as we have introduced above. Thus, buy 3 items and get 10% off the cheapest item, buy 6 items and get 20% off the cheapest item, and so on. Note that you can set a quantity for the cheapest item that is affected by the discount rule.


Last updated
Was this helpful?