Below is a list of supported fields and their respective value types for the import of product attribute values:

Field in CSV file What this field describes Value type
Fields supported by X-Cart core
productSKU* SKU of the product which has this attribute value. Serves as a part of unique identifier.

String,
Max. length: 32 

type*

Type of the attribute. Possible values are:

  • T - Text
  • S - Select
  • C - Yes/No
  • H - Hidden

 

Enum
*name Text representation of the attribute. Serves as a part of unique identifier. String,
Multilingual,
Max. length: 255
class Attribute class. Serves as a part of unique identifier. String,
Multilingual,
Max. length: 255
group Attribute group. Can be blank. Serves as a part of unique identifier. String,
Multilingual,
Max. length: 255 
owner

Yes for *Product-Specific* attributes. No for *Global* attributes.
Owner value serves as a part of unique identifier. Note that changing No to Yes, and vice versa, will result in that a new attribute will be added (provided there hasn't been one).

Yes/No
*value

Actual attribute value

String
attributePosition

Attribute sorting position. If attribute has several values and, therefore, several rows, first encountered value is used.

Integer
valuePosition

Attribute value sorting position

Integer
priceModifer Modifier of the product price. Should be written with a sign, either positive or negative (e.g. +1.5) Signed float
weightModifier Modifier of the product weight. Should be written with a sign, either positive or negative (e.g. +1.5) Signed float
editable Applied only if type is Text. Indicates that this value is editable by customer on the product page. String
Fields added by the addon Color Swatches
swatch A name of a color swatch. String,
Multilingual,
Max. length: 255

* Required field.

** See CSV Field Attributes for more info.

Tips:

  • If you are going to import data into X-Cart and do not wish to update certain X-Cart fields during the import process, you should not include these fields into your CSV file for import. Simply remove the respective column(s) from the file.
  • To check for the correct CSV file format export products with all attributes from the actual database. You’ll see what fields are currently in use.