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 | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <fashion> ... </fashion> </offer> |
Gender
Anchor | ||||
---|---|---|---|---|
|
Value | Description |
---|---|
m | For men's products |
f | For women's products |
Tip |
---|
If the product is equally suitable for either gender, there is no need to add this element. |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <fashion> <gender>f</gender> </fashion> </offer> |
Type
Anchor | ||||
---|---|---|---|---|
|
Value | Description |
---|---|
shoe | Any products that are shoes in one way or another |
shirt | Any products that are somehow a shirt, blouse, dress, etc. |
tshirt | Any products that are somehow a T-shirt, etc. |
underwear | Any products that are underwear in one way or another |
trouser | Any products that are somehow pants, jeans, shorts, skirts, etc. |
jacket | Any products that are somehow jackets, coats, fur coats, etc. |
blazer | Any products that are somehow blazers, vests, pullovers, cardigans, etc. |
sock | Any products that are socks in one way or another |
belt | Any products that are belts in one way or another |
hat | Any products that are hats in one way or another |
glove | Any 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 | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <fashion> <type>shoe</type> </fashion> </offer> |
Size
Anchor | ||||
---|---|---|---|---|
|
Sizing system | Prefix formatting | Example |
---|---|---|
European sizing system | e | e38 |
U.S. / international sizing system | u (or no need if only the letters are used) | XS, u30 |
British sizing system | b | b6 |
Russian sizing system | r (or no need) | r44, 44 |
Height (for baby and children apparel) | h | h89-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 | ||||
---|---|---|---|---|
| ||||
<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:
Name | Requirement | Description |
---|---|---|
picture | optionally | Link 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 | ||||
---|---|---|---|---|
| ||||
<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:
Value | Description |
---|---|
pregnant | Maternity clothing |
child | Children's clothing |
adult | Clothing for adults. The default value. |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <fashion> <feature>pregnant</feature> </fashion> </offer> |
Table of Contents | ||
---|---|---|
|