{"id":3619,"date":"2024-09-06T07:30:00","date_gmt":"2024-09-06T07:30:00","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/create-a-b2b-registration-form-in-magento-2\/"},"modified":"2025-09-20T15:12:20","modified_gmt":"2025-09-20T09:42:20","slug":"create-a-b2b-registration-form-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/create-a-b2b-registration-form-in-magento-2\/","title":{"rendered":"Learn How to Create a B2B Registration Form in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A custom B2B registration form helps you get detailed information about wholesale or B2B customers to decide if it is worth partnering up with them.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While the default Magento 2 registration form lacks customization, learn here how to create a B2B registration form in Magento 2 that is personalized, flexible, and more streamlined.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a B2B Registration Form?&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A Magento 2 B2B registration form allows business owners to register with your store. This form differs from a regular registration form as it has more information fields and requires more input.&nbsp;Also it is one of the best <a href=\"https:\/\/meetanshi.com\/blog\/best-hyva-theme-extensions\/\">Magento 2 Hyv\u00e4 theme extensions<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/B2B-Customer-Account-Registration-Form.png\" alt=\"B2B Customer Account Registration Form\" class=\"wp-image-55979\" style=\"width:516px;height:auto\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see in the screenshot above, this Magento B2B registration form includes fields like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Date of Birth<\/li>\n\n\n\n<li>Tax\/VAT number<\/li>\n\n\n\n<li>Gender<\/li>\n\n\n\n<li>Address<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Such information cannot be captured using the default registration methods as it only includes fields like name, password and email. And by default, all the registration are auto-approved, making it an easy entry to spammers in your store.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Create a Custom Form Using an Extension?&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we know the default registration is limited in nature, the alternative way here is to use an extension.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, you can use the<a href=\"https:\/\/meetanshi.com\/magento-2-b2b-registration-form.html#\"> Meetanshi Magento 2 B2B Registration Form<\/a>, which allows you to create a custom registration form for your B2B merchants and collect specific details as you like.&nbsp;<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The extension helps you have better control over your registration process as you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Approve or disapprove B2B registration using mass action<\/li>\n\n\n\n<li>Set Google reCAPTCHA v3 to avoid spam registration<\/li>\n\n\n\n<li>Easily segment between B2B and B2C registration&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Magento-2-B2B-Registration-Form-Extension-by-Meetanshi.png\" alt=\"Magento 2 B2B Registration Form Extension by Meetanshi\" class=\"wp-image-55984\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s look at the step-by-step on how to create a B2B registration form in Magento 2.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install and Configure the Extension<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly, extract the zip folder and upload the extension to the root of your Magento 2 directory via FTP. Then, login to your SSH and run the below commands step by step:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>php bin\/magento setup:upgrade<\/li>\n\n\n\n<li>For Magento version 2.0.x to 2.1.x &#8211; php bin\/magento setup:static-content:deploy<\/li>\n\n\n\n<li>For Magento version 2.2.x &amp; above &#8211; php bin\/magento setup:static-content:deploy \u2013f<\/li>\n\n\n\n<li>php bin\/magento cache:flush<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now, head to <strong>Stores &gt; Configuration &gt; B2B Registration Form<\/strong> to enable the extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the field B2B Registration and enable the B2B Registration Form extension.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Install-and-Configure-the-Magento-2-B2B-Registration-Form.png\" alt=\"Install and Configure the Magento 2 B2B Registration Form\" class=\"wp-image-55983\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Add Essential Fields to Your B2B Form&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">From there, scroll down, and you will see various. Let&#8217;s add four essential settings in this step: Registration Settings, Approval Settings, Admin Email Notification Settings, and Customer Email Notification Settings.&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Registration Settings<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Registration Form URL Key: <\/strong>Add the registration form URL key for your B2B registration form page.<\/li>\n\n\n\n<li><strong>Enable Top Link in Header: <\/strong>Select yes for the link to appear in the header.<\/li>\n\n\n\n<li><strong>Top Link URL Anchor Text: <\/strong>Add a suitable anchor text for the registration form URL.<\/li>\n\n\n\n<li><strong>Registration Form Title:<\/strong> Add the title for the B2B registration form.<\/li>\n\n\n\n<li><strong>Add Name Prefix in Form:<\/strong> Select yes to add the name prefix field in the form.<\/li>\n\n\n\n<li><strong>Name Prefix Dropdown Options: <\/strong>Add semicolon-separated name prefixes to show in the form.<\/li>\n\n\n\n<li><strong>Add Middle Name in Form: <\/strong>Select yes if you want to add the middle name field.<\/li>\n\n\n\n<li><strong>Add Name Suffix in Form: <\/strong>Select yes if you want to add the name suffix field.<\/li>\n\n\n\n<li><strong>Name Suffix Dropdown Options: <\/strong>Add semicolon-separated name suffixes to show in the form.<\/li>\n\n\n\n<li><strong>Add Other Form Fields: <\/strong>Select other form fields you want to show in your B2B registration form.<\/li>\n\n\n\n<li><strong>Assign Customer Group: <\/strong>Select a customer group to assign after the registration is approved.<\/li>\n\n\n\n<li><strong>Disable Default Registration: <\/strong>Select yes to disable Magento 2 default registration.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Registration-Settings.png\" alt=\"Registration Settings\" class=\"wp-image-55986\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Approval Settings<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to auto-approve all B2B registrations, select yes, and if you don&#8217;t want to auto-approve, select no. You can later approve them manually from the backend.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You will need to add these settings in case you want to auto-approve:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Form Submission Success Message: <\/strong>Add a success message to show after the form submission on the front end.<\/li>\n\n\n\n<li><strong>Form Submission Failure Message: <\/strong>Add a failure message to show after the form submission on the front end&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Approval-Settings.png\" alt=\"Approval Settings\" class=\"wp-image-55977\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Admin Email Notification Settings<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you wish to get notified when a B2B registration is done, configure the following settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Send Email Notification to Admin: <\/strong>Select yes to enable this setting<\/li>\n\n\n\n<li><strong>Email ID:<\/strong> Enter the email ID on each you wish to get the notification<\/li>\n\n\n\n<li><strong>Email Sender:<\/strong> Add the sender<\/li>\n\n\n\n<li><strong>Email Template:<\/strong> Select an email template from the dropdown&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Admin-Email-Notification-Settings.png\" alt=\"Admin Email Notification Settings\" class=\"wp-image-55976\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Customer Email Notification Settings<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Here, you will need to configure the settings if you wish to inform the customers about their B2B account approval or disapproval status.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Send Email Notification to Customers: <\/strong>Set yes if you want to notify the customer<\/li>\n\n\n\n<li><strong>Email Sender: <\/strong>Add the sender<\/li>\n\n\n\n<li><strong>B2B Account Approval Email Template: <\/strong>Select a template from the dropdown<\/li>\n\n\n\n<li><strong>B2B Account Disapproval Email Template: <\/strong>Select a template from the dropdown<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Customer-Email-Notification-Settings.png\" alt=\"Customer Email Notification Settings\" class=\"wp-image-55981\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Enable Google reCAPTCHA to Avoid Spammers&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After adding essential fields to your form, it is time to enable Google reCAPTCHA to avoid spam registration requests.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Google reCAPTCHA: <\/strong>Enable the <a href=\"https:\/\/cloud.google.com\/security\/products\/recaptcha\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google reCAPTCHA v3<\/a>.<\/li>\n\n\n\n<li><strong>Site Key: <\/strong>Enter the site key you would have got while registering with Google reCAPTCHA.<\/li>\n\n\n\n<li><strong>Secret Key: <\/strong>Enter the secret key you would have got while registering with Google reCAPTCHA.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Google-reCAPTCHA-Settings.png\" alt=\"Google reCAPTCHA Settings\" class=\"wp-image-55982\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Save the entire configuration, and you have successfully created a custom B2B registration form. \ud83c\udf89&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After your B2B form is available for registration, your customers can fill out the needed details, and you will be instantly notified about the activity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/notification-as-new-customer-will-fill-the-registration-form.png\" alt=\"Notification as new customer will fill the registration form\" class=\"wp-image-55985\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And from the <strong>Customers section<\/strong> in the backend, you can approve and disapprove all your registrations and notify the customers if you want.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/approve-and-disapprove-customer-registration-from-backend.png\" alt=\"Approve and Disapprove Customer Registration from backend\" class=\"wp-image-55978\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"meetanshi-cta\">\r\n<div class=\"cta-content-wrapper\">\r\n<span>Magento 2 B2B Registration Form<\/span>\r\n<p>Go beyond the default registration form and create a customized one.<\/p>\r\n<a href=\"https:\/\/meetanshi.com\/magento-2-b2b-registration-form.html\" target=\"_blank\" class=\"btn-primary\">Create One Now <\/a>\r\n<\/div>\r\n<div class=\"cta-image-new\">\r\n<img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/11\/b2b-registration-form.png\" alt=\"Magento 2 B2B Registration Form\">\r\n<\/div>\r\n<\/div><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Take Your B2B Registration a Step Ahead&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sticking to the default registration misses capturing specific information essential to making business partnership decisions.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more understanding the key differences between<a href=\"https:\/\/meetanshi.com\/blog\/magento-2-b2b-vs-b2c\/\">&nbsp;Magento 2 B2B vs B2C&nbsp;<\/a>will help you customize your registration forms to meet the unique needs of business customers, ensuring a seamless experience for your B2B store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This customized way is a friendlier approach that streamlines your registration without any complex workflows. So, take charge and level up your B2B registration process using the Meetanshi Magento 2 B2B Registration Form extension.\u00a0<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A custom B2B registration form helps you get detailed information about wholesale or B2B customers to decide if it is worth partnering up with them.&nbsp;&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34,5869],"tags":[],"class_list":["post-3619","post","type-post","status-publish","format-standard","hentry","category-magento","category-hyva-themes"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/3619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=3619"}],"version-history":[{"count":6,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/3619\/revisions"}],"predecessor-version":[{"id":24298,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/3619\/revisions\/24298"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=3619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=3619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=3619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}