Return to site

Join 1,500+ brands growing their online wholesale business with us.

Are you ready to revolutionize the way your wholesale customers order from you, from just $49 per month?

  • Use your existing website for your B2B customers
  • Let your customers place and manage orders online
  • Empower your sales team with sales agent ordering
  • Automate previously manual tasks, and much more!

Trusted by 1,500+ brands from startups to enterprise.

Mesauda

🚀 Get started with SparkLayer.

In your live demo, we'll go through your current challenges, how we've helped brands like you, and run through some of SparkLayer's main features relevant to you.

Alex Weston

We'll get back to you within 4 hours (typically sooner!) to arrange a good time to speak. Alex Weston, Sales Director

You can also email us at hello@sparklayer.io.
Rated 4.9 out of 5 on the Shopify App Store

B2B registration forms - 3 powerful ways to customise your registration process on Shopify

Chris Mattingly, Co-Founder

January 24, 2023
Best Practice Guide
B2B registration forms - 3 powerful ways to customise your registration process on Shopify

When you’re setting out to build and implement your B2B eCommerce store, one of the most integral elements is a small but vitally important consideration: the B2B registration flow.

The B2B registration flow is simply a way to allow prospective customers to register with your website and to typically have some variety of “moderation” process built-in that also you to verify their details before granting access.

Unlike with the DTC registration process where customers can instantly sign up and gain access to their account, the B2B process works differently. Perhaps you need to perform checks on the customer to confirm they meet your B2B purchasing requirements, perhaps you want to set specific prices for them or only show them specific products. For these reasons, you need to implement a way to moderate new applications before they can begin browsing and purchasing from your website.

Approaching the B2B registration flow can certainly present complications and often how it works may vary from business to business. In this guide, we’ve set out 3 great ways to approach your B2B registration flow with live code samples and recommendations you can take away and use. These include:

  1. Adapting the standard Shopify register form
  2. Using a custom contact form to send an email
  3. Using a form-builder app to automate the application process

So let’s dive right in!

1. Adapting the standard Shopify register form

One of the easiest ways to get started is to simply adapt the “standard” Shopify registration form. By default, when you get started with Shopify, you can access the built-in registration form on your website by going to www.yourstore.com/account/register.

3 powerful ways to tailor your registration process on Shopify

You’ll typically see a very basic form that captures the customers’ name, email address, and a password. There are typically two key functions of the standard registration form you’ll need to enhance: the data that is captured and what happens when the register form is submitted.

Capturing additional B2B information

Shopify has a way to capture additional information from a registration form by using its built-in “Notes” functionality. On any registration form, you can capture custom fields simply by adding some special HTML to the appropriate file.

3 powerful ways to tailor your registration process on Shopify

Within the registration form code (typically within the /sections/ directory of your storefront theme), you simply add custom fields using the format detailed below. In this example, we’re capturing the “Company Tax ID" of the customer as well as setting a unique tag against them b2b_pending

When these fields are completed by a customer, they’ll then be saved against the customer record within the Shopify customers admin. This is a great way to capture additional B2B information such as Tax codes, company website address, and more.

3 powerful ways to tailor your registration process on Shopify

If you’re using Shopify Advanced or Plus, you could even go a step further and use Shopify Flow to add a level of automation. When a new customer is created, based on a specific tag, you could create an automation that sends a member of your team an email to review this account.

Redirecting the customer after completing the form

Picture this. A customer has just completed a registration form and they now have immediate access to your store to see prices and place orders. Chances are, this is something you are trying to avoid! Within the standard Shopify registration form, there is a relatively simple way to side step this problem, just by adding some special code. As with the example below, within the registration form code, you can add some JavaScript that redirects the customer to a specific page upon form completion. In this example, we’re redirecting the customer to a page with the URL www.yourstore.com/pages/b2b-thank-you.

Important to note

This method, whilst effective, isn’t necessarily a complete solution as the customer can in theory still browse your website. However, if the customer has a tag automatically assigned to them (see the example above), it would be possible to affect the display of content on your Shopify store such as hiding prices based on a tag, or adding special redirects by using an app such as Locksmith. In addition, if your Shopify store is set up as a hybrid B2C and B2B, you will need to ensure that the B2B registration form is set up in addition to your regular B2C registration form.

2. Using a custom contact form to send an email

As an alternative to adapting the standard Shopify registration form, another effective method of managing the B2B registration flow is by simply using an enhanced contact form. Whilst this may sound a rather manual way of managing applications, it can provide an easy way to control who does and who doesn’t have access to your B2B store

In the context of Shopify, this can be configured by using Shopifys built-in contact form and adding additional code to capture the information you require.

Similar to the example above, you may want to capture details such as the company name, tax information, and website address. To enable this, simply create a page on your Shopify store and include and modify the code sample here.

Using the code above, you could, for example, embed this in a landing page that gives the customer more information about how the registration process works.

3 powerful ways to tailor your registration process on Shopify

When the form is submitted, the contents will be emailed to the main email address associated with your Shopify store. Once you’ve reviewed and approved the application, you’ll then need to manually create the customer record in Shopify and use the ‘Send invite’ functionally to grant them access.

If you want to go a step further, you could get a head start by using our ready-made modified B2B Dawn theme that has this functionality built-in. In just a few clicks, you’re ready to go with your B2B registration flow

Important to note

This method is a great way to get started without requiring too much custom coding. One of the main areas to be aware of is customers will need to be manually created in Shopify once you’ve reviewed their email application (read on for how this can be automated!). In addition, if you didn't want to use Shopify's built-in contact form system, you could just as easily embed a contact form via other methods (e.g. a third-party contact form builder)

3. Using a form-builder app to automate the application process

To really customise the registration process on Shopify, you may want to consider installing a form builder app to allow you more control over the experience and automate the customer account creation.

The Shopify App Store has some great options to choose from and one of the most popular is Helium’s Customer Fields app. Out of the box, and with no coding required, you can quickly enable powerful functions such as custom fields, automatic tagging, file uploads, as well as an easy way to moderate applications and notifications.

3 powerful ways to tailor your registration process on Shopify

Best of all, when a customer fills in your B2B application form, their account is automatically created in Shopify with their detailed pre-filled. You can learn more about how Customer Fields works here.

Round-up

So there you have it: 3 powerful ways to enable a B2B registration flow on your Shopify store. Each of the options offer a slightly different approach that should be carefully considered. For example, do you have expertise to apply code changes or would a third party app be more suitable?

If you’d like to learn more about how you can further tailor your B2B experience, we’d love to help! Please feel free to contact our team or learn more about SparkLayer here.

Rhys Laval

Rhys Laval

Co-Founder & CTO, SparkLayer

Rhys possesses extensive experience in eCommerce and SaaS-based products, including leading fast and agile teams implementing high-level software architecture. He holds a BSc Hons in Computer Science from the University of West of England. Outside of work, Rhys enjoys outdoor activities such as climbing, urban exploration, hiking, and traveling, in addition to taking care of his feline companion at home!
Back to all news
×