Black Friday All Access $999 $299 lifetime or 30% off any plugin with Ends in -- See deals

Coupons & Discount by User Role: WooCommerce Role Pricing

WooCommerce Plugin
4.9
5 Reviews
v2.3.2
Updated 6 days ago
200+
Stores Live
one coupon, every role, your rules ↓

One coupon code. Different discounts per user role.

Give Customers 10% off, Wholesale 25%, Subscribers a flat $5 - all with one code. Hide the coupon field entirely from the roles you don't want hunting for codes. Write a different rejection message per role. $49.99/yr or $149 once.

14-day refund
Per-coupon overrides
HPOS-ready
three things WooCommerce native can't do ↓

One coupon code. Three different problems.

WooCommerce coupons are blind to who is using them. A 25% wholesale code leaks to retail customers in a Facebook group. A "first order" code gets reused by repeat subscribers. And when a coupon should not apply to one specific role, the only error WooCommerce shows is "Coupon is not valid" - which tells the customer nothing and triggers a support ticket.

problem · 1

Your wholesale code is loose on the internet.

WHOLESALE25→ posted in r/deals
WHOLESALE25→ retail buyer applies it
25% off→ margin gone

Native WooCommerce can restrict a coupon by product or email domain. It cannot block a coupon by user role. The moment your wholesale code escapes the gated catalog, retail customers eat your margin.

problem · 2

Three audiences. Three coupons. Same campaign.

WELCOME10Customers · 10%
WELCOME-WSWholesale · 25%
WELCOME-VIPSubscribers · $15 off
3 codes to police. 3 newsletters. 3 ways to leak.

To run a single campaign at different rates, you create three coupons, send three different emails, and pray no one shares the wrong one. The whole reason for a "code" disappears.

problem · 3

"Coupon is not valid" - then comes the support ticket.

SUMMER25 apply
⚠ Coupon "SUMMER25" is not valid.
→ "Why isn't my code working?"

WooCommerce's default error is one line for every rejection reason. The customer can't tell if the code is expired, wrong, or simply not meant for them. Support inbox fills up with the same question.

eight controls you'll use ↓

Every coupon. Every role. Your rules.

The plugin does four jobs: allow or block coupons per role, vary the amount per role on the same code, hide the coupon field from roles you don't want hunting for codes, and say why with a custom error message - all overridable per coupon.

block · per role

Disable any coupon for any role.

Set globally or per coupon. Includes the guest pseudo-role so you can lock coupons to logged-in shoppers only.

vary · same code

One coupon code, a different discount per role.

Mix percentages and fixed amounts in the same coupon. Customer gets 10%, Wholesale 25%, Subscriber a flat $15 off, all from one code.

hide · coupon field

Remove the coupon field for roles you don't want hunting.

Wholesale and VIP roles often already get net pricing. Hiding the coupon box stops them asking why they can't see a code field.

explain · per role

Write a different error message per role.

Placeholders %coupon_code% and %coupon_amount% auto-fill the message. Tells the customer exactly why the code did not apply and what to use instead.

override · per coupon

Each coupon can ignore the global rules.

Global rules cover the store. Each coupon's own panel can override the role list, the per-role amount, and the error message.

multi-role · resolution

Decide which role wins when a user has more than one.

Real stores stack roles (Customer + Wholesale + Subscription). Pick the resolution rule once, apply everywhere.

translate · WPML & Polylang

Per-role messages, translated per language.

Wrap any string in the [alg_wc_cbur_translate] shortcode and WPML or Polylang picks it up. No external bridge plugin required.

compat · roles + plugins

Custom roles, multi-roles, WC Subscriptions, HPOS.

The plugin reads from WordPress's role registry. If a plugin like WooCommerce Memberships or User Role Editor registered the role, it shows up in the picker.

setup

Four steps. Live in under 10 minutes.

i · install

Activate the plugin

Upload the .zip from Plugins → Add New, then activate.

Coupons & Discount by User Role for WooCommerce Active
ii · pick roles

Set the global allow/block list

WooCommerce → Settings → Coupons by User Role. Tick which roles can use coupons site-wide. Each coupon can override this later.

allowed roles Customer, Wholesale
blocked Subscriber, Guest
iii · per-role amounts

Set per-role discount amounts

Open any coupon, scroll to "User Role" panel. Set a different discount value per role. Customer 10%, Wholesale 25%, leave others blank to use the coupon's default.

Customer10% ✓
Wholesale25% ✓
Subscriber$15 ✓
iv · messages

Write the error message

Add the message customers see when a coupon does not apply to their role. Use %coupon_code% for the code and %coupon_amount% for the amount.

