B2B Registration & Approval Form for PrestaShop Documentation
Overview
ZOB2B adds a separate registration page for professional (B2B) customers to your PrestaShop shop. Instead of using the standard customer account form, B2B visitors fill in a dedicated form that can collect business details — VAT number, company name, SIRET, APE, DNI, address and more — each of which you choose to show, hide, or require.
Applications can be approved automatically on submission, or held for manual review in the back office before the customer account is created. Approved customers are placed into the customer group you choose, either as a single default group or the exact set of groups you assign per application.
Installation
- In your back office go to Modules › Module Manager › Upload a module, and choose the module ZIP file.
- Alternatively, unzip the archive and upload the
zob2bfolder to/modules/on your server via FTP. - Search for “zob2b” in the Module Manager, click Install, then Configure.
Before you go live: review the settings in the General Settings, Registration Form Fields, VAT Verification and Captcha Protection sections below, in particular the activation mode and which fields are required, then open the registration page yourself once to confirm the form looks the way you expect.
General Settings
Reached from Modules › Module Manager › ZOB2B › Configure, the General tab controls how applications are approved and who gets notified.
Manual or automatic activation
Choose whether every application needs your explicit approval (Manual), or whether accounts are created immediately on submission (Auto). With Auto activation, the customer is placed straight into the default customer group you configure below.
Default customer group
The customer group assigned automatically on auto-activation, and pre-selected when you approve an application quickly from the applications table.
Other options
- Email validation — when enabled, the customer must confirm their email address (via a link) before their application proceeds to approval.
- Notify admin — sends an email to the admin addresses you list whenever a new application is submitted, so manual approval can be handled promptly.
- Approval / disapproval emails — sends the customer a confirmation email once their application is accepted, or a notice if it is denied.
- GDPR & Terms consent — adds a required consent checkbox before the submit button, each linking to a CMS page of your choice.
- Live AJAX validation — checks each field as the visitor fills the form (email uniqueness, VAT format, required fields, etc.) without a page reload. Turn this off if you prefer validation only on submit.
- Default country & SEO meta — pre-selects a country on the form, and lets you set a page title and meta description per language.
Registration Form Fields
The Fields tab lists every optional field the form can collect. Email, password, first name and last name are always present and always required — everything below is your choice.
| Field | What toggling it on does |
|---|---|
| Company name | Legal company name. |
| VAT | Business VAT / tax number — can additionally be checked against the EU VIES register, see “VAT Verification” below. |
| SIRET / APE | French company registration and activity-code identifiers. |
| DNI | Spanish national identification number. |
| Website | The customer's company website URL. |
| Country | A dropdown of your shop's active countries. |
| Address, Address 2, City, Postcode | Standard business address fields. |
| Phone, Mobile | Contact phone numbers. |
| Message | A free-text note the applicant can leave for you. |
Each field also has its own Required switch, so a field can be shown but optional, or shown and mandatory.
VAT Verification
When the VAT field is enabled, you can additionally turn on Enable VAT check for EU countries in the VAT tab. Once enabled, any VAT number beginning with an EU country code is verified live against the European Commission's VIES register; numbers that fail verification are rejected with an explanation, both during live validation and at final submission.
VIES availability is outside our control — if the EU service cannot be reached, the module does not block the applicant, since a temporary outage should never prevent a legitimate signup.
Captcha Protection
The Captcha tab lets you protect the form against automated submissions using either Cloudflare Turnstile or Google reCAPTCHA v3. Choose your issuer, then paste the Site Key and Secret Key from that provider's dashboard. reCAPTCHA v3 runs invisibly in the background and scores the visitor; Turnstile displays its standard widget above the submit button.
The Registration Form
The public form is available at a dedicated URL, listed for every installed language on the module's Documentation tab in the back office, ready to link from your menu or footer.
Password strength
The password field shows a live strength meter as the visitor types, and a Show/Hide button to reveal the typed password. Both the meter's requirements and the minimum/maximum length shown to the visitor automatically follow your shop's own Password Policy settings (Advanced Parameters › Security, PrestaShop 8.1 and above); on earlier versions, a sensible 8–72 character default is used.
Live validation
When live AJAX validation is enabled, each field is checked as soon as the visitor leaves it — email format and uniqueness, VAT format and VIES status, required-field and length rules — with the error shown immediately beneath the field, and the Register button disabled until every checked field passes.
Reviewing Applications
Applications are listed under Customers › B2B Applications (or wherever your admin menu places the module's tab). From the list you can:
- Approve or Deny an application directly from the row actions, without opening it.
- View the full submitted details.
- Edit the application — correct any submitted field, assign the customer's group access, and set the default group, before approving.
Approving an application (either from the list or by toggling Enabled on while editing) creates the real customer account, links it back to the application, and applies the group access you selected. Approval only happens once per application — re-saving an already-approved record keeps it as is.
Email Notifications
| Event | Recipient | Controlled by |
|---|---|---|
| New application submitted | Admin email addresses | Notify admin |
| Application approved | Customer | Approval email |
| Application denied | Customer | Disapproval email |
| Email confirmation required | Customer | Email validation |
Translating the Module
ZOB2B ships with English and Greek translations out of the box. To adjust any wording, go to International › Translations, choose Installed modules translations, select ZOB2B and your language, edit the fields you want to change, then save.
Support
Found an issue, or have a suggestion to make the module better? We would love to hear from you — please open a ticket on addons.prestashop.com under your purchase, so we can help as quickly as possible.