B2BM Registration Form & Account Approval for WooCommerce

By B2B Managers

10+ active installationsVersion 1.0.1

WooCommerce registration form with custom fields and file uploads, plus manual account approval before new customers can log in.

Description

B2BM Registration Form & Account Approval for WooCommerce, by B2B Managers, gives your store a registration form with your own custom fields and an approval queue for every new account. New customers cannot log in until you approve them, and approval gives them the role you choose, such as Wholesale Customer.

A standard WooCommerce store lets anyone create an account and start buying straight away. That is fine for retail, but it is a problem for wholesale and B2B suppliers. Trade prices end up visible to anyone who registers, competitors can sign up and browse your catalogue, and you have no company name, VAT number or trade licence on file until after the first order. Store owners end up checking applicants by email and changing user roles by hand.

This plugin moves all of that into WooCommerce. Applicants fill in a registration form with the business details you ask for and upload documents if you need them. You review each application in one list, approve or reject it with one click, and the customer is emailed the result automatically.

Registration form with custom fields

  • Field builder with five field types: text, textarea, select (dropdown), checkbox and file upload.
  • Ask for what you need: company name, VAT or tax number, phone, business type, trade licence or resale certificate.
  • Required or optional: mark any field as required.
  • Registration page created for you on activation with the [wmreg_registration] shortcode. Move the shortcode to any page you like.
  • Sensible defaults: company name, VAT / tax number and phone fields are added on first activation, so you can start straight away.

Manual account approval

  • Approval queue under WooCommerce → B2B Registration, with a badge showing how many accounts are waiting.
  • Approve or reject in one click: every application shows the customer’s details, custom field answers and links to uploaded files.
  • Pending and rejected accounts cannot log in, on wp-login.php and on the WooCommerce My Account page alike, with a clear “awaiting approval” or “not approved” message.
  • Approval assigns a role: Customer, Wholesale Customer or any other customer-level role you choose.
  • Automatic emails: the customer is emailed when they are approved or rejected, and you get an email for every new registration.
  • Approval can be switched off: new registrations then get the chosen role immediately, while still answering your custom fields.

Built for wholesale and B2B

  • Adds a ready-made Wholesale Customer role on activation, so you can target approved trade buyers with role-based pricing, catalog rules and quote buttons.
  • Custom field answers and uploaded files appear in the approval queue and on the user’s profile screen.
  • Safe roles only: only customer-level roles (no capabilities beyond reading) can be assigned on approval, and the role is checked again every time an account is created or approved. A registrant can never become an administrator or shop manager.

Secure by design

  • File uploads limited to PDF, JPG and PNG, up to 5 MB, saved with a random file name.
  • Honeypot spam protection on the registration form.
  • Uses WooCommerce’s own account creation, so captcha and anti-spam plugins that protect WooCommerce registration also protect this form.
  • No extra database tables: settings live in options and answers in user meta.
  • Compatible with WooCommerce High-Performance Order Storage (HPOS) and the block-based Cart & Checkout. Translation ready.

Who it is for

  • Wholesale and trade suppliers who only sell to approved businesses.
  • B2B stores that need a company name, VAT number or trade licence before opening an account.
  • Distributors and manufacturers selling to resellers.
  • Members-only and trade-only shops that vet every new customer.

How it works

  1. Install and activate the plugin. A “B2B Registration” page with the registration form is created automatically.
  2. Go to WooCommerce → B2B Registration → Registration Fields and add the fields you want applicants to fill in.
  3. Under Settings, keep manual approval on, choose the role approved customers get, and set the email address for new-registration alerts.
  4. When someone registers, review them under Pending Approvals and click Approve or Reject. The customer is emailed automatically.

Free and Pro

Everything described above is free and unlimited. There is no cap on fields, registrations or approvals.

When the queue grows, B2B Registration Pro for WooCommerce is available from B2B Managers. Rules read each application and decide for you. It adds:

  • Automatic approval by email domain, country or any answer on your form
  • Automatic rejection with a reason
  • A different role per rule, so trade applicants and distributors get different roles from one form
  • Conditional fields by customer type
  • Per-field validation for emails, web addresses and number ranges
  • Editable emails with merge tags, sent through the WooCommerce email template
  • Bulk approve and reject, and CSV export of applicants

Applications no rule covers still go to your manual queue. Pro reads the same fields, settings and applicants, so nothing needs to be set up again when you upgrade. The free plugin works on its own and does not require Pro.

Part of the B2B Managers range

This plugin is part of a free range of B2B and wholesale tools for WooCommerce by B2B Managers. Approve a wholesale account and the rest of the range can treat it as a trade customer:

Documentation and support

Documentation, setup guides and the full B2B Managers extension catalogue are on b2bmanagers.com. For questions about this plugin, visit the plugin page or use the wordpress.org support forum.

Installation

  1. In your WordPress admin go to Plugins → Add New, search for “B2BM Registration Form”, then install and activate it. WooCommerce must be active.
  2. A “B2B Registration” page containing the [wmreg_registration] shortcode is created automatically. Add it to your menu, or move the shortcode to any other page.
  3. Go to WooCommerce → B2B Registration → Registration Fields to add or remove fields.
  4. Go to Settings to choose the role given on approval and the email address that receives new-registration alerts.

FAQ

How do I add custom fields to the WooCommerce registration form?

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.

How do I approve new customers before they can buy?

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.

Can pending users 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.

What happens when I approve someone?

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.

What happens when I reject someone?

The account stays locked, login shows a “not approved” message, and the applicant is emailed to tell them the registration was not approved.

Does it also cover the normal WooCommerce registration and checkout?

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.

Can a registrant get admin or shop manager rights?

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.

Can customers upload documents like a trade licence?

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.

Where do uploaded files go?

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.

Can I add a dropdown, such as business type?

Yes. Choose the Select field type and enter one option per line, for example Retailer, Distributor and Restaurant.

Where is the registration form?

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.

Who gets notified about new registrations?

The address set under Settings → Notification email. It defaults to your site’s admin email.

Can I turn off approval and just use the custom fields?

Yes. Untick “Manual approval” and new registrations get the chosen role immediately, while still answering your custom fields.

Does it work with captcha or anti-spam plugins?

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.

How do I show wholesale prices only to approved customers?

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.

Is there a Pro version?

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.

What happens to my data if I uninstall?

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.

Screenshots

Changelog

1.0.1

  • Brand: WooManagers is now B2B Managers. The plugin is now called “B2BM Registration Form & Account Approval for WooCommerce”, and the author name and links point to b2bmanagers.com. Your fields, settings and customer accounts are unchanged.
  • Tweak: uninstalling keeps your fields and settings while B2B Registration Pro or the B2B Managers Suite is installed, because they share them.
  • Tweak: the plugin stands down when B2B Registration Pro is active, so registrations are never handled twice.
  • Compatibility: tested with WooCommerce 11.2; declares compatibility with the block-based Cart & Checkout.

1.0.0

  • Initial release.