how to create user role specific coupon code

How to Create a WooCommerce User Role Specific Coupon Code?

Does your WooCommerce store have multiple user roles like Wholesale Customers, Retailers, and VIP customers? Are you struggling to create a WooCommerce Coupon by user role in your store?

The default WooCommerce coupon does not offer a way to provide coupons specific to a user role. Only a generic coupon code can be created, which applies to all customer groups.

However, you may want to provide coupons specific to customer groups offering exclusive discounts and rewards. You need a plugin like the Discount Rules for WooCommerce to create customer group-based coupons.

This article will guide you to create WooCommerce customer group-specific discounts in your store and boost your sales. The guide uses the Discount Rules for WooCommerce plugin to create the user role specific coupon codes. Before you proceed further, make sure that you have installed and activated the Discount Rules PRO for WooCommerce plugin.

Let’s get started.

Do you want to engage your customers with specific discounts?

What is WooCommerce User Role?

WooCommerce User Roles helps you segment your customers under different groups. Creating a user role for Wholesale Customers is a good example of a WooCommerce user role. By default, WooCommerce saves everyone who makes a purchase under the user role called “Customer”. But WordPress allows you to create more user roles and you can group your customers under different roles for effective management.

What is a WooCommerce User Role Specific Coupon Code ?

A WooCommerce User Role specific coupon offers an exclusive discount to a group of customers. For example, Wholesale customers get a 30% discount on all products in the store.

You can also take this further. For instance, you can group all the large spenders in your store under a customer group called – VIP customers. To reward their loyalty and encourage repeat purchases, you may want to offer a 20% discount for the VIP Customer group alone.

How to create user role specific coupon code?

The built-in WooCommerce Coupon feature does not offer a way to create a coupon by user role. So you will need to install and activate the Discount Rules PRO plugin for WooCommerce.

And if you are just getting started and creating the user roles / customer groups in your store, then you may also want to learn how to create user roles in WordPress before proceeding further.

Discount rules for WooCommerce is a powerful plugin that extends WooCommerce coupons’ core functionality. You can create coupons: based on:

  • Based on products, categories, user roles, customers, attributes, tags, cart items and more.
  • Offer bulk discounts, tiered pricing discounts, bundle discounts, and more
  • One coupon for multiple offers and promos

In this tutorial, we will see a couple of scenarios for creating a user role-specific coupon code in WooCommerce.

Let’s create the following coupon codes:

  1. A coupon code that applies to selected product categories for specific user roles
  2. A coupon code applies to all items in the cart for a few specific user roles.

(A) Creating a coupon code for specific user roles for selected product categories

The following example describes creating a user role specific coupon code that gives a 20% exclusive discount on the Accessories category only for the “Subscribers” user role/customer group.

Let’s get started.

  • Go to Your WordPress Dashboard-> WooCommerce-> Woo Discount Rules
  • Add New Rule to create a new discount rule.
  • On the rule configuration page, give a name and choose the discount type as “Product Adjustment,” as illustrated below,
coupon code for specific user role

Choose the category option in the filter section and “select one or more categories” that get the discount. For example, we will use a specific category called “Clothing -> Accessories.”

Choose “Percentage Discount” in the discount section of the rule and enter the discount value.

In the Rules section, we are going to set two conditions.
Condition 1: Select the User Role condition in the list and choose the user role as “Subscriber.” Because this coupon is limited only to specific customer segments.

Condition 2: Choose the “Coupons” condition -> create your own coupon and enter a coupon code name “SUBSCRIBE30”. This will be the coupon code you will need to provide to the customers belonging to the user role (For this example, it is Subscribers)

Save and activate the coupon.

Now, when members of your customer group “Subscribers” enter the coupon code “SUBSCRIBERS30”, they will get a 30% discount. Other customers won’t be able to use this coupon.

We help you to expand your store.

(B) Creating a User role specific coupon for the entire cart

The following example discusses the detailed procedure for creating a user role specific coupon code that gives a “30% exclusive discount on cart subtotal purchases above $300 for “Subscriber” user role/ customer group.

  • Go to Your WordPress Dashboard-> WooCommerce-> Woo Discount Rules
  • Add New Rule to create a new discount rule.
  • On the rule configuration page, enter the rule name and choose the discount type as “Cart Adjustment,” as illustrated below,
user role specific coupon entire cart

Choose the category option in the filter section and “select one or more categories” that get the discount. For example, we will use a specific category called “Clothing -> Accessories.”

Choose “Percentage Discount” in the discount section of the rule and enter the discount value.

In the Rules section, we are going to set three conditions.

Condition 1: Select the condition type as “Subtotal” with its value greater than or equal to $300.

Condition 2: Select the User Role condition in the list and choose the role as “Subscriber.” Because this coupon is limited only to one user role.

Condition 3: Choose the “Coupons” coupon and enter a coupon code name “CART300”. This will be the coupon code you will need to provide to the customers belonging to the user role (For this example, it is Subscribers)

Once configured save and enable the discount coupon.

Now, when the WooCommerce user role “Subscribers” satisfies the cart conditions and can enter the coupon code “CART300” to get the 30% discount. Other customers won’t be able to use this coupon.

How do you troubleshoot if the WooCommerce Coupon is not working?

There are some potential causes for WooCommerce coupons to stop working. We will go through them one by one.

  • Check whether you are entering the correct coupon code.
  • Check whether the coupon has any restricted limitations.
  • Check whether your plugin or WoooCommerce is updated
  • Check whether the coupon has been enabled.

Contact our devoted support team if you are still having trouble creating WooCommerce unique coupon codes so they can help you.

Explore other detailed features of Discount Rules.

Conclusion

WooCommerce coupons by user role can be used to increase the customer retention. Exclusive coupons often make customers feel special and stay loyal to the brand. Grouping your customers and offering them personalized discounts is always a way to attract and retain loyal customers for your store. I hope this blog helps you to implement user role coupons for WooCommerce in your store. Create your first user role coupon with the “Woo Discount Rules” plugin and turn your customers into brand advocates.

Looking for more effective ways to use coupons in your store? Check this article to know how to apply a single coupon code to offer multiple discounts in WooCommerce.

How do I add role specific promo codes in WooCommerce?

Install and activate the Discount Rules PRO plugin for WooCommerce and create a rule with the user role based condition. Optionally, you may want to create a coupon code that customers can apply to get the discount.

How do I create user roles in WooCommerce?

Use the User Roles Editor plugin to create additional user roles in WordPress, which can then be used in WooCommerce. Check this step by step guide to create user roles in WooCommerce / WordPress

Share:

Facebook
Twitter
LinkedIn

Introducing WPLoyalty – Points, Rewards & Referral plugin for WooCommerce with tons of reward options.   Get 10% as intro offer: Coupon Code: SAVE10