Title: Coupons by Role
Author: sirrahikkala
Published: <strong>20. Dezember 2017</strong>
Last modified: 1. Oktober 2026

---

Plugins suchen

![](https://ps.w.org/woo-coupons-by-role/assets/banner-772x250.png?rev=1789935)

![](https://ps.w.org/woo-coupons-by-role/assets/icon-256x256.png?rev=1789935)

# Coupons by Role

 Von [sirrahikkala](https://profiles.wordpress.org/sirrahikkala/)

[Herunterladen](https://downloads.wordpress.org/plugin/woo-coupons-by-role.zip)

 * [Details](https://de.wordpress.org/plugins/woo-coupons-by-role/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/woo-coupons-by-role/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/woo-coupons-by-role/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/woo-coupons-by-role/#developers)

 [Support](https://wordpress.org/support/plugin/woo-coupons-by-role/)

## Beschreibung

Coupons by Role plugin allows administrators to hide coupon field and button from
the Woocommerce cart page for each group/role and optionally show text instead. 
This plugin is useful when you use role based pricing plugins since they do not 
discount prices with woocommerce functions and in those cases Woocommerce allows
double discount where role based price and coupon can be stacked.

Supports classic WooCommerce cart and checkout templates and the Cart and Checkout
blocks. Restricted roles cannot apply coupons through the Store API. Messages are
displayed as plain text. For users with multiple restricted roles, the first restricted
role in their role list determines the message.

## Screenshots

[⌊Settings tab⌉⌊Settings tab⌉[

Settings tab

## Installation

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. The plugin settings can be accessed via the ‚Woocommerce‘, ‚Settings‘ menu and „
    Coupons by Role“ tab in the administration area (either your site administration
    for single-site installs, or your network administration for network installs).

## Rezensionen

Zu diesem Plugin liegen noch keine Rezensionen vor.

## Mitwirkende und Entwickler

„Coupons by Role“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin
mitgewirkt:

Mitwirkende

 *   [ sirrahikkala ](https://profiles.wordpress.org/sirrahikkala/)

[Übersetze „Coupons by Role“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/woo-coupons-by-role)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/woo-coupons-by-role/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/woo-coupons-by-role/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/woo-coupons-by-role/)
per [RSS](https://plugins.trac.wordpress.org/log/woo-coupons-by-role/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 1.3.0

 * Added missing License and License URI metadata matching the existing GPLv3-or-
   later license.
 * Added WooCommerce Cart and Checkout block support, including hidden coupon forms
   and optional role messages.
 * Enforced coupon restrictions during Store API and AJAX requests, including direct
   coupon applications, while preserving ordinary administration tools.
 * Fixed classic cart message placement and retained messages after cart updates
   without relying on submit-button selectors or jQuery.
 * Fixed message selection for users with multiple roles by using the first restricted
   role in their role list.
 * Rendered messages as escaped plain text and removed inline JavaScript to safely
   handle quotes, line breaks, and HTML.
 * Ignored empty or malformed messages and malformed role settings.
 * Deferred translation loading to init and made role message labels translatable.
 * Improved role lookup while retaining compatibility with the declared minimum 
   WordPress version.
 * Declared WooCommerce as a plugin dependency and declared Cart and Checkout block
   compatibility.
 * Updated Tested up to to WordPress 7.1.2.
 * Added 26 regression checks, verified using PHP 8.5.11 and WordPress 7.1.2 hooks
   and escaping functions.

#### 1.2.1

 * Version bump and tested up-to data.

#### 1.2

 * Version bump and tested up-to data.

#### 1.1

 * Fixed plugin layout and descriptions.

#### 1.0

 * Initial release

## Meta

 *  Version **1.3.0**
 *  Zuletzt aktualisiert **vor 2 Monaten**
 *  Aktive Installationen **10+**
 *  WordPress-Version ** 4.1 oder höher **
 *  Getestet bis **7.1.4**
 *  PHP-Version ** 5.6 oder höher **
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/woo-coupons-by-role/)
 * Schlagwörter
 * [coupon](https://de.wordpress.org/plugins/tags/coupon/)[group](https://de.wordpress.org/plugins/tags/group/)
   [role](https://de.wordpress.org/plugins/tags/role/)[woocommerce](https://de.wordpress.org/plugins/tags/woocommerce/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/woo-coupons-by-role/advanced/)

## Bewertungen

Es wurden noch keine Rezensionen eingereicht.

[Deine Rezension](https://wordpress.org/support/plugin/woo-coupons-by-role/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/woo-coupons-by-role/reviews/)

## Mitwirkende

 *   [ sirrahikkala ](https://profiles.wordpress.org/sirrahikkala/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/woo-coupons-by-role/)

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://www.paypal.me/couponsbyrole)