-
Notifications
You must be signed in to change notification settings - Fork 11
Attributes
In this tab you can define every attribute depending wether they belong to one or more families. If the attribute is only part of one family, consider defining it directly in the corresponding family tab.
See family tab section to know how to do this.
For more details about the keys concept of attribute, see attribute in the user guide.
Attribute code must be only composed of letters, numbers, spaces and underscores. No other character will be accepted.
These columns allows you to define localized label for your attribute. You will have to add one column per locale. Be sure there are grouped below the Labels section (line #4) like this:
Attribute code | Labels | ||
en_US | es_ES | fr_FR | |
code | label-en_US | label-fr_FR | label-es_ES |
color | Color | Couleur | Color |
Note : labels must be under 255 characters.
Attribute type can be: Identifier, Text, Text area, Multiple select, Simple select, Price collection, Number, Boolean, Date, File, Image, Metric.
These type are definded in the hidden attribute type tab attribute_type. If you are using the CustomEntityBundle, this is where you will have to add your new attribute type.
Select here the associated attribute group code. Attributes codes are defined in the attribute groups tab.
The sort order is an integer defining the display order in the attribute group on the product edit form.
Choose if the attribute must have unique values.
Choose if the attribute is localizable or not.
Define here the list of comma-separated locales.
Choose if the attribute is scopable or not.
Determines how many characters should be typed for select attributes before an option is presented. This should be used for attributes which have a large number of options
Choose if the attribute is useabe as grid filter or not.
Max characters is an integer defining how many characters maximum can be entered in a text field.
Validation rule can be email, url or regexp.
If validation rule is regexp, use this column to define the regular expression that will be used for validation.
Choose if the text field will be using a TinyMCE WYSIWYG editor, allowing rich text possibilities.
Specify here the minimum number.
Specify here the maximum number.
Specify here if the numbers can only be integers or not.
Specify here if negative numbers are allowed.
Specify here the minimum date users can input.
Specify here the maximum date users can input.
Choose here the metric family. Available options are: Area, Binary, Frequency, Length, Power, Speed, Temperature, Volume, Weight.
Metric families are defined in the hidden metric types tab.
Choose here the default metric unit.
Metric units are defined in the hidden metric units tab.
Define here the maximum file size in MB.
Insert the allowed extensions, separated by a comma.
For example : jpg, jpeg, png