No results available
ResetCoupons Role Restriction for WooCommerce
by runthingsdev
Description
This plugin allows you to restrict the usage of WooCommerce coupons based on user roles.
You can specify which roles 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.
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.
Usage:
add_filter(‘runthings_wc_coupons_role_restrict_error_message’, ‘custom_coupon_error_message’);
function custom_coupon_error_message($message) {
return ‘Custom error message for invalid 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)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
To create a collection, simply click on the symbol on the desired plugin.
You can see this symbol when you move the mouse over the plugin.
Current Level
You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community