Creating Custom Customer Attributes

Creating Custom Customer Attributes

Accessing Custom Customer Attributes

Customer Attributes are parameters stored against a Customer account. This behaves exactly in the same way as Product and Vendor Attributes. To create a new customer attribute, you will need to first log in as a Marketplace Owner, and navigate to Stores > Attributes > Customer.





Here you will be able to see a grid of the existing Customer Attributes on the marketplace. You can choose to Edit using the Action column to the right, or you can create a new attribute by selecting the Add New Attribute button on the top right.




Adding or Editing an Attribute

When the page loads, you will see the following fields. This should look similar to the Vendor or Product Attributes screen. You can configure the attribute here:

Attribute Properties




Field
Notes
Default Label
The name of the attribute.
Input Type
The attribute type used for data entry.

Example: Text Field, Date, Yes/No, Document, Multiple Select.

Note: If Multiple Select' or Dropdown is chosen, a table will appear to allow the options definition.



Values Required
Choose Yes if the attribute is mandatory.

Advanced Attribute Properties



Field
Notes
Attribute Code
Leave it blank, as the system will create an internal code.
Input Validation for Customer
To insert a validity test into a text field.

Example: email, letters, numbers
Visible on Frontend
If this attribute is visible in the customer's account page.
Add to Column Options
Available for Back End users to see this data in the Customer Grid.
Use in Filter Options
Available for Back End users to filter by this data in the Customer Grid.
Use in Search Options
Available for Back End users to search by this attribute in the Customer Grid.

Manage Labels

If you have more than one store using the vendor attribute and want to define different attribute labels for each one, expand the Manage Labels sections and enter a title for each option.





Storefront Properties

This will section will allow you to set other visibility optios if available






Field
Notes
Sort Order
The order to display this attribute on the front end of the Marketplace.
Registration Page
Set this to Yes to include this field during the Customer Registration screen for customers to populate.
Account Edit Page
Set this to Yes to include this field in the Account Edit page. This can be accessed by a registered customer in the Marketplace.
Manage Customers
Set this to Yes to allow administrators to modify the data on this field from the back end (note if set to No, the field will still show as available, however the data will not save).


Save your attribute

Once you have completed with the attribute, you can simply select Save Attribute from the top right. Alternatively, you can also select Save and Continue Edit, to continue working with attribute and remaining on the page.