Custom Customer Attributes are a powerful feature in Magento Enterprise, customizing your customer data allows your business to capture unique customer information in order to better serve your customer base. They can be added to the Customer Registration, Customer Account Edit, and Admin Checkout forms. You can also use custom customer attributes to refine the conditions in cart price rules so you can increase the specificity of your targeted promotions.
One (of the many) benefits of Magento 2 Enterprise Edition is the ability for a Magento Administrator to add custom Customer Attributes based on their unique business needs. Magento Commerce provides a complete interface for creating and managing customer attributes, while Magento Open Source requires additions or updates to customer attributes to be handled by a developer either in the database directly or through upgrade scripts. Magento Commerce makes it easy for your Magento Administrator. With a little know-how, you’ll be managing your business’ customer data like a pro.
Tutorial: Creating Customer Attributes in Magento 2 Enterprise Edition
Steps for Creating Customer Attributes in Magento 2 Enterprise Edition
Add a new Customer Attribute
- Open Magento Admin
- Navigate to Stores -> Attributes -> Customer
- Select Add New Attribute button
- On the Properties Tab, enter Attribute Information. In our case we used…
Default Label: Customer Notes
Attribute Code: bfg_notes
Input Type: Textarea
Show on Storefront: Yes
Sort Order: 1
Forms to Use in: Customer Registration, Customer Account Edit, Admin Checkout
Note: For all other properties not mentioned we left the default value - Click Save Attribute button
Test Customer Attribute Results in Magento Admin
- Navigate to Customers -> All Customers
- Select Edit link on an Existing Customer
- When the Customer information opens, select Account Information tab on the left
- Your new Customer Attribute should appear in the attribute list
Test Customer Attribute Results on Your Website
- Clear Cache (in Magento Admin first)
- Navigate to your Website and refresh the Home Page
- Select Create New Account
- Your new Customer Attribute should appear on the Account Registration page
Magento 2 Commerce’s Custom Customer Attribute feature puts a lot of power in the hands of your Magento Administrator. The possibilities are limitless. Hope this was helpful!