BACK TO DIRECTORY

Simple Role Based Pricing

by Thomas Lloancy

0.0
(0 ratings)

Pick a role. Choose how the price works. Save.

That is the whole daily job. Wholesale, VIP, members, staff — one screen under WooCommerce Settings Role Based Pricing.

Pricing itself is rarely that tidy. A product can sit in several categories, a user can have more than one role, a sale price may already be running, a wholesaler may need an exception, a campaign may start next Monday. The plugin handles those cases so you do not have to stack extra tools.

What you set

  • Percentage, fixed amount, or a final price for a WordPress user role.
  • All products, or only selected categories — with a different type/value per category if you need it.
  • Optional start and end dates. Leave them empty for a permanent rule.
  • Optional per-user override on the WordPress profile. That price wins over the role rule.

What the storefront does

  • Logged-in customers see the role price on the shop, the product page, and in the cart.
  • Guests keep the catalog price.
  • Variable products: the discount applies to each variation; WooCommerce still owns the parent price range.
  • If a product is already on a native WooCommerce sale, that sale wins. The role rule does not stack on top.
  • Cart totals refresh when the customer logs in, so a guest cart picks up the role price after sign-in.
  • The admin catalog and REST exports keep the original prices.

Typical uses

  • A wholesale role at −20% on the whole catalog.
  • Members-only prices on a few categories, with a different rate on one of them.
  • A campaign window for staff or partners, without touching product sale fields.
  • One customer who should not follow their role — set it on their user profile.

AI ready

On WordPress 6.9 or later the plugin registers three Abilities so an assistant (official AI plugin + a connector) can set, read, or remove a role discount. On the same Role Based Pricing screen, a text field and Generate button do the same from a sentence when that plugin is installed. Both still require the manage WooCommerce capability. Older WordPress versions skip the Abilities; the settings screen stays usable without AI.

A longer walkthrough ships in the plugin folder: docs/USER-GUIDE.md (English) and docs/MODE-DEMPLOI.md (French).

Compatibility

  • WooCommerce 8.0 or higher (tested up to 11.0).
  • HPOS (High-Performance Order Storage) compatible.
  • Custom roles from User Role Editor and similar plugins work as-is: if WordPress knows the role, this plugin can price it.

Screenshots

Role settings: enable a rule, choose all products or categories, set the discount.

Role settings: enable a rule, choose all products or categories, set the discount.

Category picker with per-category type and value.

Category picker with per-category type and value.

Overview of every role, including schedule status.

Overview of every role, including schedule status.

Plugin Details

Active Installs
30
Total Downloads
4,956
Version
2.6.1
Requires WP
5.0
Requires PHP
7.4
Tested Up To
7.1
Added
2025-05-21
Last Updated
2026-08-30 12:21pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0