Additional Properties
Additional niches properties of products allow studying user preferences and calculating recommendations more accurately. This section describes allowing filling the product feed with niche features of products for children and babies.
Child
The "child" element must be inside the "offer" element.
Code Block |
---|
|
<offer ...>
...
<child>
...
</child>
</offer> |
Gender
The "gender" element must be inside the "child" element and can have one of the following values:
Value | Description |
---|
m | For boys' products |
f | For girls' products |
Code Block |
---|
|
<offer ...>
...
<child>
<gender>f</gender>
</child>
</offer> |
Tip |
---|
If the product is equally suitable for either gender, there is no need to add this element. |
Type
The "type" element must be inside the "child" element and can have one of the following values:
Value | Description |
---|
toy | Any products are toys in one way or another |
education | Any products that are somehow educational games, constructor sets, etc. |
nappy | Diapers |
furniture | Any products that are the furniture in one way or another |
school | Any products that are school supplies in one way or another |
transport | Any products that are somehow transportation devices (strollers, baby car seats, scooters, bicycles, etc.) |
Code Block |
---|
|
<offer ...>
...
<child>
<type>toy</type>
</child>
</offer> |
Age
The "type" element must be inside the "child" element and include the "min" and "max" elements with the following values:
Value | Age |
---|
0.25 | 1-3 months |
0.5 | 4-6 months |
0.75 | 7-9 months |
1 | 10-12 months |
1.25 | 13-15 months |
1.5 | 16-18 months |
1.75 | 19-21 months |
2 | 22-24 months |
3 | 3 years |
4 | 4 years |
etc. |
|
Tip |
---|
The age of children under 2 years old supports the division into year quarters. |
Code Block |
---|
|
<offer ...>
...
<child>
<age>
<min>0.5</min>
<max>1</max>
</age>
</child>
</offer> |
Example of use of interconnected <child>
and <fashion>
sections
In case this particular baby and children product is a piece of clothing, hence, all the additional product data should be passed in the <fashion>
section:
Code Block |
---|
|
...
<offer ...>
...
<child>
<gender>f</gender>
<age>
<min>1.5</min>
<max>2</max>
</age>
</child>
<fashion>
<type>jacket</type>
<sizes>
<size>h80-82</size>
<size>h83-85</size>
<size>h86-88</size>
</sizes>
</fashion>
</offer>
... |
Example of use of interconnected <child>
and <cosmetic>
sections
In case this particular product belongs to both cosmetic and hygiene products categories, hence, all the additional data should be passed in the <cosmetic>
section:
Code Block |
---|
|
...
<offer ...>
...
<child>
<gender>f</gender>
<age>
<min>1.5</min>
<max>2</max>
</age>
</child>
<cosmetic>
<hypoallergenic>1</hypoallergenic>
<skin>
<part>face</part>
<part>body</part>
<type>normal</type>
<type>oily</type>
<condition>sensitive</condition>
<condition>problem</condition>
</skin>
<volumes>
<volume>
<value>200</value>
<price>1000</price>
</volume>
<volume>
<value>400</value>
<price>2000</price>
</volume>
</volumes>
</cosmetic>
</offer>
... |
Example of use of interconnected <child>
and <fmcg>
sections
In case this particular baby and children product belongs to the FMCG (fast-moving consumer goods) category, hence, all the additional data should be passed in the <fmcg>
section.
Code Block |
---|
|
...
<offer ...>
...
<child>
<gender>f</gender>
<age>
<min>1.5</min>
<max>2</max>
</age>
</child>
<fmcg>
<periodic>1</periodic>
<type>food</type>
</fmcg>
</offer>
... |