skip to Main Content

Php – Add Customer Custom Attribute to front store

I need to add a Customer custom attribute. Here is snippet of my code: $customerSetup->addAttribute(Customer::ENTITY, 'customer_mobile', [ 'type' => 'varchar', 'label' => 'Customer Mobile', 'input' => 'text', 'required' => false, 'visible' => true, 'user_defined' => true, 'sort_order' => 85, 'position'…

VIEW QUESTION
Back To Top
Search