| 开发者 | tlloancy |
|---|---|
| 更新时间 | 2026年10月16日 18:58 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
docs/USER-GUIDE.md (English) and docs/MODE-DEMPLOI.md (French).
Compatibility
WooCommerce → Settings → Role Based Pricing. Select the role first. Everything else on the page is for that role until you save.
Yes. Set Apply To to Specific Categories, pick the categories, save. Each selected category can use the role default (Global) or its own type and value.
Yes. Each variation is priced, and the parent shows the min–max range of the prices the logged-in customer pays.
Yes. Edit the user under Users, then Simple Role Based Pricing - Individual. That override beats the role rule for that account.
On purpose. If WooCommerce already has a sale price, the plugin leaves it. End the sale, or use a product that is not on sale, if the role price should show.
No. PHP 7.4+ and WooCommerce 8.0+ are enough. There is no mbstring requirement.
Yes, on WordPress 6.9 or later. Install the official AI plugin and a connector. On WooCommerce → Settings → Role Based Pricing, below Overview, use the text field and Generate (also listed in Context). A user who can manage WooCommerce can also ask the assistant to set, read, or remove a role discount. Without the AI plugin, the rest of the screen is unchanged.
Yes, with Advanced options on: choose Hide prices and the Add to cart button under Visitors not logged in. It hides prices on the shop pages; it is not a protection for your data.
Yes, with Advanced options on. Each simple product and each variation gets one field per role, under the sale price. That price wins over the role rule (a native sale still wins over it). The same prices are in Products → Export / Import as Role price: <role slug> columns.
docs/.changelog.txt.