Products and variants
If this type of data needs to be stored in products or variants in Elevate, it should be stored as a JSON blob, as it will not be indexed. Group related data together in an attribute to minimize the number of attributes and store only the necessary information. The JSON blob should be stored as a custom attribute in Admin v3 or as a custom JSON field in Admin v4. The custom attribute or custom JSON field will be returned in a product-page request and can be included in listings viapresentCustom or by using a template that includes that attribute or field.
Example
The following examples show a variable that controls the UI on a product page,showPDPBanner, and also an internalId that shouldn’t be searchable.
If internalId was stored as a regular custom attribute and another custom attribute contained a value with cm, for example 55 cm, a search for 15 cm would result in the product being listed.
- Admin v4
- Admin v3
on ProductData and VariantData
Landing pages
If there is presentational information related to a category, it can be saved on the fieldcustomData for each locale on a page.
The customData field will be returned on landing-page requests.
Example
Page import with presentational data
Navigation
If the nodes in the navigation require presentational information it can be stored on the fieldcustomData. The customData field will be returned on landing-page requests as well as requests to the navigation tree.
Example
Navigation import with presentational data

