Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagexml
themeMidnight
<offer ...>
    ...
    <child>
        ...
    </child>
</offer>


Gender

The "gender" element must be inside the "child" element and can have one of the following values:

ValueDescription
mFor boys' products
fFor girls' products

Code Block
languagexml
themeMidnight
<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.

Product

Type

Optional parameter <type>. Placed inside the <offer> section, within the <child> subsection.

Consider the following table of possible values:

Mandatory?

The "type" element must be inside the "child" element and can have one of the following values:

ValueDescription
NoNoeducationEdicational
toy
Toys
Any products are toys in one way or another
educationAny products that are somehow educational games, constructor sets
No
, etc.
nappy
Diaper
Diapers
NoNoschoolSchool suppliesNotransportTransportation
furnitureAny products that are the furniture in one way or another
Furniture
schoolAny products that are school supplies in one way or another
transportAny products that are somehow transportation devices (strollers, baby car seats, scooters, bicycles, etc.)
Consider the following example of use:

 ...
Code Block
languagexml
titlethemeXML example
Midnight
<offer ...>
    ...
	<child>
	    <gender>f</gender>
	    <type>toy</type>
	</child>
</offer>
...

Age

Optional parameter <age>. Placed inside the <offer> section, within the <child> subsection.

Bracket age (for less than 2 years old babies) supported through subparameters <min> (minimum age) and <max> (maximum age). 

Consider the following table of possible values:

Mandatory?AgeValue
No1-3 months0.25
No4-6 months0.5
No7-9 months0.75
No10-12 months1
No13-15 months1.25
No16-18 months1.5
No19-21 months1.75
No22-24 months2
No3 years3
No4 years4
No...etc.


Consider the following example of use:

Code Block
languagexml
titleXML example
 ...
<offer ...>
    ...
	<child>
	    <gender>f</gender>
		<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
languagexml
...
<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
languagexml
...
<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
languagexml
...
<offer ...>
	...
	<child>
		<gender>f</gender>
		<age>
			<min>1.5</min>
			<max>2</max>
		</age>
	</child>
	<fmcg>
		<periodic>1</periodic>
		<type>food</type>
	</fmcg>
</offer>
...


Table of Contents