Skip to main content

product_detail

Optional Field

This field is optional, but omitting it may leave out functionality on Prisjakt for your offers

Description

In this attribute add all structured information about the product.

Effects When Used

  • We're able to present this information in product page which makes it more visible in search.

Validation Rules

  • make sure data is properly formatted - no HTML tags inside attributes

Best Practices

Do

  • Only add confirmed information

Example Values

Here are examples of how a valid product_detail value should look like in XML and CSV (with header) respectively.

Valid Value
<g:product_detail>
<g:section_name><![CDATA[Display]]></g:section_name>
<g:attribute_name><![CDATA[Diagonal Size]]></g:attribute_name>
<g:attribute_value><![CDATA[2.5]]></g:attribute_value>
</g:product_detail>
Click to show more valid XML examples
<g:product_detail>
<g:section_name><![CDATA[Display]]></g:section_name>
<g:attribute_name><![CDATA[Diagonal Size]]></g:attribute_name>
<g:attribute_value><![CDATA[2.5]]></g:attribute_value>
</g:product_detail>
<g:product_detail>
<g:section_name><![CDATA[disc]]></g:section_name>
<g:attribute_name><![CDATA[memory]]></g:attribute_name>
<g:attribute_value><![CDATA[500 GB]]></g:attribute_value>
</g:product_detail>

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.

<g:product_detail>
<g:section_name><![CDATA[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 1000 characters value)]]></g:section_name>
<g:attribute_name><![CDATA[memory]]></g:attribute_name>
<g:attribute_value><![CDATA[500 GB]]></g:attribute_value>
</g:product_detail>
<g:product_detail>
<g:section_name><![CDATA[x]]></g:section_name>
</g:product_detail>

Properties

PropertyValueDescription
Data TypeList[Nested]Closest data type in code
NestedTrueDefines if this field consists of one or more sub-fields
Case SensitiveFalseIf small or large letters matter for this field
RepeatableTrueIf you can supply multiple items of this field (it´s a list)
Repeatable limit100If a list, this specifices the max number of items

Changelog

📅 2022-12-07

Added

Initial definition

References