Christmas, New Year, Diwali, and Eid. There are many popular festivals celebrated across the globe. But you cannot be sure that a particular person is celebrating a festival.
But everyone has a birthday.
In this quick tutorial, we will learn how to add date of birth field in the registration form in Magento. You will be able to collect the date of birth of your customers and send them wishes.
You do not have to install a Magento extension to do this.
Why ask for Date of Birth?
Having the customer’s date of birth allows you to run a personalized campaign. There are only 365 days in a year. If you have thousands of customers, there is a probability of having three people sharing a birthday.
On their birthday, people are inclined to gift themselves. They receive money as a gift, and they are ready to purchase something from it.
A product in their cart is the hot product at the moment. A wish list is another hot list for products.
You can set up the process to ensure the customers know they have the product on their cart on their birthday.
Getting a customer’s birth date opens up an exciting door for personalized promotion. A way to collect it is through the registration form.
How to Add Date Of Birth Field in Registration Form in Magento 2:
Follow the steps to add the Date of Birth field in the Registration Form in Magento:
- Log in to the Magento Admin Panel to open the Admin dashboard
- Clicking the Stores from the left menu
- Under the Settings section, open the Configuration section
- Extend the Customers tab and find Customer Configuration
- Expand the Name and Address options
You will find the Show Date of Birth options. You can select one option from the drop-down. If the drop-down is not working, uncheck the system value button.
No: Do not show the date of birth field in the form.
Required: Make it necessary to fill in the date of birth information in the form.
Optional: Show the date of birth field in form but make it optional. Users can register without filling out the form.
Select what you like and click on Save Configuration to apply the changes.
You have to build brand loyalty to scale the ecommerce store. Your customers should be regular buyers, even if they don’t need the product.
Brand loyalty comes with communication and interaction. Learn more about customers, their hobbies, birthdays, and festivals, and be a part of their life.
Wishing a happy birthday is small but goes a long way in customer retention. In the age of individualism, knowing a brand has put effort into scheduling an email to wish you a birthday feels mildly nice.
However, I would suggest not making it compulsory to add the date of birth to the register. The relation works in two directions.
In this quick tutorial, we learn how to add the date of birth field in registration form in Magento 2. If you encounter any issues, feel free to ask in the comments.