Market for partners

<param>

The <param> element is intended for defining product characteristics.

A single <param> element should describe a single characteristic, though the <offer> element may have any number of <param> elements included in it.

The element is defined as <param name="NAME" unit="UNIT">VALUE</param> where:

  • NAME — Name of the parameter.

  • UNIT — Unit of measurement (for numeric parameters).

  • VALUE — Parameter value.

Example:

<offer>
    ...
    <typePrefix>Моноблок</typePrefix>
    <vendor>Apple</vendor>
    <model>iMac</model>
    <description>Новый iMac имеет в стандартной комплектации большой экран со светодиодной 
подсветкой, беспроводную клавиатуру и мышь Magic Mouse.</description>
    ...
    <param name="Тип">моноблок</param>
    <param name="Материал">алюминий</param>
    <param name="Wi-Fi" unit="">есть</param>
    <param name="Размер экрана" unit="дюйм">27</param>
    <param name="Размер оперативной памяти" unit="Мб">4096</param>
    <param name="Объём жесткого диска" unit="Тб">1</param>
    <param name="Вес" unit="кг">13.8</param>
</offer>

Using the <param> element is optional. Characteristics passed in the <param> element are used for filtering product offers in Market search results. Parameters passed in the YML file take priority during filtration, compared with automatically extracted data from the <description> and <name> elements.

Names and values of characteristics passed in the <param> element serve only for filtering product offers and are not displayed as part of the product offer.

You can put together a set of parameters based on the existing product characteristics in the filter for the appropriate category. There are no restrictions on parameter names or their quantity.

Recommended names and units of measurement for several parameters:

Name

Latin letters

Unit of measurement

Тип

Type

Цвет

Colour

Размер

Size

Материал

Material

Ширина

Width

mm, cm, m

Глубина

Depth

mm, cm, m

Высота

Height

mm, cm, m

Диаметр

Diameter

mm, cm, m

Вес

Weight

mg, g, kg

Объем

Capacity

ml, l

Rate this article
Thank you for your feedback!