how we stack up

Role-based coupons, without renting forever.

Discount Rules by Flycart was the next-closest contender. Excluded because its role pricing is a per-product rule rather than a per-coupon-amount rule, which is a different use case.
WooCommerce
native · single rule
Advanced Coupons
from $99.50/yr · no lifetime
WebToffee Smart Coupons
from $89/yr · no lifetime
WPFactory
$49.99/yr · $149 once
core: role-based coupon control
Block a coupon for selected roles✕✓✓
Allow a coupon for selected roles only✕✓✓
Block coupons for guests (no login)✕✓✓
Works with any custom user role✕✓✓
same code, different result per role
Different discount amount per role on the same coupon✕✕✕
Mix percentage and fixed amounts per role✕✕✕
Per-coupon override of global role rules✕limitedlimited
customer-facing messaging
Remove coupon input field per role✕✕✕
Custom error message per role✕global onlyglobal only
%coupon_code% / %coupon_amount% placeholders✕✕✕
WPML / Polylang shortcode for messages✕not specifiednot specified
multi-role users
Resolution rule when a user has multiple roles✕not specifiednot specified
"Most generous / least generous / first match" modes✕✕✕
pricing & ownership
Free version on .org-✓✓
Lifetime tier-✕✕
Multi-store licensing-$199.50/yr unlimited$249/yr for 25 sites
10-year cost$0$2,490$2,490
50+ plugins (All Access)-✕✕
Ready to make every role behave at checkout? ↓ Jump to pricing
scroll →
three real stores ↓

Three businesses. Three role-coupon strategies.

B2B + retail · same store

B2B + retail store · "Same code, double the discount for trade."

A hardware merchant runs one storefront for retail and trade. Their SPRING25 campaign goes out in one newsletter. Retail readers get 10% off. Wholesale-tagged accounts get 25% on the exact same code. Marketing stops splitting lists, sales stops policing leaked codes.

CouponSPRING25 - one code, two amounts
RolesCustomer = 10% · Wholesale = 25%
GuestsCoupon field hidden until login

Campaign open-rate doubled because there was one email to A/B instead of two. Margin on retail orders held because the code wouldn't fire at 25% for a non-trade buyer.

multi-region · guest gating

Global SaaS · "Guests can't apply any code."

A WordPress plugin shop runs partner referral codes that should only fire for logged-in customers (so attribution flows to the partner record). Native WooCommerce can't gate by login status. The plugin disables every coupon for the Guest pseudo-role and shows "Sign in to apply your partner code".

Guest roleAll coupons blocked
Message"Sign in to apply %coupon_code%."
Account creationUp 22% from the inline sign-in CTA

Partner attribution stopped leaking. Every coupon now ties to an account, which means commission payouts match what the partner actually drove.

tested with

Plays nice with every role and coupon plugin you've already got.

Platform

WP 4.4+WP 7.0WC 4.0+WC 10.7PHP 7.4+PHP 8.3HPOS-ready

Role plugins

User Role EditorWC MembershipsB2B for WCMembersGroupsRestrict Content ProCustom roles

Coupon ecosystem

WC native couponsURL CouponsAuto-applyBOGO add-onsSmart Coupons

Internationalization

WPMLPolylangWC SubscriptionsPDF InvoicesREST API
why this plugin

Built for stores where who is buying matters as much as what.

Every WPFactory plugin ships with the same eight guarantees. Here's what running this one looks like in practice.

Clean code, reviewed

Hooks WooCommerce's coupon validation chain instead of patching cart totals after the fact. One role check per coupon application. No extra database tables, no admin-page bloat.

Docs & specs, written

The [alg_wc_cbur_translate] shortcode, %coupon_code% and %coupon_amount% placeholders, and every per-coupon override are documented with screenshots and copy-paste examples.

Support that ships

Real bug reports become releases within days, not quarters. If a custom role plugin you use doesn't resolve right, send us a screenshot and we fix it.

14-day money-back

14-day refund on yearly and lifetime, 30 days on All Access, no questions asked. If a setup doesn't fit your store's role model, support helps; if it still doesn't work, you walk away whole.

Bundle savings, real

All Access is $499 $299 once for all 50+ plugins, lifetime, unlimited sites, and it includes every plugin we release later. Three lifetime licenses at $199 already cost $597, so the bundle usually wins by your third plugin.

Updates, regularly

v2.2.2 shipped recently. Tested against the latest WooCommerce within days of every release. HPOS-ready, PHP 8.3 compatible.

Plays well with others

Compatible with WooCommerce Subscriptions, WC Memberships, User Role Editor, Groups, WPML, Polylang. Reads roles from the WordPress registry so any third-party role just shows up.

