Linux 软件免费装
Banner图

Simple Role Based Pricing

开发者 tlloancy
更新时间 2026年8月30日 20:21
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce discounts prices by user role wholesale pricing Role based pricing

下载

2.5.0 1.0.1 1.0.3 1.0.4 1.0.6 1.1.1 1.1.6 1.1.7 1.1.9 1.2.0 2.2.0 2.4.0 1.0.0 1.0.2 1.0.5 1.0.7 1.0.8 1.0.9 1.1.0 1.1.2 1.1.3 1.1.4 1.1.8 1.2.1 1.2.2 2.0.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.2 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.7 2.3.8 2.6.0 2.6.1

详情介绍:

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 What the storefront does Typical uses 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

安装:

  1. Install and activate WooCommerce.
  2. Upload the plugin, or install it from Plugins → Add New.
  3. Activate Simple Role Based Pricing.
  4. Open WooCommerce → Settings → Role Based Pricing.
  5. Select a role, turn the rule on, set the discount, save.

屏幕截图:

  • Category picker with per-category type and value.
  • Overview of every role, including schedule status.

升级注意事项:

2.6.1 Generate and the layout map sit below Overview; Context lists them. Pricing engine unchanged. 2.6.0 Layout map moved below the form. Optional AI field and abilities on WordPress 6.9+. Pricing engine unchanged. 2.5.0 WordPress 7.1 and WooCommerce 11.0. Listing and FAQ updated. Pricing engine unchanged.

常见问题:

Where are the settings?

WooCommerce → Settings → Role Based Pricing. Select the role first. Everything else on the page is for that role until you save.

What is the difference between the three discount types?

  • Percentage — off the regular price (20 = 20% off).
  • Fixed amount — subtract that amount in your store currency.
  • Fixed price — the customer pays exactly that amount, regardless of the catalog price.

Can I limit a rule to some categories?

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.

Who wins if several rules could apply?

  1. A native WooCommerce sale price on the product.
  2. An individual price on the user profile.
  3. A matching category rule for that role.
  4. The role’s “all products” rule.
Guests are not priced. Empty start/end dates mean the rule has no schedule.

Does it work with variable products?

Yes. Each variation is priced. The parent product keeps WooCommerce’s min–max range.

Can I give one user a different price than their role?

Yes. Edit the user under Users, then Simple Role Based Pricing - Individual. That override beats the role rule for that account.

Why didn’t the role discount apply to a product on sale?

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.

Do I need extra PHP extensions?

No. PHP 7.4+ and WooCommerce 8.0+ are enough. There is no mbstring requirement.

Can I control pricing with AI?

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.

更新日志:

2.6.1 (2026-08-30) 2.6.0 (2026-08-27) 2.5.0 (2026-08-27) 2.4.0 (2026-05-24) 2.3.0 (2026-05-24) 2.2.0 (2026-05-05) 2.1.0 (2026-05-02) 2.0.0