Collections

Learn how to provide discount using two/ three filters (AND combination) using the collection addon in Discount Rules for Woocommerce plugin

Sangeetha avatar
Written by Sangeetha
Updated over a week ago

What is a Collection addon?

A Collection addon is an additional feature in the Discount Rules for WooCommerce plugin. It enables users to combine multiple filters and save them as a collection, which can be used as a filter when setting up discount rules. This simplifies the process of creating complex discount rules.

Let's say, a discount rule that applies to products in a specific category and with a specific attribute can be created by combining those two filters and saving them as a collection.

For example: Get 10% off on all Black (attribute) Hoodies (category).

So as you can see, using this Collection addon we can add two or more filters and make it work using AND combination.

Make sure you have already installed and activated the Discount Rules for Woocommerce plugin. Please note that features explained in this doc are available only in the PRO version. Do More with the PRO Version

What are the steps to activate/deactivate this Collection addon?

To install and activate the addon:

  • Go to WordPress dashboard -> WooCommerce -> Woo Discount Rules -> Addons tab

  • Look for the addon "Collections" and click on "Download" button or you can download the Collections addon by Clicking Here and install it.

  • Once we have successfully downloaded the addon, you can find the downloaded pack in your downloads section and let's install it

  • To install the addon, go to Wordpress -> Plugins -> Add new -> click on "Upload Plugin"

  • Click on the "Browse" -> choose the downloaded "Addon" pack -> click on "Install Now" and Activate it.

  • Then, you find a new tab called "Collection" gets enabled in Woo Discount Rules dashboard.

To deactivate the addon:

  • Go to WordPress dashboard -> WooCommerce -> Woo Discount Rules -> Addons tab

  • Look for the addon "Collections" and click on "Deactivate" button

Let's explore some example scenarios to understand how the Collections addon can be used:

  • Get a 10% discount on shoes (category) in the Adidas (brand)

  • Get bulk discount on all Black (attribute) Hoodies (category)

  • Buy 2 get 50% off on cheapest product (excluding on sale products)

Now, let’s take a look at the examples one by one in detail.

Example 1 : Get a 10% discount on Shoes (category) in the Adidas (brand)

This example demonstrates how to apply a 10% discount to products in the "Shoes" category that belong exclusively to the "Adidas" brand.

Let’s get started by creating rule

Step 1: Creating a Collection

  • Go to WordPress dashboard -> Woocommerce -> Woo Discount Rules -> Collections

  • Click on "Add New Collection" button

Then configure the collection as seen in the below screenshot:

Details of configurations are:

  • Select first filter as "Category" and inlist "Shoes" by typing a few characters of the category name to find that category and select it.

  • Select second filter as "Brand" and inlist "Adidas" by typing a few characters of the brand name to find that brand and select it.

Step 2: Creating a Discount rule

  • Go to WordPress dashboard -> WooCommerce -> Woo 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,

Details of configurations are:

  • Choose "Filter collections" as filter and select the created collection combination here by typing a few characters of that collection title here and select it.

  • Set the discount type to a 10% percentage discount.

  • Click on “SAVE” once we have successfully created the rule.

Now, let's see how the above rules works.

If a customer purchases a product from the "Shoe" category that belongs to the "Adidas" brand, then a 10% discount will be applied exclusively to those products.

The following screenshot shows how the discount is applied on the cart page:

Example 2 : Get bulk discount on all Black (attribute) Hoodies (category)

This example demonstrates how to apply bulk discount to products in the "Hoodies" category that belong exclusively to the "Black" attribute.

Let’s get started by creating rule

Step 1: Creating a Collection

  • Go to WordPress dashboard -> Woocommerce -> Woo Discount Rules -> Collections

  • Click on "Add New Collection" button

Then configure the collection as seen in the below screenshot:

Details of configurations are:

  • Select first filter as "Category" and inlist "Hoodies" by typing a few characters of the category name to find that category and select it.

  • Select second filter as "Attributes" and inlist "Black" by typing a few characters of the attribute name to find that attribute and select it.

Step 2: Creating a Discount rule

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

  • Choose “Bulk Discount” as the Discount type.

Here is the screenshot of the rule configuration that follows,

Details of configurations are:

  • Choose "Filter collections" as filter and select the created collection combination here by typing a few characters of that collection title here and select it.

  • In discount section, count quantities by to "Filter set above" (count all products in cart together)

  • Add ranges as per your requirement as shown in the above screenshot using the "Add Range" button

  • Click on “SAVE” once we have successfully created the rule.

Now, let's see how the above rules works.

If a customer purchases a product from the "Hoodies" category with "Black" attribute, then bulk discount will be applied exclusively to those products.

The following screenshot shows how the discount is applied on the cart page:

Example 3: Buy 2 get 50% off on cheapest product (excluding on sale products)

This offer gives you a 50% discount on the less expensive item when you add 2 items to your cart. The discount doesn't apply to items that are already on sale. (On sale products are the products which have both regular price and sale price set via woocommerce).

Let’s get started by creating collection

Step 1: Creating a Collection

  • Go to WordPress dashboard -> Woocommerce -> Woo Discount Rules -> Collections

  • Click on "Add New Collection" button

Then configure the collection as seen in the below screenshot:

Details of configurations are:

  • Give a Title for the collection. For example: “buy 2 get 50% off on cheapest (excluding onsale products)”

  • Select filter as "On sale products" and set the parameter as “Exclude” to exclude onsale products from discount

  • Save the collection successfully.

Step 2: Creating a Discount rule

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

  • Choose “Buy X get Y” as the Discount type since we are offering buy 2 get 50% off on cheapest (excluding onsale products)

Here is the screenshot of the rule configuration that follows,

Details of configurations are:

Step 1: Choose the "All Products" (storewide) option from the filter options

Step 2: Include an additional filter “On sale products” by adding the On-sale products and choose the "Exclude" option to exclude the On-sale products.

Step 3 : Choose “Buy X get Y - Collections” in the Discount/ Get Y section and inlist the collection by typing a few characters of the collection title.

Step 4: 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 5: Select the mode of application as

  • Cheapest

  • Set minimum quantity as 2, 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 50% (you can also choose Free or Fixed Discount) and

Step 6: Save the rule.

Now, customers will enjoy a 50% discount on every second cheapest item they add to their cart, except for products currently on sale.

The following screenshot shows how the discount is applied on the cart page:

Checkout this video to know about how collection add works:

Other frequently asked combinations you may try:

  • Category and Attribute

  • Attribute A and Attribute B

  • Category A and Category B and so on...

Likewise, we can provide discount on different combinations of filter using collection addon.

The above discussed filter combination scenarios requires a PRO version.

Next Steps :

You may also want to check out these helpful guides:

Still Clear ?

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?