Skip to main content
All CollectionsDiscount Rules for WooCommerceCommonly Asked Scenarios
Buy product A and B as bundle and get discount
Buy product A and B as bundle and get discount

When purchasing product A and B together in a bundle, you'll receive a recursive discount via the Discount Rules for WooCommerce plugin.

Haripradeepa Senthilkumar avatar
Written by Haripradeepa Senthilkumar
Updated over 9 months ago

Introduction:

This promotion provides customers with a discount when they purchase two different products as a bundle. Moreover, this discount operates in a repetitive manner, meaning they will receive the discount repeatedly for each bundle combination, such as A and B, 2A and 2B, and so forth.

For example: When you purchase products A and B together, a 10% discount is applied to both items. Similarly, buying 2 units of A and 2 units of B results in a 10% discount for the both bundle, continuing in this manner.

This user manual explains the process of setting up such a scenario using the Discount Rules for WooCommerce plugin.

Example scenario:

  • Buy products A and B together to enjoy a 10% discount on both items.

Before getting started, please make sure that you have installed and activated the “Discount Rules PRO'' plugin. The above scenario require the Buy X Get Y discount type feature, which is available only in the PRO version.

Let’s get started,

Example 1: Buy products A and B together to enjoy a 10% discount on both items.

In this example, when you buy product A and product B as a bundle, you'll receive a 10% discount on both items. This discount applies recursively, meaning if you purchase 2 units of A and 2 units of B, you'll enjoy a 10% discount on both bundles.

However, if you buy 2 units of A and 1 unit of B, the 10% discount will be applied exclusively to 1 unit of A and 1 unit of B (as a single bundle).

To set up this scenario, we need to create two separate discount rules: one for 10% off product B and another for 10% off product A. Let's proceed to create these discount rules.

Creating a Discount Rule

Rule 1 :

  • Go to WordPress dashboard -> WooCommerce -> Discount Rules -> Click on “Add New Rule” button.

  • Choose “Buy X Get Y” as the Discount type.

Here is the screenshot of the Rule 1 configuration that follows,

Details of configurations are:

Step 1: Choose "Products” from the filter options and type a few characters of the product A name to find your product and select it. You also have options like specific Categories, selected Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.

Step 2: Choose “Buy X get Y - Products” in the Discount/ Get Y section and choose the product by typing a few characters of product B. You also have other options like “Buy X Get Y - All” or “Buy X Get Y - Categories” depending on your requirement.

Step 3: Choose how to count the quantities as -> Filter set above (count all quantities in cart as together. For example, if a customer buys 2 of Product A and 3 of Product B, our plugin count 5 products as together)

Step 4: Select the mode of application as

  • Cheapest

  • Set minimum quantity as 1, set free quantity as 1 and enable the recursive checkbox (discount will get repeated endlessly)

  • Choose the discount type as Percentage discount and set the value as 10% (you can also choose Free or Fixed Discount) and

Step 5: Save the rule.

Creating Rule 2 : (Just create the same rule by interchanging the Buy and Get products)

  • Go to WordPress dashboard -> WooCommerce -> Discount Rules -> Click on “Add New Rule” button.

  • Choose “Buy X Get Y” as the Discount type.

Here is the screenshot of the Rule 2 configuration that follows,

Details of configurations are:

Step 1: Choose "Products” from the filter options and type a few characters of the product B name to find your product and select it. You also have options like specific Categories, selected Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.

Step 2: Choose “Buy X get Y - Products” in the Discount/ Get Y section and choose the product by typing a few characters of product B. You also have other options like “Buy X Get Y - All” or “Buy X Get Y - Categories” depending on your requirement.

Step 3: Choose how to count the quantities as -> Filter set above (count all quantities in cart as together. For example, if a customer buys 2 of Product A and 3 of Product B, our plugin count 5 products as together)

Step 4: Select the mode of application as

  • Cheapest

  • Set minimum quantity as 1, set free quantity as 1 and enable the recursive checkbox (discount will get repeated endlessly)

  • Choose the discount type as Percentage discount and set the value as 10% (you can also choose Free or Fixed Discount) and

Step 5: Save the rule.

If a customer purchases one unit of both product A and product B as a bundle, they will receive a 10% discount on both quantities, applied recursively.

Please refer to the cart page screenshot to see the 10% discount applied to the Product A and B set:

The cart page screenshot illustrates a 10% discount applied to one bundle consisting of 1 unit of product A and 1 unit of product B, when a customer buys 2 units of A and 1 unit of B :

The above discussed scenario requires PRO

Note:

  • Discount will be applied only if the customer adds one or more quantities of both products.

  • You can also choose category or other filters as per your requirement

Next Steps:

You may also want to check out these helpful guides:

Still unclear?

If you need any assistance, please create a support request at our ticket system. We are always happy to assist you :)

Did this answer your question?