🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Coupons Role Restriction for WooCommerce icon
Actively maintained Tested with WP 7.1 #22 in coupons

Coupons Role Restriction for WooCommerce

Restrict the usage of WooCommerce coupons based on user roles.

Active installs70+10+ tier
Downloads · 30d525▲ +198.3% vs prev. 30d
Rating—0 reviews
Health score68/100Good
All-time downloads2.9KSince Jul 2024
Support resolved—No recent threads
RequiresWP 6.4PHP 7.4+
Downloads · 7d192▲ +106.5% week over week
Our verdict

Solid choice

Coupons Role Restriction for Wo… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 70+ sites and was last updated 4 days ago, and scores 68/100 on our health check.

  • Actively developed — last update 4 days ago
  • Tested with the latest WordPress (7.1)
  • Momentum — downloads up 198.3% vs the previous 30 days
  • Small user base (70+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

214263Sep 5Oct 19Dec 3
Yesterday14
Daily average (1y)4
Peak day84Nov 16, 2026
Last 12 months1.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Coupons Role Restriction fo… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
coupons >100 3,362 Best coupons plugins →
discount >100 3,665 Best discount plugins →
role restriction #27 1,093 Best role restriction plugins →
user roles >100 7,017 Best user roles plugins →
woocommerce >100 10,000 Best woocommerce plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

About Coupons Role Restriction for WooCommerce

From the official readme · v1.1.5

Description

This plugin allows you to restrict the usage of WooCommerce coupons based on user roles, including guest users.

You can specify which roles (including guests) are allowed or excluded from using a coupon, providing more control over your discount strategies.

Features

  • Restrict coupon usage based on user roles.
  • Option to specify both allowed and excluded roles.
  • Support for guest users with a “Customer Is A Guest” pseudo-role.
  • Customize the error message via a filter.

Filters

runthings_wc_coupons_role_restrict_error_message

This filter allows customization of the error message shown when a coupon is not valid for the user’s account type.

For detailed documentation and advanced examples, see the full documentation on GitHub.

Parameters:

  1. $message (string): The default error message, e.g., "Sorry, this coupon is not valid for your account type.".
  2. $context (array): Additional context for the error, including the coupon, user roles, and guest status.

$context object format:

The $context array contains the following keys:
– coupon (WC_Coupon): The coupon object being validated.
– is_guest (bool): Whether the current user is a guest (not logged in).
– user (WP_User): The current user object. For guests, this will be an empty user object.
– allowed_roles (array): Roles explicitly allowed to use the coupon, in the format [role_id => role_name].
– excluded_roles (array): Roles explicitly excluded from using the coupon, in the format [role_id => role_name].
– effective_allowed_roles (array): The final calculated roles allowed to use the coupon, after considering exclusions, in the format [role_id => role_name]. This is the set of roles that can use the coupon.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/gpl-3.0.html.

Icon – Discount by Gregor Cresnar, from Noun Project, https://thenounproject.com/browse/icons/term/discount/ (CC BY 3.0)

Icon – restriction by Puspito, from Noun Project, https://thenounproject.com/browse/icons/term/restriction/ (CC BY 3.0)

Installation

  1. Upload the plugin files to the /wp-content/plugins/runthings-wc-coupons-role-restrict directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to WooCommerce area of the admin panel, and look under Marketing > Coupons and edit or create a coupon.
  4. In the “Usage restriction” tab, you will see the options to select allowed and excluded roles for the coupon, including the “Customer Is A Guest” pseudo-role.

Changelog

Update WordPress tested-up-to metadata to 7.2.

1.1.5 – 30th November 2026

  • Update WordPress tested-up-to metadata to 7.2.

1.1.4 – 16th November 2026

  • Update WordPress tested-up-to metadata to 7.1.

1.1.3 – 6th January 2026

  • Fixed missing “And” separator in the coupon usage restriction panel to match WooCommerce core styling.
  • Move plugin directory assets to .wordpress-org/ folder.

1.1.2 – 17th December 2025

  • Bump tested up to 6.9.

1.1.1 – 24th June 2025

  • Bump WordPress tested up to field to support 6.8 branch.

1.1.0 – 17th November 2024

  • Introduced “Customer Is A Guest” pseudo-role, enabling role restrictions to target guest users.
  • Fixed a bug which would auto exclude the guest when any role was set as excluded.
  • Added support for passing a context object to the runthings_wc_coupons_role_restrict_error_message filter.
  • Context includes additional information such as coupon, is_guest, user, allowed_roles, excluded_roles, and effective_allowed_roles.
  • Improved documentation for filters, including usage examples and detailed context information.
  • Updated screenshots.

Full changelog on WordPress.org →

Screenshots

Coupon settings page with role restriction fields.
Coupon settings page with role restriction fields.
Coupon role selection field.
Coupon role selection field.
Example denied coupon usage due to invalid role.
Example denied coupon usage due to invalid role.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Coupons Role Restriction for… alternatives

All coupons plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Discount Rules for WooCommerce Discount Rules for WooCommerce The discount plugin for WooCommerce helps you create bulk discount, quantity discount… by flycart 100K+ ★★★★★★★★★★ 4.9 (1.4K) 3 months ago 77
2 Extended Coupon Features for WooCommerce FREE Extended Coupon Features for WooCommerce FREE Additional functionality for WooCommerce Coupons: Allow discounts to be automatically… by Soft79 10K+ ★★★★★★★★★★ 5 (69) 10 months ago 62
3 Coupon Generator for WooCommerce Coupon Generator for WooCommerce Generate WooCommerce coupons easily and fast. by Jeroen Sormani 9K+ ★★★★★★★★★★ 4.5 (35) 2 years ago 47
4 Loyalty Points Rewards and Referral for WooCommerce – WPLoyalty Loyalty Points Rewards and Referral for WooCommerce Create WooCommerce points and rewards program with WPLoyalty to increase customer loyalty… by flycart 4K+ ★★★★★★★★★★ 5 (319) 1 month ago 89
5 Auto Coupons for WooCommerce Auto Coupons for WooCommerce Apply WooCommerce Coupons automatically with a fast, lightweight plugin. Set minimum… by RLDD 3K+ ★★★★★★★★★★ 4.9 (16) 3 months ago 77
6 Flexible PDF Coupons – Gift Cards & Vouchers for WooCommerce Flexible PDF Coupons – Gift Cards & Vouchers for WooCommerce Flexible PDF Coupons - Gift Cards & Vouchers for WooCommerce - plugin to design and sell… by wpdesk 2K+ ★★★★★★★★★★ 4.7 (32) 2 weeks ago 91
7 Coupons & Add to Cart by URL Links for WooCommerce Coupons & Add to Cart by URL Links for WooCommerce Apply discounts & coupons via URL (link) to enhance user experience and increase conversion… by WPFactory 2K+ ★★★★★★★★★★ 5 (10) 2 weeks ago 83
8 WP Coupons and Deals – WordPress Coupon Plugin WP Coupons and Deals – WordPress Coupon Plugin Best WordPress Coupon Plugin. Generate more affiliate sales with coupon codes and deals. by Imtiaz Rayhan 1K+ ★★★★★★★★★★ 4.7 (125) 7 months ago 69
9 PW WooCommerce Copy Coupon PW WooCommerce Copy Coupon Simply adds a Copy button to WooCommerce coupons to make it easier to create new coupons! by pimwick 1K+ ★★★★★★★★★★ 5 (10) 4 days ago 82
10 Advanced coupon for WooCommerce Advanced coupon for WooCommerce Advanced coupon for WooCommerce Offer lowest item in cart for free | Advanced condition… by PI Web Solution 800+ ★★★★★★★★★★ 5 (19) 4 weeks ago 82

FAQ

Coupons Role Restriction for WooCom…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Coupons Role Restriction for Wo… free?

Yes. Coupons Role Restriction for Wo… is free to download and use from the official WordPress.org plugin directory.

Is Coupons Role Restriction for Wo… safe to use in 2026?

Coupons Role Restriction for Wo… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 70+ sites and was last updated 4 days ago, and scores 68/100 on our health check.

How many websites use Coupons Role Restriction for Wo…?

Coupons Role Restriction for Wo… is active on 70+ WordPress websites and has been downloaded 2,865 times since it launched in July 2024. It was downloaded 525 times in the last 30 days.

Does Coupons Role Restriction for Wo… work with WordPress 7.1?

Yes. The developer has tested Coupons Role Restriction for Wo… up to WordPress 7.2, the latest release. It requires WordPress 6.4 or newer.

What PHP version does Coupons Role Restriction for Wo… need?

Coupons Role Restriction for Wo… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Coupons Role Restriction for Wo… last updated?

The latest version, 1.1.5, was released on November 30, 2026 (4 days ago).

Who makes Coupons Role Restriction for Wo…?

Coupons Role Restriction for Wo… is developed and maintained by runthings.dev.

What are the best alternatives to Coupons Role Restriction for Wo…?

The most popular alternatives to Coupons Role Restriction for Wo… are Discount Rules for WooComme… (100K+ installs), Extended Coupon Features fo… (10K+ installs) and Coupon Generator for WooCom… (9K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open