Home > widget-integration > RecommendationWidgetController > buildBundleCartPayload

RecommendationWidgetController.buildBundleCartPayload() method

Signature:

protected buildBundleCartPayload(products: RecommendationModelProperties["products"]): Array<{
		id: string;
		quantity: number;
		selling_plan: null;
		properties: Record<string, unknown>;
	}>;

Parameters

Parameter

Type

Description

products

RecommendationModelProperties["products"]

Returns:

Array<{ id: string; quantity: number; selling_plan: null; properties: Record<string, unknown>; }>