Home > doofinder > CartItemStatsParams

CartItemStatsParams interface

Parameters for the cart stats.

Signature:

export interface CartItemStatsParams extends StatsParams 

Properties

Property Type Description
amount number | string How many instances of the item are to be added/removed *
id string Unique ID of the item to be added/removed
index string Name of the index the item belongs to. i.e. “product” *
price number Price of the given item *
title string The title that describes the item. Usually, the title of item’s page *