Variant values – A_VARIANTDATA

If more than one article is provided within the product (variants), you must provide at least one variant property and their values. All variants of a product must have the same variant dimension. If variants are provided, the information about the concerned dimension must provide a value for each article of the product. The variant properties refer to the component list.

Technically seen, the number of variant dimensions is unlimited, according to experience, a channel processes one to a max. of three variant dimensions. Instead of creating more dimensions, one should consider to split the variants into one or more products during import. In the fashion branch, for example, colour and size are the common variant dimensions. If the variant dimensions created by the merchant don’t match the dimensions of the channel later on, the product is usually split into single products during export from TB.One, so that the articles of the product is shown as separate products withut variants in the channel shop.

Node Mandatory Data type (Length) Description
A_VARIANTDATA N Start of the variant definition
Element: A_VARIANT Y Value of the variant dimension
Attribute: identifier Y Flag for referencing; at TB.IO, the identifier is always "name".
Attribute: key Y String(100) Value for assignment statement, i.e. name of the variant dimension
Attribute: name N String(100) During import, this attribute allows to fill the designation field.
Sub-element: VALUE Y String(255) Contains the value for the superordinate node; may occur once per language
Attribute: xml:lang Y ISO ISO code according ISO-639

Superordinate element:

See also:

Example XML

<A_VARIANTDATA> <A_VARIANT identifier="name" key="Farbe"> <VALUE xml:lang="de-DE">Hellgrün</VALUE> <VALUE xml:lang="en-US">light green</VALUE> </A_VARIANT> </A_VARIANTDATA>