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

Anchor
gender
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

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

ValueDescription
shoeAny products that 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 that 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 that are socks in one way or another
beltAny products that are belts in one way or another
hatAny products that 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" elements 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" elements must be inside the "fashion" element and can have the following attribute:

NameRequirementDescription
pictureoptionallyLink 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. The default value.

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


Table of Contents
classpersonaclick-fixed-position