# Price by User Role for Woocommerce

**Contributors:** jthemesstudio, spiderwares   
**Tags:** woocommerce, price by user role for woocommerce, role-based pricing, user role, dynamic pricing  
**Requires at least:** 5.6
**Version**: 1.0.7 
**Tested up to:** 6.8
**Stable tag:** 1.0.7  
**Requires PHP:** 7.4  
**License:** GPL-2.0+  
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html  
**Text Domain:** price-by-user-role-for-woocommerce  
**Domain Path:** /languages  

The Price by User Role plugin lets store owners set custom pricing discounts or markups, fixed or percentage-based, by user role.

## Description

Price by User Role provides store owners with the flexibility to apply unique pricing rules depending on user roles, visitors, and product categories. Ideal for **B2B stores**, **wholesalers**, and **retailers**, it helps manage pricing efficiently, enhancing customer engagement and boosting conversions.

## Presentation  

[**Premium**](https://codecanyon.net/item/price-by-user-roles-in-woocommerce-plugin/52908083) | [**Demo**](https://plugins.jthemesstudio.com/price-by-user-roles/)  | [**Documentation**](https://plugins.jthemesstudio.com/docs/price-by-user-role/)

## Watch a Demo Video
<iframe width="800" height="375" src="https://www.youtube.com/embed/mVuAuUyPkdQ?si=GPmFZKIX_vrogz1W" frameborder="0" allowfullscreen></iframe>

## 🚀 Features  

⭐ **Fixed or Percentage-Based Pricing Adjustments** – Set price modifications using a fixed amount or percentage-based discounts/markups.  
⭐ **Support for Guest Users** – Apply custom pricing rules even for non-logged-in visitors.  
⭐ **Role-Based Pricing** – Assign exclusive discounts or markups to different user roles.  
⭐ **Hide Prices for Specific User Roles** – Restrict product prices from being displayed based on user roles.  
⭐ **Custom Price Messages** – Replace price displays with personalized text (e.g., "Contact for Pricing").  
⭐ **Dynamic Discount/Markup Tables** – Show clear pricing breakdowns on shop, product, and archive pages.  


## 🔥 Pro Features  

⭐ **Sale & Non-Sale Product Rules** – Set pricing rules specifically for products that are on sale or at regular price.  
⭐ **Product-Specific Pricing Overrides** – Customize individual product prices, overriding global rules when needed.  
⭐ **Category-Based Pricing Rules** – Apply unique price adjustments for specific product categories.  
⭐ **Advanced Category Rule Management** – Set up multiple category-based pricing rules with priority control for complex strategies.  


### Benefits

- **Boost Sales**: Personalize pricing to increase customer engagement.
- **Increase Transparency**: Show pricing tables for improved customer trust.
- **Save Time**: Manage pricing easily with global and specific settings for products and categories.
- **Flexible Customization**: Ideal for both **B2B** and **B2C** businesses.

### Installation

1. Download the plugin zip file.
2. Navigate to `Plugins > Add New` in WordPress.
3. Click `Upload Plugin`, select the zip file, and click `Install Now`.
4. Activate the plugin.
5. Configure settings under `WooCommerce > Settings > Price Adjustment Manager`.

## Frequently Asked Questions

### Can I apply different pricing rules for different user roles?

Yes, you can set unique pricing rules for each user role.

### Does the plugin support visitor users?

Yes, custom pricing rules can be applied to non-logged-in users.

### Can I override global rules on product pages?

Yes, both product-specific and category-specific overrides are possible with the Pro version.

## Screenshots

1. **Display Price On Shop Page:** Shows how the price is displayed on the WooCommerce shop page, considering user roles.
2. **Display Price On Product Page:** Illustrates the price display on individual product pages based on user roles.
3. **Display Price On Category Page:** Shows how prices appear on category pages with user role-based pricing.
4. **Plugin Setting Page:** Displays the settings page for configuring the user role-based price adjustments in the plugin.
5. **Price Setting Page For Category:** Shows the interface where you can set specific prices for categories, based on user roles.
6. **Price Setting Page For Single Product:**  Shows the interface for setting individual product prices according to different user roles.

## Changelog

### 1.0.7
- Added a dependency check to require the free version of "Price by User Role for WooCommerce" for the Pro version to work.
- Improved overall compatibility and stability.

### 1.0.6
- Improved compatibility with AJAX

### 1.0.4
- Stable update with WordPress 6.8

### 1.0.0
- Initial release with both free and pro features.

## Upgrade Notice

### 1.0.0
- Initial release. No previous versions available.

## Support

For support, visit the [Support Forum](#) or contact us directly. We’re here to help!
