| 开发者 | woomanagers |
|---|---|
| 更新时间 | 2026年11月16日 23:14 |
| 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 an "awaiting approval" message, both on wp-login.php and on 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, login shows a "not approved" message, and the applicant is emailed to tell them the registration was not approved.
No. Approval applies to accounts created with this plugin's registration form. If the WooCommerce My Account page or checkout also lets visitors create accounts, those accounts are not held for approval. For a trade-only store, turn off account creation under WooCommerce → Settings → Accounts & Privacy and link to the B2B Registration page instead.
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 20-character file name, restricted to PDF, JPG and PNG up to 5 MB. Links appear only in the approval queue and on the user profile, and the random name means the address cannot be guessed. Anyone who has the exact link can open the file, so treat those links as private.
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 Role Based Pricing for WooCommerce, or hide prices from everyone else with Hide Price and Add to Cart for WooCommerce.
Yes. B2B Registration Pro for WooCommerce adds rules that approve or reject applications automatically, a different role per rule, conditional fields, per-field validation, editable emails, bulk decisions and CSV export. Everything described on this page is included in the free plugin.
Deleting the plugin removes its settings, field definitions and the stored registration page setting. If B2B Registration Pro or the B2B Managers Suite is installed, these are kept because they use them. User accounts, their custom field answers and the roles the plugin created are always kept, because they are your customer data.