| 开发者 | woomanagers |
|---|---|
| 更新时间 | 2026年10月14日 13:20 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[wmreg_registration] shortcode. Move the shortcode to any page you like.[wmreg_registration] shortcode is created automatically. Add it to your menu, or move the shortcode to any other page.Go to WooCommerce → B2B Registration → Registration Fields, click Add field, choose a type (text, textarea, select, checkbox or file upload), set the label and whether it is required, then save. The fields appear on the registration form in the order listed.
Keep "Manual approval" switched on in Settings. Every new registration waits under Pending Approvals until you click Approve. Until then the account cannot log in.
No. Until you approve them, login is blocked with a friendly "awaiting approval" message — both on wp-login.php and the WooCommerce My Account page.
They get the role you chose in Settings (for example Wholesale Customer), an approval email with a login link, and full access to their account.
The account stays locked and the applicant is emailed to tell them the registration was not approved.
No. Only customer-level roles (roles with no capabilities beyond reading, such as Customer, Subscriber or Wholesale Customer) can be chosen as the role after approval, and the role is checked again every time an account is created or approved.
Yes. Add a File upload field. Applicants can upload a PDF, JPG or PNG of up to 5 MB, and a link to the file appears in the approval queue and on the user's profile.
Into your WordPress uploads folder with a random file name, restricted to PDF, JPG and PNG up to 5 MB. Links appear in the approval queue and on the user profile.
Yes. Choose the Select field type and enter one option per line, for example Retailer, Distributor and Restaurant.
On the "B2B Registration" page created when you activate the plugin. You can rename that page, or place the [wmreg_registration] shortcode on any other page.
The address set under Settings → Notification email. It defaults to your site's admin email.
Yes. Untick "Manual approval" and new registrations get the chosen role immediately, while still answering your custom fields.
Accounts are created through WooCommerce's own registration function, so plugins that protect WooCommerce registration also protect this form. The form also has built-in honeypot spam protection.
Approve customers with the Wholesale Customer role, then give that role its own prices with WMGRs Role Based Pricing for WooCommerce, or hide prices from everyone else with Hide Price and Add to Cart for WooCommerce.
Deleting the plugin removes its settings, field definitions and the stored registration page setting. User accounts, their custom field answers and the roles the plugin created are kept, because they are your customer data.