Description
With Coupon by User Role for WooCommerce Pro plugin you can disable or invalidate selected (or all) coupons for selected user role(s). For example you could disable coupons for “Guest” and/or “Customer” user roles.
Plugin settings are located in “WooCommerce > Settings > Coupon by User Role”.
All Coupons
- 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 on the cart page.
- Default: None
- Invalidate all coupons for selected user roles
- This will invalidate all coupons for selected user roles. Coupon code input will still be available on the cart page.
- Default: None
Per Coupon
- Invalidate per coupon
- This will add “Coupon by User Role” meta box to each coupon’s admin edit page.
- Default:
no
- Default:
Message
- "Coupon is not valid" message
- Message that will be displayed for invalid coupons on frontend.
- Default:
Coupon is not valid for your user role.
- Default:
The plugin is WPML/Polylang compatible. To translate the message into another language, you can use
[alg_wc_cbur_translate]
shortcode, e.g.: [alg_wc_cbur_translate lang="DE" lang_text="Message for DE" not_lang_text="Message for other languages"]
or in more complex form:
[alg_wc_cbur_translate lang="DE"]Message for DE[/alg_wc_cbur_translate][alg_wc_cbur_translate lang="NL"]Message for NL[/alg_wc_cbur_translate][alg_wc_cbur_translate not_lang="DE,NL"]Message for other languages[/alg_wc_cbur_translate]
The plugin is multi-roles compatible – in case if you have installed plugin for multi-roles on your site (i.e. site user can have multiple user roles at once), the plugin will check all user’s roles (i.e. not only the first one).
Mo –
Excellent and simple plugin, easy to use. And thanks Tom for great support.