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 apparel and accessories.


Fashion

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

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

Tip

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


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

Note

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


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

Note

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. 


Code Block
languagexml
themeMidnight
<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 the following attribute:

NameTypeRequirementDescription
picturestringoptionallyLink to the product image in the matching color

Note

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


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

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<fashion>
		<feature>pregnant</feature>
	</fashion>
</offer>


Table of Contents