Create a custom filed on the customers section

Create setup file InstallData.php Firstly, we will create theĀ InstallData. File: app/code/<vendorname>/<foldername>/Setup/InstallData.php Define the install() method After that, we have to define the install() method and create eav setup model: Create custom attribute Finally, we need to set the forms in which the attributes will be used. In this step, we need define the eavConfig object which allow us… Continue reading Create a custom filed on the customers section

Published
Categorized as Magento