Magento 2 Customer Attributes

Magento 2 Customer Attributes, updated 7/4/24, 12:51 PM

categoryOther
visibility1
  verified

Enhance your customer data collection with the MageAnts Magento 2 Customer Attributes Extension. This versatile tool allows you to create custom fields for customer registration and account pages, enabling you to gather valuable information to better serve your clients.

Key Features:

Custom Fields: Easily add and manage custom customer attributes to registration forms and account pages.

Various Input Types: Support for multiple input types, including text, dropdown, date, and more.

Improved Customer Insights: Collect detailed customer information to tailor your marketing and services.

Admin Control: View and manage customer attributes directly from the admin panel.

Enhanced User Experience: Personalize the customer experience by capturing relevant information during registration.

Upgrade your Magento 2 store with the MageAnts Customer Attributes Extension and gain a deeper understanding of your customers. Personalize interactions, improve data collection, and enhance customer satisfaction with this powerful tool.

About MageAntsStore

MageAnts is your trusted partner of Magento Custom DevelopmentHyvä theme development solutions provider. Put your trust in us to create an online presence for you. Let us bring you into the digital age to embark on an incredible journey. Enhance your Magento store with our Magento 2 extensions & extend store functionality.

Tag Cloud



Customer Attribute For Magento 2
USER MANUAL
Supported Version: 2.0, 2.1, 2.2, 2.3, 2.4
www.mageants.com support@mageants.com 1
Table Of Contents
Preface ......................................……………………………………......3
Installation...................................………………………………………..4
Option 1: Magento 2 install extension using COMMAND LINE .........…………..…..4
Option 2: Magento 2 install extension manually ………………………………….......5
Back-end Example ………………………………………………………...……...6

Extension configuration………………………………………………………...6
Front-end Example………………………………………………………………….15
www.mageants.com support@mageants.com 2
Preface:
- The Customer Attributes extension for Magento 2 lets you add extra custom fields
to any of your checkout steps. Display all created customer attributes on a backend
grid.
- Customer attributes extension flexible settings and intuitive interface, the Customer
Attributes for Magento 2 extension will help you easily fine tune the checkout page
according to your requirements. You can create a many customer attributes as you
need to adding checkout page , create account page and account edit page.
- You can create customer attributes of different types.
- Set flexible conditions for attribute fields display.
- Show customer attributes information on the order grid.
- Display customer attributes frontend side on Create Account Page , Account Edit
Page , Shipping & Review Page. And Backend side Sales Order Grid Also.
www.mageants.com support@mageants.com 3
Installation:
There are two ways of installing extension in magento2.
1) Using COMMAND LINE.
2) Manually install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended).
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory.
If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin
panel and switch to Store → Configuration → Mageants →
CustomerAttribute. The module will be displayed in the admin
panel.
www.mageants.com support@mageants.com 4
Option 2: Magento 2 install extension manually.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory.
If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit
app/etc/config.php file and add one line code:
‘Mageants_CustomerAttribute’ → 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the
admin panel and switch to Stores → Configuration → Mageants →
CustomerAttribute, the module will be displayed in the admin panel.

www.mageants.com support@mageants.com 5
Back-end example:
After Installation of Extension login to magento admin panel
to set configuration of the extension.
As per below screen shot you can set all the settings here.
Extension configuration:


General Setting :-

- Customer can select enable and disable Extension.
- Allow Customers to change their group enable and
disable.
-Customer Enable this Option then they can change their group.

Checkout Setting:-
- Display Attribute values in order summary: If select to yes
then display attribute in order summary on front-end.



www.mageants.com support@mageants.com 6
Menu:
To manage Customer Attributes for Please go to Mageants
Customer Attributes there you can add Attributes on partic-
ular item. Here you can manage on all attributes.


www.mageants.com support@mageants.com 7
Create Customer Attributes :-
List of All created attributes will be displayed in the
grid. Click the Add New Customer Attribute button to cre-
ate an attribute or select the existing one to edit it.
New Customer Attributes creation:

Default Label :- specify the attribute label that will be displayed on
the front-end.
Customer Input Type For Store Owner :– select attribute type like Text
Field , Text Area , Yes/No , Date and Time , Drop-down.
Values Required :– value is required for attribute option.

www.mageants.com support@mageants.com 8
Advanced Attribute Properties:-
Attribute Code :- specify the attribute code that will be used for
internal needs.
Default Value :- If Enter Attribute Default value then add value.
Visible on Front-end :- Select option for attribute value display on
front-end.
www.mageants.com support@mageants.com 9
Storefront Properties:-
Sort Order :- Enter sort order for attribute.
Registration Page :- Select Yes/No option for display attribute on
registration page.
Account Edit Page:- Select Yes/No option for display attribute on
account edit page.
Manage Customers :- Select Yes/No option for display attribute
on manage customers.

Manage Labels:-
Default Store View :- Customer can select drop-down option the
they can add option in store view.
www.mageants.com support@mageants.com 10
Create Address Attribute:
List of All created attributes will be displayed in the
grid. Click the Add New Addrerss Attribute button to create an
attribute or select the existing one to edit it.
New Customer Attributes creation:
www.mageants.com support@mageants.com 11
Default Label - specify the attribute label that will be displayed on
the frontend.
Attribute Code - specify the attribute code that will be used for internal needs.
Store View - select the store view for which the attribute will be available.
Customer Groups - select customer groups for which the attribute will
be shown

www.mageants.com support@mageants.com 12
Select checkout page:- select shipping page or review&pay-
ment page.
Save value for checkout page:- If you select to "Yes", Then
previously entered value will be used during checkout. It is
Works for login customers only.
Sales Order Grid:- If you select yes then display attribute on
sales order grid.
www.mageants.com support@mageants.com 13
Attribute display in sales order grid:
www.mageants.com support@mageants.com 14
Front-end Configuration:
See the example of customer attributes with different input types
(text fields, drop-downs, radio buttons, multiple check-boxes , yes-
no ,date , text area).
Create Account Page :
On Account Information Page Attribute display in Additional Info
block.



www.mageants.com support@mageants.com 15
Account Edit Page :-
Account Information :- In Account Information block Attribute also dis-
play in Additional Information.

www.mageants.com support@mageants.com 16

Shipping Page :-

display attribute on shpping page when customer is login.
Display Attribute on Shipping page when customer is guest.
www.mageants.com support@mageants.com 17
Reviews&Payment Page:
www.mageants.com support@mageants.com 18
Thank you!
you have any questions or feature suggestions, please contact us at:
https://www.mageants.com/contact-us.html
Your feedback is absolutely welcome!
www.mageants.com support@mageants.com 19