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 products for construction and repair.
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 parameter:
Value | Description |
---|
1 | Product is purchased frequently (material) |
0 | Product is purchased occasionally (equipment) |
Consider the following example of use:
...
<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:
Value | Description |
---|
material | Construction material |
tool | Constructoin equipment |
Consider the following example of use:
...
<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 | 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:
...
<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.
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:
...
<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).