...

Blog Content

/

How to Set Up Role-Based Pricing: Tailored Costs for Every Customer Segment

The WooCommerce Role-Based Pricing Plugin allows store admins to define flexible pricing rules directly from a single screen. Using the interface shown above, you can apply role-based, customer-based, quantity-based, and time-based pricing with full control.

This guide explains how to configure role-based pricing step by step, exactly as shown in the plugin UI.

Step 1: Add a New Pricing Rule

At the top of the screen:

  • Click Add New Field
  • Enter a clear Title
    👉 Example: Wholesale Role Pricing

This title helps you identify the rule later when managing multiple pricing rules.

Step 2: Set Rule Restrictions (Top Section)

In the Restrictions section of the interface, define where the pricing rule should apply:

  • Product – Choose specific products
  • Categories – Apply pricing to selected categories
  • Tag – Target products using tags
  • Country – Limit pricing by customer country
  • Time Range – Set start and end time for the rule

✅ These restrictions ensure the pricing rule is applied only where needed.

Step 3: (Optional) Configure Customer-Based Pricing

In the Customer Based section:

Click Add New to define pricing for specific customers.

You can configure:

  • Select Customer
  • Discount On (Regular Price or Sale Price)
  • Discount Type
    • Fixed Increase
    • Fixed Decrease
    • Percentage Decrease
  • Discount Value
  • Min Qty / Max Qty
  • Start / End Date
  • Days
  • Priority

📌 Use this section if you want individual customer pricing instead of role-based pricing.

Step 4: Configure Role-Based Pricing (Main Section)

In the Role Base section (shown at the bottom of the image):

  1. Click Add New
  2. Fill in the following fields:
  • Select User Role
    👉 Example: Wholesale, Retailer, Subscriber
  • Discount On
    👉 Regular Price or Sale Price
  • Discount Type
    • Fixed Increase
    • Fixed Decrease
    • Percentage Decrease
  • Discount Value
    👉 Example: 20% discount for Wholesale users
  • Min Qty / Max Qty
    👉 Apply discounts only for bulk purchases
  • Start / End Date
    👉 Schedule pricing rules
  • Days
    👉 Apply pricing on selected weekdays
  • Priority
    👉 Control which rule applies when multiple rules overlap

Step 5: Save the Pricing Rule

After completing the fields:

  • Review the rule configuration
  • Save the rule

The pricing rule is now active and will apply automatically.

How Role-Based Pricing Works on the Frontend

Once configured:

  • Prices adjust automatically based on logged-in user roles
  • Wholesale users see wholesale prices
  • Retail customers see standard prices
  • Discounts update dynamically on:
    • Product pages
    • Cart
    • Checkout

No manual price changes are required with this role base pricing plugin.

Example Use Case: Wholesale Pricing Setup

Using our plugin of B2B Extension Store a WooCommerce store can:

  • Select Wholesale role
  • Apply a percentage discount
  • Set minimum quantity for bulk orders
  • Restrict pricing to specific categories
  • Schedule pricing for business days only

This ensures each customer segment sees only the pricing meant for them.

Key Benefits of Role-Based Pricing

  • ✅ Personalized pricing for every user role
  • ✅ Better control over margins
  • ✅ Automated wholesale and bulk pricing
  • ✅ Flexible scheduling and quantity rules

✅ Clean and intuitive rule management