How to create a woocommerce bulk discount per customer role or group?

Bulk discounts per customer are particularly useful if you have different types of customers or different pricing strategies to apply. WooCommerce All Discounts gives you the ability to create different bulk discounts for each customer groups depending on their roles or their user group.

 

In today’s article, you will learn how to create a bulk discount per customer role and per customer group in few clicks.

How to create a bulk discount strategy per customer role?

 

User roles are the standard user categorisation feature on a standard WordPress website. Let’s assume that you have different customer roles on your website, each of them with specific rights.

 

To create a bulk discount per customer role, we’ll first need to create a products list that will contain all the products we want to target. If you don’t know how to create a product list, please start here.

 

Before creating our discount, let’s use an example to better illustrate how it will work:

  • If the customer is a wholesaler AND purchases between 5 and 10 of a product, we need to apply a 10% discount off the product price.
  • If the customer is a wholesaler AND  purchases between 11 and 20 of a product, we need to apply a 13% discount off the product price.

 

Now that we agree on what we intend to do, we can now create our discount.

  1. Click on Discounts > New Discount menu to access the new discount page.
  2. After setting up the basic discount properties such as the start and end date, periodicity and user limit, set the rules relationship to AND.
  3. Then click on the Add rules group button to create a new rules set.
  4. The first rules group we need to add will make sure this part of the discount applies: “If customer purchases more than 5 of a product within the clothing category”. In order to do that, click on the Add rules group button to create a new group.
  5. Select the If Order items count as discount condition for the first rule.
  6. Then select is more than as comparison operator.
  7. Finally enter 5 as value to compare the condition with.
  8. Then click on the and button in the group to add a new rule within the same group below the first rule we just set.
  9. Set If Order products as discount condition, IN as operator and select the product list you previously created. By following the previous steps, you will get the result below:

  10. Click on the Add rules group button to add the second rules group. That second group we need to add will make sure this part of the discount applies: “If customer purchases less than 10 of a product within the clothing category”. Repeat the previous steps to setup the group as below:

    bulk discount category 2

    It’s highly important that these two groups are added separately in order to have the plugin interpret each group independently according to our needs.
  11. Click on the Add rules group button to add the third rules group. That third group we need to add will make sure that all the previous rules only applies for our customer role just like this:  

    bulk discount user roleThis will allow you to select any existing user role, both default and custom ones added by a plugin.
    It’s highly important that these three groups are added separately in order to have the plugin interpret each group independently according to our needs.
  12. Set the discount Action to Percentage off product price.
  13. Set the Evaluate per product to Yes if needed to make sure the plugin evaluates the number of purchases per product.
  14. Select the previously created Product list on which to apply the discount when all defined conditions rules are met.
  15. Save the discount.
  16. Create a different discount for each interval of your bulk pricing strategy.

The entire discount for the first interval will look just like this:

bulk discount customer role

How to create a bulk discount strategy per customer groups?

The main difference between the customers roles and the customers groups is that a WordPress only allows one role per user. Groups managed by the groups plugin are the perfect alternative to that limitation.

 

In order to create a bulk discount per user group, just follow the same steps as the customer role but make sure you select “If customer group” as discount condition instead of “If customer role”.

 

This completes our tutorial about the bulk discount per user role and per user groups using WooCommerce All Discounts. If you have any questions, use the comments section to ask.