attributes.csv
This file can be used to: Create new attributes, add attribute translations, define attribute type, scope, and other attribute specifications accordingly.
column | required | limitation |
---|---|---|
_code | ✅ | Max length of 128 chars. Lowercased, alphanumerical and "_" signes are accepted. |
_type | ✅ | One of { |
_scope | ✅ | One of { |
_language | ✅if one of | 5 chars LCID language code. Example: |
_name | Max length of 255 chars. Lowercased, alphanumerical and "_" signes are accepted. | |
_hint | Max length of 4000 chars. Lowercased, alphanumerical and "_" signes are accepted. | |
format | ✅ if | One of existing date formats (see table below) |
currency | ✅ if | One of existing Currencies. |
rich_edit | ✅ if | One of { |
unit | ✅ if | One of existing Unit Symbols. |
unique | One of { |
Available date formats:
Date | CSV Date Format |
---|---|
1999-01-31 | yyyy-MM-dd |
99-01-31 | yy-MM-dd |
31.01.1999 | dd.MM.yyyy |
31.01.99 | dd.MM.yy |
01/31/99 | MM/dd/yy |
01/31/1999 | MM/dd/yyyy |
January 31, 1999 | MMMM dd, yyyy |
31 January 1999 | dd MMMM yyyy |
31 Jan 1999 | dd MMM yyyy |
Example:
_code | _type | _scope | _language | _name | format | currency | rich_edit | unit |
---|---|---|---|---|---|---|---|---|
text | TEXT | local | en_GB | text | ||||
textarea | TEXT_AREA | global | en_GB | textarea | true | |||
numeric | NUMERIC | local | en_GB | numeric | ||||
price | PRICE | global | en_GB | price | PLN | |||
unit | UNIT | local | en_GB | unit | m | |||
data | DATE | global | en_GB | date | yyyy-MM-dd | |||
select | SELECT | local | en_GB | select | ||||
multiselect | MULTI_SELECT | global | en_GB | multiselect | ||||
image | IMAGE | local | en_GB | image | ||||
gallery | GALLERY | global | en_GB | gallery | ||||
file | FILE | local | en_GB | file | ||||
product_relation | PRODUCT_RELATION | global | en_GB | product relation |
Last updated