Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 22 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 apparel and accessories.


Fashion

The "fashion" element must be inside the "offer" element.

<offer ...>
    ...
    <fashion>
        ...
    </fashion>
    ...
</offer>


Gender

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

ValueDescription
mFor men's products
fFor women's products

If the product is equally suitable for either gender, there is no need to add this element.


<offer ...>
    ...
	<fashion>
	    <gender>f</gender>
	</fashion>
    ...
</offer>


Type

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

ValueDescription
shoeAny products are shoes in one way or another
shirtAny products that are somehow a shirt, blouse, dress, etc.
tshirtAny products that are somehow a T-shirt, etc.
underwearAny products are underwear in one way or another
trouserAny products that are somehow pants, jeans, shorts, skirts, etc.
jacketAny products that are somehow jackets, coats, fur coats, etc.
blazerAny products that are somehow blazers, vests, pullovers, cardigans, etc.
sockAny products are socks in one way or another
beltAny products are belts in one way or another
hatAny products are hats in one way or another
gloveAny products that are somehow gloves, mittens, etc.

There is no need to add this element if the product sizes aren't available. See the "size" element below.


<offer ...>
	...
	<fashion>
		<type>shoe</type>
	</fashion>
</offer>

Size

The "size" element must be inside the "sizes" element of the "fashion" element and can have one of the following values:

Sizing systemPrefix formattingExample
European sizing systemee38
U.S. / international sizing systemu (or no need if only the letters are used)XS, u30
British sizing systembb6
Russian sizing systemr (or no need)r44, 44
Height (for baby and children apparel)hh89-95

There is no need to set the sizes if there is no "type" element (see above). All available product sizes must be listed, each size in a separate "size" element. 


<offer ...>
	...
	<fashion>
		<type>shoe</type>
		<sizes>
			<size>e40</size>
			<size>e42</size>
			<size>e44</size>
			<size>e48</size>
		</sizes>
	</fashion>
</offer>


Color

The "color" element must be inside the "fashion" element and can have one of the following attribute:

NameTypeRequirementDescription
picturestringoptionallyLink to the product image in the matching color

If the product has several color variants, each should be set in a separate "color" element.


<offer ...>
	...
	<fashion>
        <color>red></color>
        <color picture="https://examplestore.com/product/100500/pictures/yellow.jpg">yellow</color>
        <color picture="https://examplestore.com/product/100500/pictures/green.jpg">green</color>
	</fashion>
</offer>


Feature

The "feature" element must be inside the "fashion" element and can have one of the following attribute:

ValueDescription
pregnantMaternity clothing
childChildren's clothing
adultClothing for adults (default value)

<offer ...>
    ...
	<fashion>
		<feature>pregnant</feature>
	</fashion>
</offer>

  • No labels