WooCommerce Prices and Discounts by Role (B2B)
The plugin controls the visibility of prices and discount amounts in WooCommerce depending on the user role. For selected roles (e.g. "B2B Client") you can set an individual discount, and for other users – including non-logged-in users – hide the price and "Add to Cart" button, displaying instead a replacement message with an optional login link.
Key Features
- Selection of any number of roles that can see prices and make purchases
- Separate discount for each role: percentage, fixed amount (less by X zł) or fixed net price
- Discounts work on product variants as well, not just on simple products
- Badge indicating the discount amount next to the product price
- Optional complete purchase block (not just price hiding) for disallowed roles
- Customizable message content replacing the price, with an optional login link
- Works on both product lists and individual product pages, using standard WooCommerce hooks
For whom
For B2B stores and wholesalers who want to differentiate prices by customer group and at the same time hide prices from guests and retail customers without access to wholesale pricing. A similar solution with discounts and customer groups for PrestaShop can be found in the cocos.codes module catalog, and custom pricing logic for your store can be ordered at montowniastron.pl.






There are no reviews yet.