| 开发者 | nacstech |
|---|---|
| 更新时间 | 2026年11月15日 21:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[nacs_rbp_wholesale_form] shortcode for visitors to apply for a wholesale account[nacs_rbp_quote_cart] shortcode[nacs_rbp_wholesale_form] and/or [nacs_rbp_quote_cart] shortcodes to dedicated pages if you use those features./wp-content/plugins/ or install it from the WordPress admin.WooCommerce -> Role-Based Pricing.Product-level rules always win over category-level rules. Within the same level, a rule targeting a specific customer wins over a role-based rule, which wins over an "Everyone" rule. Among several matching rules of the same kind, the one whose quantity range fits the cart quantity is used.
Yes. Add a rule with "Applies to" set to "Specific customer" and enter their user ID.
Yes. Each cart line is re-priced using its actual quantity, so a rule with a minimum/maximum quantity range only applies when the quantity in the cart falls within that range.
Yes. Enable "Hide price & Add to Cart" in General settings and select "Guest (not logged in)" (and/or any other roles you want hidden). The price is replaced with a message and a call-to-action button you can customize.
Add the [nacs_rbp_wholesale_form] shortcode to a page. A visitor fills in their details and submits an application, which appears under "Wholesale Applications" for you to approve or reject. Approving assigns the role you configured in General settings and emails the customer.
For the roles you select, Add to Cart is replaced with an "Add to Quote" option. Customers review their list and submit it from a page with the [nacs_rbp_quote_cart] shortcode. You then set an offered price per item under "Quote Requests" and convert the request directly into a WooCommerce order.
Pricing rules are set on the parent product and apply to the resolved price shown for the product; dedicated per-variation rules are planned for a future update.