TB.One > Import & Export > Master Data Import via TB.Cat/XML > TB.Cat - XML Structure > TBCATALOG > PRODUCTDATA > PRODUCT > P_CATEGORIES

P_CATEGORIES

p_categories

 

NODE

REQUIRED

DATA TYPE

DESCRIPTION

P_CATEGORIES

N

XML

Product categories

P_CATEGORY

Y

CHAR(200)

Product category

P_CATEGORY[channel]

N

CHAR(12)

Channel sign (only for primary or secondary channel category)

P_CATEGORY[type]

Y

ENUM

Type of the product category. Possible values are:
internal = internal category
cluster = cluster
primary = primary channel category
secondary = secondary channel category

P_CATEGORY[identifier]

N

ENUM

Indicator for referencing (key or name)

P_CATEGORY[key]

N

CHAR(50)

Value stored in the identifier assignment statement

 

EXAMPLE:

For illustration, the examples below contain clusters and internal categories. However, we recommend only using one of these two features.

 

New creation (cluster/internal category)

<P_CATEGORIES>

<P_CATEGORY type="cluster" identifier="key" key="clust1">

Herren|Jacken|Freizeit

</P_CATEGORY>

<P_CATEGORY type="internal" identifier="key" key="hejout">

Herren|Jacken|Outdoor

</P_CATEGORY>

</P_CATEGORIES>

 
Assignment of existing clusters/internal categories

<P_CATEGORIES>

<P_CATEGORY type="cluster" identifier="key" key="clust1" />

<P_CATEGORY type="cluster" identifier="key" key="clust2" />

<P_CATEGORY type="internal" identifier="key" key="hejout" />

<P_CATEGORY type="cluster" identifier="key" key="MEN | OBERTEILE | T_SHIRTS"/>

<P_CATEGORY channel="pode" type="primary" identifier="key" key="T150802" />

<P_CATEGORY channel="pode" type="secondary" identifier="key" key="T1901000000" />

</P_CATEGORIES>


For further information, see also:

Master data import via XML - overview

XML structure overview - TB.Cat 1.4

XML structure overview - TB.Cat 1.2/1.3

Examples: XML for TB.Cat 1.4 or TB.Cat 1.2/1.3