Title: Coupon by User Role for WooCommerce
Author: WPFactory
Published: <strong>25. februara 2021</strong>
Last modified: 28. oktobra 2026

---

Tykace pytaś

![](https://ps.w.org/coupon-by-user-role-for-woocommerce/assets/banner-772x250.png?
rev=2970923)

![](https://ps.w.org/coupon-by-user-role-for-woocommerce/assets/icon.svg?rev=2970923)

# Coupon by User Role for WooCommerce

 Wót [WPFactory](https://profiles.wordpress.org/wpcodefactory/)

[Ześěgnuś](https://downloads.wordpress.org/plugin/coupon-by-user-role-for-woocommerce.2.3.1.zip)

 * [Drobnostki](https://dsb.wordpress.org/plugins/coupon-by-user-role-for-woocommerce/#description)
 * [Pógódnośenja](https://dsb.wordpress.org/plugins/coupon-by-user-role-for-woocommerce/#reviews)
 *  [Instalacija](https://dsb.wordpress.org/plugins/coupon-by-user-role-for-woocommerce/#installation)
 * [Wuwiśe](https://dsb.wordpress.org/plugins/coupon-by-user-role-for-woocommerce/#developers)

 [Pódpěra](https://wordpress.org/support/plugin/coupon-by-user-role-for-woocommerce/)

## Wopisanje

**Coupon by User Role for WooCommerce** is a lightweight plugin that lets you:

 * **Disable** or **invalidate** selected (or all) **coupons** for selected user
   role(s).
 * Set **coupon amount** per user role.

### ✅ Coupon Availability by User Role

**Disable all coupons for selected user roles** – This will disable all coupons 
for selected user roles. Coupons will be disabled completely, including coupon code
input field on the cart and checkout pages.

**Invalidate selected (or all) coupons for selected user roles** – This will invalidate
selected (or all) coupons for selected user roles. Coupon code input field will 
still be available on the cart and checkout pages. In case if user with „wrong“ 
user role will try to apply the coupon, plugin will display customizable „Coupon
is not valid for your user role“ message on frontend.

### ✅ Coupon Amount by User Role

Sets **coupon amount** per user role.

### 🗘 Feedback

 * We are open to your suggestions and feedback. Thank you for using or trying out
   one of our plugins!
 * [Visit plugin site](https://wpfactory.com/item/coupon-by-user-role-for-woocommerce/).

### ℹ More

 * The plugin is **„High-Performance Order Storage (HPOS)“** compatible.

## Instalacija

 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the „Plugins“ menu in WordPress.
 3. Start by visiting plugin settings at „WPFactory > Coupon by User Role“.

## Reviews

There are no reviews for this plugin.

## Sobustatkujuce a wuwijarje

„Coupon by User Role for WooCommerce“ jo software wótwórjonego žrědła. Slědujuce
luźe su pśinosowali k toś tomu tykacoju.

Sobustatkujuce

 *   [ WPFactory ](https://profiles.wordpress.org/wpcodefactory/)
 *   [ Tom Anbinder ](https://profiles.wordpress.org/anbinder/)
 *   [ Pablo Pacheco ](https://profiles.wordpress.org/karzin/)
 *   [ Omar AlDabbas ](https://profiles.wordpress.org/omardabbas/)

[Translate “Coupon by User Role for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/coupon-by-user-role-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/coupon-by-user-role-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/coupon-by-user-role-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/coupon-by-user-role-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/coupon-by-user-role-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.3.1 – 28/10/2026

 * Dev – The free plugin version can now handle all user roles (including custom).
 * Requires at least: 4.6.

#### 2.3.0 – 19/10/2026

 * Dev – Code refactoring.
 * Dev – Coding standards improved.
 * Dev – WPFactory Admin Menu – Library updated (to v1.1.4).
 * Dev – WPFactory Cross-Selling – Library updated (to v1.1.7).
 * Dev – WPFactory Key Manager – Library updated (to v1.1.1).
 * WC tested up to: 11.2.
 * Tested up to: 7.1.
 * Requires at least: 4.5.
 * Requires PHP: 7.4.

#### 2.2.2 – 24/05/2026

 * WC tested up to: 10.7.
 * Tested up to: 7.0.

#### 2.2.1 – 03/09/2025

 * WC tested up to: 10.1.

#### 2.2.0 – 25/06/2025

 * Fix – Translation loading fixed.
 * Dev – Security – Output escaped.
 * Dev – Security – Input sanitized.
 * Dev – Security – Nonces added.
 * Dev – Plugin settings moved to the „WPFactory“ menu.
 * Dev – WPFactory „Recommendations“ added.
 * Dev – WPFactory „Key Manager“ added.
 * Dev – Code refactoring.
 * Dev – Coding standards improved.
 * WC tested up to: 9.9.
 * Tested up to: 6.8.

#### 2.1.1 – 30/07/2024

 * WC tested up to: 9.1.
 * Tested up to: 6.6.

#### 2.1.0 – 14/11/2023

 * Dev – „High-Performance Order Storage (HPOS)“ compatibility.
 * Dev – Code refactoring.
 * WC tested up to: 8.2.
 * Tested up to: 6.4.

#### 2.0.4 – 24/09/2023

 * WC tested up to: 8.1.
 * Tested up to: 6.3.
 * Plugin icon, banner updated.

#### 2.0.3 – 18/06/2023

 * WC tested up to: 7.8.
 * Tested up to: 6.2.

#### 2.0.2 – 14/11/2022

 * WC tested up to: 7.1.
 * Tested up to: 6.1.
 * Readme.txt updated.
 * Deploy script added.

#### 2.0.1 – 13/04/2022

 * Tested up to: 5.9.
 * WC tested up to: 6.4.

#### 2.0.0 – 25/08/2021

 * Dev – „Amounts“ section added.
 * Dev – Per coupon settings redesigned. Now all options are in „Coupon data“ tabs(
   instead of in meta boxes).
 * Dev – General settings section renamed to „Availability“. Settings descriptions
   updated.
 * Dev – Code refactoring.
 * WC tested up to: 5.6.

#### 1.4.0 – 24/07/2021

 * Dev – „Exceptions“ options added (to „All Coupons: Disable“, „All Coupons: Invalidate“
   and „Per coupon“).
 * Dev – Admin settings – „Select all“ and „Deselect all“ buttons added.
 * Dev – Plugin is initialized on `plugins_loaded` action now.
 * Dev – Code refactoring.
 * WC tested up to: 5.5.
 * Tested up to: 5.8.

#### 1.3.0 – 25/02/2021

 * Dev – Free plugin version released.
 * Dev – Message – Placeholders added: `%coupon_code%`, `%coupon_amount%`.
 * Dev – Meta Boxes – All input is sanitized now before saving.
 * Dev – Localisation – `load_plugin_textdomain()` function moved to the `init` 
   action.
 * Dev – Admin settings descriptions updated.
 * Dev – Code refactoring.
 * WC tested up to: 5.0.
 * Tested up to: 5.6.

#### 1.2.0 – 26/07/2019

 * Dev – Code refactoring.
 * Dev – Admin settings descriptions updated.
 * WC tested up to: 4.0.
 * Tested up to: 5.3.

#### 1.1.0 – 26/07/2019

 * Dev – Now checking all user’s roles (instead of only first role).
 * Dev – Shortcodes are now processed in „Message“; language shortcode `[alg_wc_cbur_translate]`
   added (for WPML/Polylang).
 * Dev – Code refactoring.
 * WC tested up to: 3.6.
 * Tested up to: 5.2.

#### 1.0.0 – 11/06/2018

 * Initial Release.

## Commercial plugin

This plugin is free but offers additional paid commercial upgrades or support.

## Meta

 *  Version **2.3.1**
 *  Last updated **3 tyźenje**
 *  Active installations **60+**
 *  WordPress version ** 4.6 abo nowša **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 abo nowša **
 *  Language
 * [English (US)](https://wordpress.org/plugins/coupon-by-user-role-for-woocommerce/)
 * Tags
 * [coupon](https://dsb.wordpress.org/plugins/tags/coupon/)[ecommerce](https://dsb.wordpress.org/plugins/tags/ecommerce/)
   [user role](https://dsb.wordpress.org/plugins/tags/user-role/)[woocommerce](https://dsb.wordpress.org/plugins/tags/woocommerce/)
 *  [Rozšyrjony naglěd](https://dsb.wordpress.org/plugins/coupon-by-user-role-for-woocommerce/advanced/)

## Pógódnośenja

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/coupon-by-user-role-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/coupon-by-user-role-for-woocommerce/reviews/)

## Sobustatkujuce

 *   [ WPFactory ](https://profiles.wordpress.org/wpcodefactory/)
 *   [ Tom Anbinder ](https://profiles.wordpress.org/anbinder/)
 *   [ Pablo Pacheco ](https://profiles.wordpress.org/karzin/)
 *   [ Omar AlDabbas ](https://profiles.wordpress.org/omardabbas/)

## Pódpěra

Got something to say? Need help?

 [Forum pomocy pokazaś](https://wordpress.org/support/plugin/coupon-by-user-role-for-woocommerce/)