In this tutorial, Today I will explain to you how to check if customer account is confirmed or not in Magento 2. Sometimes, you need to check programmatically that customer account is confirmed or not. For that you need to inject \Magento\Customer\Api\AccountManagementInterface this class. You may also like this : How to add new customer address by REST API in…
Tag: customer
Magento 2 : Create a Customer Attribute using Data Patches
In this tutorial, Today I will explain to how to create a customer attribute using data patches in Magento 2. From Magento 2.3.x, Magento brings new features which is data patches. The Data Patch is class that contains data notification instruction. Previously, Magento 2 uses InstallData and UpgradeData file use add data in core table or custom table. From Magento…
Magento 2 : Add Date of Birth Field in Customer Registration Form
In this tutorial, Today I will explain to how to add date of birth field in customer registration form in Magento 2. In Customer Registration Form, By default date of birth field not display in registration form. Customer registration form is used for create new customer in your ecommerce website. At that time, if you want to add date of…