Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

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.

<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

<offer ...>
	...
	<child>
		<gender>f</gender>
	</child>
</offer>

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:

ValueDescription
toyAny products are toys in one way or another
educationAny products that are somehow educational games, constructor sets, etc.
nappyDiapers
furnitureAny products that are the furniture in one way or another
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.)

<offer ...>
    ...
	<child>
	    <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:

XML 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:

...
<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:

...
<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.

...
<offer ...>
	...
	<child>
		<gender>f</gender>
		<age>
			<min>1.5</min>
			<max>2</max>
		</age>
	</child>
	<fmcg>
		<periodic>1</periodic>
		<type>food</type>
	</fmcg>
</offer>
...

  • No labels