How to Configure Magento 2 Customer Accounts?

It's hard to overestimate the importance of making a customer's journey on your website as flawless as possible. If your store is easy to interact with, people will definitely want to come back. As it happens, lots of those interactions happen through the customer account.

That's why you have to make use of the Magento customer account configuration settings. So you can not only make engaging with your store easier but manage customer account options according to your requirements.

The whole process may seem a bit complicated, considering the number of options Magento provides. However, in this article, we'll guide you through all the steps you have to take.

In order to configure customer accounts in Magento 2, navigate to Stores > Configuration > Customers > Customers Configuration. As you can see, there are a lot of sections you'll need to fill out.

How to configure Magento 2 customer accounts

So, let's have a closer look at the steps you should take.

Account Sharing Options

If you manage multiple websites and stores, you have to set the scope for customer account sharing options.

In the Share Customer Accounts field, choose one of the two options:

  • Global — customer account information is shared across all the websites and stores you run.
  • Per Website — customer account information is available for a particular website only.

Account sharing options in Magento 2

Online Customer Options

For convenient and effective client sessions on your website, fill out the Online Customer Options section.

  1. Set the Online Minutes Interval field to determine how much time has to pass before the customer's online activity is no longer accessible from the admin panel. The default value is 15 minutes. Leave this field empty to apply it.
  2. Enter the number of minutes that should pass before the unsaved data entered by a customer expires in the Customer Data Lifetime field. 60 is the default number, but you can modify it according to your needs.

Online customer options in Magento 2

Create New Account Options

Fill out the Create New Account Options section to manage the options required for the creation of an account on your website. Check out new customer account options configuration guide for more details.

New customer account options

Password Options

Passwords are crucial for any type of account, be it a customer or an admin user. That's why you should thoroughly configure password options to ensure better security of customers' data.

Password options for customers in Magento 2

Account Information Options

It often happens that clients want to change their email and/or password. So one important thing to configure here is the email templates.

  1. Choose the Change Email Templatethat will be sent to those customers who want to change their email addresses.
  2. Set the Change Email and Password Template. Your customers will get this email in case they want to change both the email and password of their accounts.

Note: same as any other emails in Magento you can customize these email templates to include relevant information.

Customer accounts configuration

Name and Address Options

To provide a wider set of options during account creation, you should configure Name and Address Options. There are lots of fields to set up, but our customer name and address options guide will help you with this task.

Customer account name and address options

Login Options

While configuring Magento customer accounts make sure to consider the login options, since they might influence customer experience as well.

Choose either Yes or No in the Redirect Customer to Account Dashboard after Logging in to determine whether your customers will be sent to the dashboard page or will continue shopping after the log-in.

Login options for customers in Magento

Address Templates

Jump to the Address Templates section to configure the way of displaying addresses in the invoices, shopping cart, credit memos, etc.

  1. Fill out the Text field, adding the variables used for all printed addresses.
  2. Enter the variables to determine the order of addresses in the shopping cart address book list in the Text One Line field.
  3. Fill out the HTML field, that defines the order of address fields in the Customer Addresses section in the admin panel.
  4. Add the variables to the PDF field to determine the display of the billing and shipping addresses in the printed invoices, shipments, credit memos etc.

Address templates for customer accounts

CAPTCHA

Magento CAPTCHA is one of many features you can apply in your store to improve security. It's a useful tool that helps to prevent spam and fight brute force attacks on your storefront. So, to configure CAPTCHA for customer accounts:

  1. Enable CAPTCHA on Storefront by choosing Yes in the corresponding field.
  2. Choose the Font that will be applied for CAPTCHA.
  3. Specify for which Forms you would like to use your CAPTCHA.
  4. Set the Displaying Mode.
  5. Add the Number of Unsuccessful Attempts to Login after which the account will be locked.
  6. Enter the time for the CAPTCHA to expire in the CAPTCHA Timeout (minutes) field.
  7. Specify the Number of Symbols that make up the CAPTCHA. The highest value is 8, however, the number range (e.g. 3-6) works just fine.
  8. Enter the Symbols Used in CAPTCHA. You can use the letters (from A to Z in lower and upper case) and/or numbers (0-9).
  9. Choose either Yes or No in the Case Sensitive field to determine whether CAPTCHA characters are case-sensitive.

Magento customer accoutn captcha

Don't forget to press the Save Config button once you fill out all sections in the Magento customer accounts configuration.

This process will take some of your time. But you have to fill out those options to make signing up and logging in convenient for both you and your customers.

Since not all customers want to create an account to place orders on your store, the other option you might need to set up is guest checkout.