
內容簡介
Simple Role Based Pricing 外掛讓您能夠根據用戶角色設定不同的價格,簡化了 WooCommerce 的定價管理。無論是批發、VIP、會員或員工,都能在一個介面下輕鬆設定價格規則,提升商店的靈活性與效率。
【主要功能】
• 根據用戶角色設定百分比或固定金額價格
• 支援所有產品或特定類別的價格設定
• 可選擇開始與結束日期,靈活管理價格規則
• 登入用戶可見角色價格,訪客則顯示目錄價
• 變數產品的折扣適用於每個變體
• 提供進階選項以隱藏未登入訪客的價格
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Pick a role. Choose how the price works. Save.
That is the whole daily job. Wholesale, VIP, members, staff — one screen under WooCommerce → Settings → Role Based Pricing.
Pricing itself is rarely that tidy. A product can sit in several categories, a user can have more than one role, a sale price may already be running, a wholesaler may need an exception, a campaign may start next Monday. The plugin handles those cases so you do not have to stack extra tools.
What you set
Percentage, fixed amount, or a final price for a WordPress user role.
All products, or only selected categories — with a different type/value per category if you need it.
Optional start and end dates. Leave them empty for a permanent rule.
Optional per-user override on the WordPress profile. That price wins over the role rule.
What the storefront does
Logged-in customers see the role price on the shop, the product page, and in the cart.
Guests keep the catalog price.
Variable products: the discount applies to each variation, and the parent shows the price range this customer pays.
If a product is already on a native WooCommerce sale, that sale wins. The role rule does not stack on top.
Cart totals refresh when the customer logs in, so a guest cart picks up the role price after sign-in.
The admin catalog and REST exports keep the original prices.
Typical uses
A wholesale role at −20% on the whole catalog.
Members-only prices on a few categories, with a different rate on one of them.
A campaign window for staff or partners, without touching product sale fields.
One customer who should not follow their role — set it on their user profile.
A touch more control, only if you want it
The screen stays simple. Tick Turn on advanced options in the Advanced options block (WooCommerce → Settings → Role Based Pricing; applied instantly, no Save needed) to get: a guest mode that hides prices and Add to cart for visitors who are not logged in, a choice between a struck-through price or the customer price only, a rule for customers with several roles, rules that cover subcategories, prices per role on each product and variation, and those prices in the standard WooCommerce CSV export and import. Untick it and the plugin is the simple plugin again; nothing you typed is deleted.
AI ready
On WordPress 6.9 or later the plugin registers three Abilities so an assistant (official AI plugin + a connector) can set, read, or remove a role discount. On the same Role Based Pricing screen, a text field and Generate button do the same from a sentence when that plugin is installed. Both still require the manage WooCommerce capability. Older WordPress versions skip the Abilities; the settings screen stays usable without AI.
A longer walkthrough ships in the plugin folder: docs/USER-GUIDE.md (English) and docs/MODE-DEMPLOI.md (French).
Compatibility
WooCommerce 8.0 or higher (tested up to 11.0).
HPOS (High-Performance Order Storage) compatible.
Custom roles from User Role Editor and similar plugins work as-is: if WordPress knows the role, this plugin can price it.
