Admin Location
All settings are under WooCommerce → Role-Based Pricing in your WordPress admin.
Discount Types Explained
Percentage Off
Subtracts a percentage from the regular price.
Example: 20% off a $100 product = $80Works with all product typesIdeal for across-the-board discountsAmount Off
Subtracts a fixed dollar amount from the regular price.
Example: $10 off a $50 product = $40Amount is subtracted per item, not per cartUseful when you want a fixed reduction regardless of priceSet Price
Replaces the price entirely with an exact amount.
Example: Set to $35 regardless of regular priceIdeal for wholesale pricing where you need a specific numberParticularly useful for variation-specific wholesale pricesGlobal Rules
Global rules apply to all products in your store for a specific role.
1.Go to Role-Based Pricing → Global Rules2.Select a user role3.Choose discount type and value4.Toggle Active/Inactive5.SaveGlobal rules are the starting point. Product-specific rules override them.
Product-Specific Rules
Override global rules for individual products:
1.Edit any WooCommerce product2.Scroll to the Role-Based Pricing meta box3.Add a rule: select role, discount type, and value4.Save the productPriority: Product-specific rules always override global rules for that product.
Variation-Level Rules (v1.1.0+)
For variable products, you can set rules at the variation level:
All Variations — rule applies to every variationSpecific Variation — select a single variation to price differentlyVariation-specific rules override parent product rules. If no variation rule exists, the product-level or global rule applies as a fallback.
Role Management
Using Existing Roles
The plugin works with all built-in WordPress roles: Administrator, Editor, Author, Contributor, Subscriber, Customer, Shop Manager.
Creating Custom Roles
Create up to 3 custom roles for your pricing tiers:
1.Go to Role-Based Pricing → Manage Roles2.Click Create Custom Role3.Enter a slug (e.g., wholesale) and display name (e.g., Wholesale Customer)4.The role is immediately available for pricing rules and user assignmentAssigning Users
Individual: Edit user → change role dropdownBulk: Use a plugin like "User Role Editor" for bulk assignmentProgrammatic: Use wp_update_user() with the role slugCaching System
The plugin uses a multi-layer caching strategy:
1.Object Cache — If Redis/Memcached is available, prices are cached in object cache (1 hour TTL)2.Transient Cache — Fallback to WordPress transients (30 minute TTL)3.In-Memory Cache — Request-scoped storage eliminates redundant calculations within a single page loadCache is automatically cleared when:
A pricing rule is created, updated, or deletedA product is savedA user's role is changedAn order is completedFrontend Display
Original prices shown with strikethroughMember prices highlighted in your theme's accent colorPrices update in shop, product page, cart, checkout, and mini-cartPrice ranges on variable products recalculate automaticallyCustomizing Price Color
Add to Appearance → Customize → Additional CSS:
.maxtdesign-rbp-price .maxtdesign-rbp-member {
color: #your-color !important;
}