All Collections
Discount Rules for WooCommerce
Example Scenarios
Buy Product A+B+C and get different discounts
Buy Product A+B+C and get different discounts

Learn how to create “Buy product A+B+C and get different discounts” in your WooCommerce store with Discount Rules for WooCommerce.

Ramesh avatar
Written by Ramesh
Updated over a week ago

Introduction :

Combination of Product discounts in Discount rules for WooCommerce plugin offered to customers based on the products they purchase.

"Each" is a special condition that means the discount is given only if all the specified products are available in the cart. It's similar to a bundle discount, where the discount is applied when you buy all the mentioned items together.

This user guide explains how to implement a combination of product discounts in your WooCommerce store.

The following are some of the examples for combination of product based discounts,

  • Buy Product A + Product B + Product C to get a 10% discount on all the three products.

  • Buy Product A + Product B + Product C and get Product D as free, 2 of A + 2 of B + 2 of C and get 2 of D and recursively.

  • Buy Product A + Product B + Product C (A,B and C are variable products) and get a $100 fixed discount from the cart.

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

Let’s get started

Example 1 : Buy Product A + Product B + Product C to get a 10% discount on all the three products.

This scenario lets customers buy a combination of Product A, Product B and Product C together and get a 10% discount on all the three products.

Creating a Discount Rule

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

  • Choose “Product Adjustment” as the Discount type.

Here is the screenshot of the rule configuration that follows,

Filter Section :

Choose "Products" in the "Filter" section because customers get discounts only for certain products.(You can also have other categories or products)

In this example, we are going to offer a 10% discount for certain combinations of Products.

Under Discount Options, Choose "Percentage discount" and enter the value as 10.

Under condition option, Choose “Product Combination” type as condition type and have the combination type as “Each” and in list the same products from the filter section.

Choose the comparison as “Greater than or equal” and set the quantity as “1”.

Now save and publish the rule.

When customers shop at your store, they will get a 10% discount when the combination of products are added to the cart.

Here is the screenshot of the cart page showing an example,

Example 2 : Buy Product A + Product B + Product C and get Product D as free, 2 of A + 2 of B + 2 of C and get 2 of D and recursively.

This scenario lets customers buy a combination of Product A, Product B and Product C together and get Product D as free and the discount occurs recursively.

Creating a Discount Rule

  • 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 configuration that follows,

For 1D as free when customer buys 1 of A + B + C

For 2D as free when customer buys 2A + 2B + 2C

Rule Configuration :

Filter Section

Choose "All Products" in the "Filter" section as we choose the specific products in the condition section.

Discount Section

Choose “Buy X Get Y Products” in the Discount section as the discount is for the specific products. You can also have other options depending on your requirement.

Choose how to count the quantities as -> Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto Add”.

Enter the minimum quantity as “3” and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.

Enter the free quantity as “1” and discount type as “Free” (you can also have percentage and fixed discounts)

Conditions

In the "Condition" section, select "Product Combination" and set the combination type to "Each" to apply the discount when the specified products are added to the cart.

Under "Select Products", choose the combination of products and specify the operator as "Greater than or equal" and input a value of 1.

Click on Add Condition and select "Product Combination" and set the combination type to "Any" to apply the discount when the specified products are added to the cart.

Under "Select Products", choose the combination of products and specify the operator as "Greater than or equal" and input a value of 2.

Once configured, save and publish the rule.

To have the free products recursively, it is suggested to create separate rules for each free product.

Now when the customer adds 2 Product A + 2 Product B + 2 Product C in the cart then 2 Product D would be given free.

Here is the screenshot of the cart page showing an example:

Example 3 : Buy Product A + Product B + Product C (A,B and C are variable products) and get a $100 fixed discount from the cart.

This scenario lets customers buy a combination of Product A, Product B and Product C (variable products) together and get a $100 fixed discount from the cart.

Creating a Discount Rule

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

  • Choose “Cart Adjustment” as the Discount type.

Here is the screenshot of the rule configuration that follows,

Filter Section :

Choose "Products" in the "Filter" section because customers get discounts only for certain products.(You can also have other categories or products)

In this example, we are going to offer a $100 fixed discount from the cart when cart certain combinations of Products.

Under Discount Options, Choose "Fixed discount" and enter the value as 100.

Under condition option, Choose “Product Combination” type as condition type and have the combination type as “any” and in list the product from the filter section. So that discount will get applied if cart has anyone variant of each product (A, B and C)

Choose the comparison as “Greater than or equal” and set the quantity as “1”.Choose separate product combination condition for each products

Now save and publish the rule.

When customers shop at your store, they will get a $100 discount when the combination of products are added to the cart.

Here is the screenshot of the cart page showing an example,

Some of the examples discussed above will require Discount Rules PRO.

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?