Designed for store owners

You don't need to touch a hook or filter. Pick the roles in a checkbox list, type the per-role amount, save. The math runs itself on every checkout.

6 stores joined this week·2 in the last 24h
if you're going to keep this plugin a while ↓

Two plans. Pick once.

14-day refund on yearly and lifetime, 30 days on All Access. Lifetime pays for itself by year 3. All Access pays for itself by the 4th plugin you'd ever use. Yearly auto-renew can be turned off in your account.

Black Friday

30% off this plugin with code $149 $104.30 lifetime

Or get all 50+ plugins with All Access: $999 $299, save 70%, the lowest price ever. No code needed. This price ends Nov 30.

See all deals
COUPONS BY USER ROLE PRO
$149 once

Buy once. Owns itself by year 3. Use on every site you own.

  • Unlimited sites
  • Lifetime updates
  • Priority email support
  • 14-day refund
  • GPL-licensed · use on client sites
Buy Lifetime - $149 once
★ SMART MOVE ALL ACCESS · LIFETIME
$999$299oncesave 70%Lowest price ever

This plugin + 49 others, lifetime updates, unlimited sites - for $150 more than Lifetime alone.

! Buying any 3 single lifetimes?
$597 → $299 / 50+
  • 50+ plugins, lifetime updates
  • Unlimited sites - every plugin
  • Future plugins included free, forever
  • Lifetime priority support
  • Pays back at 4th plugin you'd use
Explore All Access
questions

Common questions.

If yours isn't here, email our support. Or read the docs.

What does the plugin actually do?
It controls every WooCommerce coupon by user role. For each role you choose to disable any coupon entirely, allow it but with a different discount amount, or hide the coupon input field from the cart and checkout pages. The plugin replaces WooCommerce's generic "coupon not valid" message with a per-role message you write.
Can the same coupon give a different amount to different roles?
Yes. One coupon code, multiple discount amounts. WELCOME10 can give Customers 10% off, Wholesale 25% off, and Subscribers a fixed $5. No need to create three coupons and police who shares which code.
Does it work with multi-role users?
Yes. When a user has more than one role assigned (e.g. Customer + Wholesale), you choose which behaviour wins: most generous discount, least generous, or first matching role. Configurable per coupon.
Can I hide the coupon code field entirely for certain roles?
Yes. The "Remove coupon input field" option strips the coupon box from the cart and checkout pages for any role you select. Stops Wholesale or VIP customers asking why they can't see a code field while non-logged-in shoppers still can.
What about per-coupon exceptions?
Every coupon has its own override panel. Global rules apply across the store; each coupon can opt out, change which roles it allows, or set its own per-role discount. Useful for one-off campaigns that should ignore the site-wide policy.
Can the error message be customised?
Yes. Write a different message per role, with placeholders %coupon_code% and %coupon_amount% so the message shows the exact code the customer tried. Replaces WooCommerce's vague "Coupon is not valid" default with something that explains why.
Does it support WPML or Polylang?
Yes. The plugin ships an [alg_wc_cbur_translate] shortcode you wrap around any custom message. WPML and Polylang pick it up and translate the string per language.
Is it HPOS-compatible?
Yes. High-Performance Order Storage is declared compatible. Tested against WooCommerce 10.7 and WordPress 7.0.
Does it work with subscription products?
Yes. Role-based coupon rules apply equally to one-off purchases and WooCommerce Subscriptions products. The role check runs at every checkout, including renewal.
What is the refund policy?
14 days on the yearly and lifetime plans; 30 days on All Access. No questions asked. The yearly plan also includes an upgrade credit toward Lifetime or All Access. Lifetime never renews. Yearly auto-renew can be turned off in your account.
Is there a free version?
Yes. The free version on WordPress.org covers basic per-role coupon disable. The Pro version adds per-role discount amounts on the same coupon, the remove-coupon-input-field option, per-coupon overrides, multi-role behaviour rules, custom error messages with placeholders, the WPML/Polylang shortcode, and priority email support.
Does it slow my site?
No. The plugin hooks WooCommerce's coupon validation chain and runs one role check per coupon application. No extra database tables, no frontend assets on non-checkout pages.
if you've scrolled this far ↓

Stop running three campaigns to do one. Let one coupon behave per role.

Disable any coupon for any role. Set a different discount per role on the same code. Hide the coupon field where you don't want it. Replace WooCommerce's vague rejection with a message that explains why. 200+ stores already running it. 14-day refund if it's not for you.

200+ stores · 4.9★ across 5 reviews · WordPress.org plugin · 14-day refund