Role-Based Pricing
WooCommerce membership pricing. Three discount types. Zero performance hit.
Free role-based pricing for WooCommerce. Create customer groups and apply percentage off, amount off, or exact set-price rules across your catalog — no subscriptions, no upsells.

Features
What Role-Based Pricing Does
Built for performance, designed for simplicity.
Overview
Why Role-Based Pricing?
Transform your WooCommerce store with role-based pricing. Create price rules for different customer groups using percentage, amount-off, or set-price rules — no subscriptions, no upsells, and no complex setup.
Three discount types give you full control: Percentage subtracts X% from the price, Amount Off subtracts a fixed dollar amount, and Set Price replaces the price entirely — ideal for variation-specific wholesale prices. Apply rules globally across all products, or override with product-specific and variation-level pricing when you need granular control.
The plugin is built for performance. An advanced caching system with automatic object cache detection and transient fallbacks ensures zero slowdown on large catalogs. Database tables use optimized indexes for fast queries. In-memory storage eliminates redundant calculations within each request.
Perfect for wholesale and B2B businesses, membership sites with tier pricing, multi-tier loyalty programs, and stores offering bulk discounts. Create up to 3 custom user roles or use existing WordPress roles. Original prices shown with strikethrough for transparency. Full WooCommerce HPOS compatibility and multisite support.
Requirements
- WordPress 6.2 or higher
- PHP 7.4 or higher
- WooCommerce 7.0 or higher
FAQ
Frequently Asked Questions
Can't find what you're looking for? Check the documentation or ask on the support forum.
Changelog
What's New
- Added .distignore so WordPress.org's zip builder excludes dev-only files (defense-in-depth on top of the existing prepare-svn allow-list)
- Fixed missing translator comment on the Variation #%d admin string (Plugin Check WordPress.WP.I18n.MissingTranslatorsComment)
- Hardened three admin echo paths through wp_kses_post() so the escape guarantee is local to each output (satisfies Plugin Check; no functional change — values were already internal HTML)
- Updated phpcs:ignore metadata on the table-management queries fixed in 1.1.1 to also list WordPress.DB.PreparedSQL.InterpolatedNotPrepared and PluginCheck.Security.DirectDB.UnescapedDBParameter
- Documented why the six WP_DEBUG-gated error_log() sites are retained (primarily the cache-sanity telemetry that flags rapid-order pricing exploits)
- WordPress 7.0 "Armstrong" + WooCommerce 10.8 compatibility
- Raised WooCommerce minimum to 7.0 (was 5.0) — WC 5.x predates HPOS and the plugin already declares HPOS compatibility
- CRITICAL FIX: cache warming (get_popular_product_ids) now uses wc_get_orders() instead of joining wp_posts to wp_woocommerce_order_items. The old query returned empty or incorrect results on HPOS stores; the rewrite works on both legacy and HPOS storage
- CRITICAL FIX: drop_table(), add_database_indexes(), and get_table_sizes() were passing table names through wpdb::prepare("…%s…") which quotes identifiers as string literals — making them silently no-op. Index migration on activation was silently failing; now applies correctly on upgrade
- Transient-cleanup queries hardened with wpdb::esc_like() + prepared statements (no SQLi risk in prior code, but satisfies Plugin Check / VIPCS)
- readme.txt: system requirements aligned with plugin header values; corrected installation step that pointed at the wrong slug
- New Set Price discount type — set exact price regardless of regular price
- Variation-level rules — apply rules to all variations or specific variations
- Improved labels: Amount Off and Set Price for clearer UX
- Parent rule fallback: variations inherit parent rules when no variation-specific rule exists
- Initial release with global and product-specific pricing rules
- Create up to 3 custom user roles
- Advanced caching system with automatic optimization
- WooCommerce HPOS compatibility
- Database optimization with proper indexing
- Multisite compatible, zero external dependencies
Documentation & Support
Step-by-step guides, configuration help, and community support through WordPress.org.
Open Source on GitHub
View the source, report bugs, or contribute. This plugin is free and open source under the GPL.
Need Something Custom?
We build custom WordPress plugins tailored to your exact requirements.