categories.csv
This file can be used to: Create new categories, and add category name translations.
column | required | limitation |
---|---|---|
_code | ✅ | Max length of 128 chars. Lowercased, alphanumerical and "_" signes are accepted. |
_name | Max length of 255 chars. | |
_language | ✅ if | 5 chars LCID language code. Example: |
attribute_code* | Column header represents existing Attribute Code. Value should be valid according to given attribute type.
Example: |
In the example, some values are collections(multiselect_attribute, gallery, etc) separated by semicolons.
If your column separator is semicolon as well the CSV file should contain those values escaped(surrounded) with "
sign to tell the importer that the value represents a single column i.e. "option_code_1,option_code_2"
.
In order to import attribute values the attributes need to be enabled in Category attributes. This can be done either by Ergonode UI or via import file category_attributes.csv.
Example:
_code | _name | _language | text_short_description | textarea_description | numeric_size | price | unit_weight | date | select_brand | multiselect_attribute | image | gallery | file_appendix | product_relation_attribute |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
category | category one | en_GB | text1 | textarea1 | -1 | 1 | 1 | 2022-11-09 | option1 | option_code_1,option_code_2 | folder/multimedia.jpg | folder/multimedia.jpg,multimedia2.jpg | docs.pdf | sku_with_variants,sku_simple2 |
category | pierwsze kategoria | pl_PL | text2 | textarea2 | 2 | 2 | -2 | 09-11-2022 | option2 | option_code_1 | folder/multimedia.jpg | folder/multimedia.jpg,multimedia2.jpg | docs.pdf |
* Note in the above example columns not starting with _
prefix represents product attribute values. Each header name represents an attribute code identifying this Attribute and the cell contains the value.
text_short_description
text attribute represented by the text valuetextarea_description
textarea attribute represented by the text valuenumeric_size
numeric attribute represented by the numeric valueprice
price attribute represented by the positive numeric valueunit_weight
unit attribute represented by the numeric valuedate
date attribute represented by the date valueselect_brand
select attribute represented by the Attribute Option Codemultiselect_attribute
multiselect attribute represented by the list of Attribute Option Codes separated by a commaimage
image attribute represented by the Multimedia Pathgallery
gallery attribute represented by the list of Multimedia Paths separated with a commafile_appendix
file attribute represented by the list of Multimedia Paths separated with a commaproduct_relation
product relation attribute represented by the list of SKUs separated with a comma
Last updated