1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. Role Based Pricing
  5. Set role-based pricing rules
  1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. Set role-based pricing rules

Set role-based pricing rules

You can set role based pricing for products in several ways:

  1. Set global role-based fixed or percentage adjustments
  2. Create any kind of discount rule for some or all products
  3. Set role-based adjustments per product
  4. Define specific prices per product for certain roles

These methods apply to simple and variation products.

1. Setting global role based pricing rules

To set global pricing rules, go to WooCommerce > Settings > Fees and Discounts and ensure the ‘Enable User Role Pricing’ option is selected.

Enable WooCommerce user role pricing

You can then click on the ‘User Role Pricing’ menu item and set rules for each user role.

global woocommerce user role pricing

In the ‘Adjustment’ column, pick the type of discount or fee you want to apply.

In the ‘Amount’ column, pick the amount.

2. Creating role-based discount rules

You can create discount rules for some or all products – including specific categories or specific products.

Go to WooCommerce > Fees and Discounts and click ‘Add New’ to create a new discount rule. The article here describes all the settings available to you.

However, note that you can specify certain roles that the rule should apply for. You can also specify roles that should be excluded from the rule.

Roles setting for Fees and Discounts

Use the ‘Roles’ field to specify which roles the rule applies to. For example, you could create a bulk pricing rule for your wholesale customers only.

Use the ‘Exclude roles’ field to specify any user roles that are not entitled to the discount. For example, you can create a 10% discount for all your retail customers and exclude wholesale customers.

3. Setting role-based discounts and fees by product

If you want to apply role based pricing on a product by product basis, you can do so from the edit screen for individual products.

Click the ‘User Roles’ tab in the ‘Product Data’ section and enter the adjustment type and amount as above.

user role pricing by product

4. Setting specific prices per product for different user roles

Finally, if you don’t want to apply universal discounts or fees to products for different user roles, you can enter different prices per product for certain roles.

To select which roles should be enabled for role-based pricing, go to WooCommerce > Settings > Fees and Discounts > User Role Pricing and enter the roles in the ‘Role Price Fields’ setting. You can enter as many roles as you like here.

role price fields

This will enable additional product price fields for each specified role.

product specific role based prices

Video

Was this article helpful?

Related Articles