Magento Commerce, 1.14.x

Magento 1.x Software Support Notice
For Magento Commerce 1, Magento is providing software support through June 2020. Depending on your Magento Commerce 1 version, software support may include both quality fixes and security patches. Please review our Magento Software Lifecycle Policy to see how your version of Magento Commerce 1 is supported.

Custom Customer Attributes

To create a customer attribute, complete the properties that describe how it will be used, and how it appears in the store. The process is similar to creating a product attribute.


Manage Customer Attributes

To create a custom customer attribute:

1. On the Admin menu, select Customers > Attributes > Manage Customer Attributes.

The list includes both system and custom attributes. System attributes cannot be changed or deleted.

2. In the upper-right corner, click the Add New Attribute button.
3. Complete the Attribute Properties as described in the Field Descriptions.

Attribute Properties
4. Complete the Frontend Properties as described in the Field Descriptions.

Frontend Properties
5. In the panel on the left, select Manage Label / Options.
6. In the Manage Titles section, enter a label to identify the field in the form. For multiple store views, you can enter a different label for each.

Manage Titles
7. The Manage Options section appears if the attribute input type has multiple options. Click the Add Option button. For each value, do the following:
a. Enter the first value. For multiple views, you can enter a different value for each.
b. If applicable, enter a number to determine the Position of the value in the list.
c. If you want the value to be preselected, select the Is Default option.

Manage Options
8. When complete, click the Save Attribute button.
  • Field Descriptions

    Field

    Scope

    Description

    Attribute Properties

    Attribute Code

    Global

    Specify the customer attribute name that will be used by the system. The name must be unique and must not contain any special characters, except an underscore, or any spaces.

    Input Type

    Global

    Specify the way the attribute appears to the customer in the store. Options include:

    Text Field

    Single line text field. Max and min size can be specified later.

    Text Area

    Multi-line text input area. Max and min size can be specified later.

    Multiple Line

    The number of input lines to be available for the customer in the frontend (cannot exceed 20 lines).

    Date

    The system validates the customer’s date attribute input.

    Dropdown

    A drop-down list of options. To define the options, see: Manage Label / Options.

    Multiple Select

    Multi-selectable list of options. When selected, the store administrator needs to create a number of attribute options on the Manage Label / Options tab.

    Yes/No

    Binary/yes-no input field.

    File (attachment)

    Allows files to be uploaded by the customer.

    Image File

    Allows images to be uploaded by the customer.

    Default Value

    Website

    Specify a value that will be displayed in the attribute field in the frontend as a default one.

    Input Validation

    Global

    Determines how the value entered by the customer is verified. The system verifies that the value entered in the attribute field corresponds to the type of attribute created. Input validation options available to the store administrator may vary depending on the attribute input type selected. Options include:

    None

    Alphanumeric

    Numeric Only

    Alpha Only

    URL

    Email

    Minimum Text Length

    Global

    Determines the minimum number of characters that can be entered in the field. Applies to input types:

    Text Field

    Text Area

    Multiple Line

    Maximum Text Length

    Global

    Determines the maximum number of characters that can be entered in the field. Applies to input types:

    Text Field

    Text Area

    Multiple Line

    Maximum File Size (bytes)

    Global

    Determines the maximum size of an attachment file. Applies to input type: File.

    File Extensions

    Global

    List allowed extensions of files to be attached in the field. Separate multiple file extensions with a comma. Applies to input type: File.

    Values Required

    Website

    Determines if the attribute is a required field during data entry. The information cannot be saved until the required field is complete.

    Input/Output Filter

    Global

    Choose which filter will be applied to the attribute during the input and output operations. Filters can only be applied if the attribute is of Text Field, Text Area, or Multiple Line input type. The following options are available:

    None

    Strip HTML Tags

    Escape HTML Entries

    Use in Customer Segment

    Global

    Determines if the attribute can be used to define a customer segment for targeted marketing. Options include: Yes / No.

    Frontend Properties

    Show on Frontend

    Website

    Determines if the attribute is visible in the store. Options include: Yes / No.

    Sort Order

    Global

    Determines the order in which the attribute appears when listed with other custom attributes. In the form, system attributes appear first, followed by the custom attributes.

    Forms to Use In

    Global

    Choose the forms where the attribute will be used: Options include:

    Customer Checkout Register

    Customer Registration

    Customer Account Edit

    Admin Checkout