NACS TECH TECHNOLOGY SOLUTIONS

Official Plugin Page

NACSTech Role-Based Pricing for WooCommerce

This plugin is officially developed and maintained by NACS Tech (nacstech.in). It shows different customers different prices automatically — by role, by specific customer, or by quantity — and adds the wholesale registration and request-a-quote tools a B2B store needs, without a separate store or a bundle of unrelated plugins.

Plugin features

  • Create custom customer roles (e.g. Wholesaler, VIP) right from the plugin, based on an existing role's capabilities
  • Role, specific-customer, or "everyone" pricing rules: fixed price, percentage discount/markup, or fixed-amount discount/markup
  • Product-level pricing rules, with category-level bulk rules as a fallback, and a minimum/maximum quantity per rule
  • Automatic "Buy More, Save More" volume pricing table on the product page, in 6 display formats
  • Hide price and Add to Cart for guests and/or specific roles, with a customizable message and call-to-action
  • Mark selected roles tax-exempt storewide, using WooCommerce's own VAT-exempt handling
  • Per-role cart rules: minimum order amount/quantity, and payment/shipping method restrictions
  • Wholesale account registration with an admin approval screen
  • Request a Quote: customers submit a list, you set the price, and convert it straight into an order
  • CSV import/export of every pricing rule
  • Compatible with HPOS and the WooCommerce Cart/Checkout blocks

Compatibility and data handling

  • Dependency: WooCommerce required
  • Stored settings: `wp_options` under `nacs_rbp_settings`
  • Custom roles: created as real WordPress roles, tracked in `nacs_rbp_custom_roles` so only plugin-created roles are deletable from the plugin's screen
  • Pricing rules: product meta `_nacs_rbp_rules` and category term meta `nacs_rbp_rules`
  • Wholesale & quote requests: user meta for applications, a private `nacs_rbp_quote` post type for quote requests
  • Permissions: admin actions restricted to `manage_woocommerce`
  • Mail: wholesale application and quote-request emails use your site's own WordPress `wp_mail`, sent only on an explicit admin or customer action

Complete Feature Documentation

Every settings tab, in full below — including the exact priority order used when more than one pricing rule could apply to the same product. The plugin's own admin panel also includes this same documentation in English and Hindi.

1. Settings tabs overview

All settings live under WooCommerce > Role-Based Pricing, split across seven tabs:

  • General: enable/disable, hide-price-for-guests, the volume pricing table, tax-exempt roles, wholesale registration, and request-a-quote.
  • Roles: create or delete custom customer roles.
  • Cart Rules: per-role minimum order amount/quantity and payment/shipping method restrictions.
  • Wholesale Applications: review, approve, or reject wholesale account requests.
  • Quote Requests: set an offered price per item and convert a request to an order.
  • Import/Export: bulk CSV import/export of every pricing rule.
  • Documentation: the full feature walkthrough, in English and Hindi.

Product-level rules live on a product's own "Role-Based Pricing" tab; category-level bulk rules live on the category edit screen.

2. Which pricing rule wins: the priority order

Only one pricing rule is used per product/customer — the plugin checks each level in order and stops at the first one that applies:

  1. Product-level rules always win over category-level rules.
  2. Specific-customer rule — a rule aimed at the exact logged-in customer, within the same level.
  3. Role-based rule — checked next, within the same level.
  4. "Everyone" rule — matches any visitor, no role or login needed; used last within the same level.

In short: product > category, and within either level: customer > role > everyone. Among several matching rules of the same kind, the one whose minimum/maximum quantity range fits the cart quantity is used, and prices are always resolved from the product's regular price so a role discount replaces — rather than stacks on top of — any of WooCommerce's own sale pricing.

3. Volume / tiered pricing table

When a product has more than one applicable pricing rule (for example 1–9 units at one price, 10+ units cheaper), the plugin automatically shows a "Buy More, Save More" table on the product page — built entirely from the rules you've already set.

  • 6 display formats: table, cards/blocks, dropdown, horizontal table, plain text, or tooltip
  • Optional savings-percentage display
  • A custom label per tier (e.g. "Best Value")

4. Visibility & tax

For the roles you select (including guests), the price and Add to Cart button can be replaced everywhere — shop page and product page — with your own message and a call-to-action button, typically used to force a login or a "contact us for pricing" flow. Separately, any customer with a selected role can be marked tax-exempt storewide using WooCommerce's own VAT-exempt flag, so tax disappears from their cart, checkout, and totals automatically.

5. Cart rules

Per-role rules that apply at the cart/checkout level, independent of individual product pricing:

  • Minimum order amount — blocks checkout with an error message until the cart subtotal reaches this amount for that role.
  • Minimum order quantity — same idea, based on total items in the cart.
  • Disabled payment methods — hides selected gateways for that role (e.g. hide Cash on Delivery for wholesale accounts).
  • Disabled shipping methods — hides selected shipping options for that role.

6. Wholesale registration

Add the [nacs_rbp_wholesale_form] shortcode to any page. A visitor fills in their name/email (if not already logged in), company name, phone, and tax/business ID, and submits it. This creates a normal WooCommerce customer account if needed, marks the application pending, and emails the store admin. You review it under "Wholesale Applications" and click Approve or Reject — approving assigns the role configured in General settings and emails the customer; rejecting emails them too, without changing their role.

7. Request a Quote

For the roles selected in General settings, Add to Cart is replaced with a quantity box and an "Add to Quote" button. The [nacs_rbp_quote_cart] shortcode lets the customer review their list and submit it with a note. You then type an offered price per line under "Quote Requests" and click "Save Offer & Email Customer" — or click "Convert to Order" to create a real WooCommerce order at the offered prices directly, which then appears in WooCommerce > Orders as usual for payment/fulfillment. There is no customer-facing "Accept Quote" button and no PDF quote by design — you finalize the order directly and follow up with the customer outside the plugin.

8. Import / Export

Download every product-level and category-level pricing rule as a single CSV file — useful as a backup, or to edit many rules at once in a spreadsheet. Uploading a CSV back in replaces the rules for whichever product/category IDs appear in that file; anything not mentioned in the file is left untouched. CSV columns: scope, scope_id, target, role, customer_id, type, value, min_qty, max_qty, label.

9. Shortcodes

  • [nacs_rbp_wholesale_form] — the wholesale account application form.
  • [nacs_rbp_quote_cart] — the customer's current quote request list, with a submit form.

Use cases and store benefits

One store, every price tier

Run retail and wholesale pricing from the same catalogue — role, customer, and quantity rules replace the need for a separate B2B store.

A full wholesale workflow, built in

Registration, approval, per-role cart rules, and request-a-quote-to-order all live in one plugin instead of several unrelated ones.

Version and ownership

Plugin: NACSTech Role-Based Pricing for WooCommerce

Maintained by: NACS Tech

Website: https://www.nacstech.in

Support: bdnacstech@gmail.com

Last updated: November 4, 2026