size
Optional Field
This field is optional, but omitting it may leave out functionality on Prisjakt for your offers
Description
Used to describe size in fashion categories. It is recommended to add this attribute for fashion products to improve results and listing.
Effects When Used
- This attribute allows user to filter offers with specific size
Related Fields
Validation Rules
- Length must be between
1-100
characters
Best Practices
Do
- Use standard values
Example Values
Here are examples of how a valid size value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:size>XS</g:size>
<g:size_system>EU</g:size_system>
Click to show more valid XML examples
<g:size>XS</g:size>
<g:size_system>EU</g:size_system>
<g:size>XXXL</g:size>
<g:size_system>EU</g:size_system>
Valid Value
size,size_system
XS,EU
Click to show more valid CSV examples
size,size_system
XS,EU
size,size_system
XXXL,EU
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:size>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 100 characters value)</g:size>
<g:size_system>EU</g:size_system>
<g:size>XXXL</g:size>
danger
validation_invalid_length
size,size_system
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 100 characters value),EU
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 | False | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 0 | If a list, this specifices the max number of items |
Changelog
📅 2022-12-07
Added
Initial definition