Additional
PropertiesAdditional 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 products for construction and repair.
Case Sensitivity
Warning |
---|
All parameter names are case-sensitive and should follow the spelling used in this documentation. |
Construction
A distinctive feature of a product from construction & repair category is presenceof the <construction>
subsection inside the <offer>
section.
Add the following parameters to each product to your XML-File.
Purcahse Frequency
Optional parameter <periodic>
. Placed inside the <offer>
section, within the <constructon>
subsection.
Consider the following table of possible values of the parameterThe "construction" element must be inside the "offer" element.
Code Block |
---|
|
<offer ...>
...
<construction>
...
</construction>
</offer> |
Periodic
The "periodic" element must be inside the "construction" element and can have the following values:
Value | Description |
---|
1 | Product is purchased frequently (material) |
0 | Product is purchased occasionally (equipment) |
Consider the following example of use: Code Block |
---|
language | xml |
---|
titletheme | XML example |
---|
| ...
|
<offer ...>
...
<construction>
<periodic>1</periodic>
</construction>
</offer>
... |
Product type
Optional parameter <type>
. Placed inside the <offer>
section, within the <constructon>
subsection.
Consider the following table of possible values of the parameter
Type
The "type" element must be inside the "construction" element and can have one of the following values:
Value | Description |
---|
material | Construction material |
tool | Constructoin equipment |
Consider the following example of use:
Code Block |
---|
language | xml |
---|
titletheme | XML example |
---|
| ...
|
<offer ...>
...
<construction>
<type>tool</type>
</construction>
</offer>
... |
Location
Optional parameter <outdoor>
. Placed inside the <offer>
section, within the <constructon>
subsection.
Consider the following table of possible values of the parameter:
Parameter value
Outdoor
The "outdoor" element must be inside the "construction" element and can have one of the following values:
Value | Description |
---|
1 | Product is used only for countryside maintenance, repair and construction |
0 | Product is used both for countryside and urban maintenance, repair and construction |
Consider the following example of use:
Code Block |
---|
language | xml |
---|
titletheme | XML example |
---|
| ...
|
<offer ...>
...
<construction>
<outdoor>1</outdoor>
</construction>
</offer>
... |
Construction Type
Optional parameter <construction_type>
. Specifies the construction type this particular product is used for. Placed inside the <offer>
section, within the <constructon>
subsection.
Consider the following table of possible values of the parameter:
NOTE: This parameter can take several values at once.The "construction_type" elements must be inside the "construction_types" element of the "construction" element and can have one of the following values:
Value | Description |
---|
floor | Floormaintenance and repair |
wall | Wall maintenance and repair |
ceiling | Ceiling maintenance and repair
|
decor | Cosmetic alterations |
outdoor | Outdoor repair |
indoor | Indoor repair |
roof | Roof repair |
Consider the following example of use: Tip |
---|
This parameter can take several values at once. |
Code Block |
---|
language | xml |
---|
titletheme | XML example |
---|
| ...
|
<offer ...>
...
<construction>
<construction_types>
<construction_type>wall</construction_type>
<construction_type>outdoor</construction_type>
</construction_types>
</construction>
</offer>
... |
Brand
Optional parameter <brand>. Placed inside the <offer>
section, within the <constructon>
subsection (a basic XML tag, for more information see XML Product Feed).