how to save custom customer attribute in magento 2

By

May 23, 2016MagentoNo comments

To save custom customer attribute in magento 2, follow the below Sample Code Snippet. For Illustration Purpose the object manager is called directly and the CustomerRepositoryInterface class is instantiated. But in Real time the code structure will differ, the dependencies has to be injected via the constructor.

 

Leave a Reply