+92-301-1000201 [email protected]
13 views

The formal societal arrangement includes addressing a person with a prefix.

The prefix with the name shows the marital status of women as well. In an English language, Mr., Miss., and Mrs. are generally used as a prefix for men and women respectively.

Magento 2 identifies the widespread use of prefixes and hence allows the admin to enable or disable prefix in customer account in Magento 2 store.

This post shows the method to include or remove prefix field in the registration form, checkout and when adding new address from “My Account” section in Magento 2 store.

As a store owner, if you decide to get the prefix data while registration, you can use the same while sending emails or addressing the customers while any type of communication.

However, if you consider it as an unnecessary field that slows down the registration or checkout process, you can opt to remove the prefix field from checkout in Magento 2 as well.

Enable or disable the prefix field in Magento 2 as it suits your business using the method below:

Steps to Show Prefix Field in Magento 2:

Enable or disable prefix in Magento 2

  1. Login to Magento 2 admin panel
  2. Navigate to Stores > Settings > Customers
  3. Under Customer, select Customer Configuration
  4. Expand Name and Address Options
  5. Set Required in the field “Show Prefix”
  6. Enter the Prefix Dropdown Options that you want to appear in the list using a semicolon separator.
  7. Save the configuration

That’s it.

In the frontend, the prefix field is displayed in the registration form:

Prefix in registration Form

Also, the prefix field is displayed when the customer adds new address in the “My Account” section:

Prefix in Add new address

If you have queries, feel free to ask in the Comment section below.

I would like to solve your problem.

Also, do share this post with Magento Community via social media.

Thank you.

Share This

Share this post with your friends!