Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. The Developer Center continues to support Commerce 6.13.0 through 7.4.1.Visit new site

Customer Profile Attribute

Customer Profile Attribute

Customer profile are a set of information collected by the store for customer. For example, the customer attribute CP_DOB, shown below, is the attribute for storing the customer's date of birth. See how the CP_DOB customer profile attribute is used in the customer XML file example.

Sample XML: Customer Profile Attribute


<customerprofile_attributes>
<attribute>
    <key>CP_DOB</key>
    <name>Date of Birth</name>
    <usage>CustomerProfile</usage>
    <type>Date</type>
    <multilanguage>false</multilanguage>
    <required>false</required>
    <multivalue>false</multivalue>
    <global>false</global>
</attribute>
...
</customerprofile_attributes>