material
Optional Field
This field is optional, but omitting it may leave out functionality on Prisjakt for your offers
Description
It is recommended to use this attribute in Fashion categories. Add it to improve search results and listing.
Effects When Used
- This attribute helps us categorize products and present relevant search results for the users.
Validation Rules
- Add up to 3 materials separated by slash like
Cotton/Leather
Best Practices
Don´t
- Don't use values that do not describe material
None
,N/A
Example Values
Here are examples of how a valid material value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:material><![CDATA[Cotton]]></g:material>
Click to show more valid XML examples
<g:material><![CDATA[Cotton]]></g:material>
<g:material><![CDATA[Cotton/Leather]]></g:material>
Valid Value
material
Cotton
Click to show more valid CSV examples
material
Cotton
material
Cotton/Leather
Error Codes
Below you will find possible error codes generated when validating this field alongside with an example in XML and CSV that would trigger the code. Please refer to the validation rules to understand the cause.
- XML
- CSV
<g:material><![CDATA[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 255 characters value)]]></g:material>
<g:material><![CDATA[Cotton/Leather/Elastane/Cotton]]></g:material>
danger
validation_invalid_length
material
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 255 characters value)
danger
Properties
Property | Value | Description |
---|---|---|
Data Type | string | Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | False | If small or large letters matter for this field |
Repeatable | True | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 3 | If a list, this specifices the max number of items |
Changelog
📅 2022-12-07
Added
Initial definition