Home > widget-integration > RecommendationModelProperties

RecommendationModelProperties interface

Signature:

export interface RecommendationModelProperties 

Properties

Property

Modifiers

Type

Description

hasSelectedProduct?

boolean

(Optional)

page

SupportedPage

products

(Product$2 & { checked: boolean; selectedOption: SelectedOption; })[]

recommendationType

"bestsellers" | "newest-arrivals" | "frequently-bought-together" | "trending-products" | "hand-picked-products" | "recently-viewed" | "recently-purchased" | "most-viewed" | "related-items"

rules?

RuleGroupType[]

(Optional) Optional rule groups for rule-based recommendations. Only used by 'hand-picked-products' and 'bestsellers' recommendation types. Backend transforms raw data (IDs, strings) into UI-friendly format with labels.

totalPrice?

string

(Optional)

widgetDesignSettings?

WidgetDesignSettings

(Optional)

widgetId

string

widgetName

string