1. Documentation
  2. Plugins
  3. WooCommerce
  4. Extensions

Role Based Pricing for WooCommerce

Setup and Configuration ↑ Back to top

After activating WooCommerce Role Based Pricing, you can see the “Price by User Role” in the WordPress admin menu and access the product level settings from the product edit page.

Set up Role Based Pricing from Product Level ↑ Back to top

Go to the product edit page and click on the “price by user role” to access the product level settings. The product level settings allow you to,

  • Select user role and customer for which you want to change the prices
  • Set a fixed price or increase/decrease price by a percentage or a fixed amount
  • Set up minimum and maximum order quantity

Change Prices for Specific Variation ↑ Back to top

To update the price for any variation, go to the product edit page and edit the variation. Under the variations settings, you can see the new “Price by User Roles” section. From here you can update the price for each variation. Please note, currently, there is no option to update prices in bulk for attributes and variations.

Set up Role Based Pricing in Bulk ↑ Back to top

To update product prices for specific user roles or customers in bulk go to “Price by User Role” from left admin menu and navigate to “Add New Rule”. While adding a new rule you can,

  • Specify the user role or customers for which you want to update prices.
  • Select products or categories for which you want to change prices
  • Set a fixed price or increase/decrease price by a percentage or a fixed amount
  • Set up minimum and maximum order quantity

Same discount will be applied to all variations of a variable product.

Customize Messages for Min and Max Quantity ↑ Back to top

Customize error messages for minimum and maximum order quantity.

Hide Price and Add to Cart Button ↑ Back to top

Go to Role-Based Pricing from admin menu and go to Hide Price settings. Here you can configure the following options,

  • Hide price and add to cart
  • Hide only add to cart
  • Hide for not logged in users
  • Hide for registered users (specific user roles)
  • Replace price with custom text
  • Replace Add to Cart with new customizable button
  • Customize Button Text & Link
  • Hide for specific products and categories
  • To hide for the entire catalog, select all categories

Understand the Priorities ↑ Back to top

The plugin has specific priorities to handle overlapping price adjustments. Here is how the default priorities work.

1.  Product Level Settings
1a. Price set for specific customer
1b. price set for specific user role

2. Rule-Based Settings
2a. Price set for specific customer
2b. Price set for specific user role

Common issues & their fixes: ↑ Back to top

Customer-specific pricing is working but role-based pricing is NOT working

When you configure customer-specific pricing, the rule-based pricing will not work for that specific customer however it will work for the rest of the customers and user roles.

How to create user roles? I cannot see wholesale user role after installing this extension.

This extension does not add user roles, you can use any free available user roles editor plugin to add roles. Once the roles are added the same roles will start appearing in extension configurations.

After setting up the role-based pricing – the add to cart button is not working.

When you configure minimum quantity great than 1.  On the front end, the product will not be added to the cart unless the customer enters quantity more than the minimum limit or less than the maximum limit. You are not seeing any notification, probably because you have not added any minimum/maximum quantity error message. Go to backend > Role-based pricing and navigate to “settings” page to add custom messages for minimum and maximum quantities.

Is it compatible with Product Addons?

No, the plugin compatible with default variations. Currently, it’s not compatible with any product options or addons plugin. However, it is listed under our future development plans.

WooCommerce - the most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment