Skip to main content
All CollectionsDiscount Rules for WooCommerceExample Scenarios
Category Combination (get discount only when Category A+ B + C are in the cart)
Category Combination (get discount only when Category A+ B + C are in the cart)

Learn how to create Category based discounts with category combinations using Discount Rules for WooCommerce plugin.

Ramesh avatar
Written by Ramesh
Updated over 7 months ago

Introduction :

Category combination condition in Discount rules for WooCommerce plugin

refers to the process of combining different categories for a discount using specific rules or conditions.

This user guide explains how to implement Category Combination in your WooCommerce store.

These conditions will be in Rules(optional).

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

  • Buy one item from Category A, one item from Category B, and one item from Category C, you will receive a 10% discount on each product in the cart.

  • Provide Fixed price of $100 for two items when purchasing one item from Category A and one item from Category B.

  • Buy one item from Category A and one item from Category B, a fixed discount of $50 will be applied to your 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 one item from Category A, one item from Category B, and one item from Category C, you will receive a 10% discount on each product in the cart.

This scenario lets customers receive a 10% discount on each product they purchase when they add one item from Category A, one item from Category B, and one item from Category C to the cart.

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 Options :

Choose "Category" in the "Filter" section because customers have discounts for products from specific categories. Choose the three different categories in the search option.

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

Conditions :

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

Under "Select Category", choose the same categories as in the filter section and set the select value to "Quantity".

Specify the operator as "Greater than or equal" and input a value of 1.

Once configured, save and publish the rule.

Now, when the customer adds product A, product B and product C from the specified categories 10% discount would be applied in the cart.

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

Example 2 : Provide Fixed price of $100 for two items when purchasing one item from Category A and one item from Category B.

This scenario lets customers buy two products for $100 when they add one item from Category A and one item from Category B to the cart.

Creating a Discount Rule

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

  • Choose “Bundle (Set) Discount” as the Discount type.

Here is the screenshot of the rule configuration that follows,

Filter Options :

Choose "Category" in the "Filter" section because customers have discounts for products from specific categories. Choose the two different categories in the search option.

Under the Discount option, Choose how to count the quantities as -> Filter set above (count all quantities in cart as together)

Set the discount ranges using the "Add Range" button. Here in this example, set the first range as 2 for $100 and choose the Discount Type as “Fixed price for set/bundle”

Conditions :

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

Under "Select Category", choose the same categories as in the filter section and set the select value to "Quantity".

Specify the operator as "Greater than or equal" and input a value of 1.

Once configured, save and publish the rule.

Now, when the customer adds product A and product B from the specified categories discount would be applied in the cart.

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

Example 3: Buy one item from Category A and one item from Category B, a fixed discount of $50 will be applied to your cart.

This scenario lets customers receive a $50 fixed discount when they add one item from Category A and one item from Category B to 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 Options :

Choose "Category" in the "Filter" section because customers have discounts for products from specific categories. Choose the two different categories in the search option.

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

Conditions :

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

Under "Select Category", choose the same categories as in the filter section and set the select value to "Quantity".

Specify the operator as "Greater than or equal" and input a value of 1.

Once configured, save and publish the rule.

Now, when the customer adds product A and product B from the specified categories a $50 fixed discount would be applied in the cart.

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

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

Next Steps :

You may also want to check out these helpful guides :

Refer this video to know more about Category Combination discounts :

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?