Skip to main content

Type Alias: GetRelatedDynamicData()

GetRelatedDynamicData: (items, backgroundColor?) => Promise<RelatedItemConfiguration[]>

Get list of related items with matched image and options based on currently selected options

Parameters

items: RelatedItem[]

Raw list of related products

backgroundColor?: string

Custom background color to be used on dynamically created 2d images

Returns

Promise<RelatedItemConfiguration[]>

List of related products with dynamic data generated

Since

6.0.0