headless-commerce
Preparing search index...
lib/cart/cart-types
CartAction
Type Alias CartAction
CartAction
:
|
{
product
:
Product
;
quantity
?:
number
;
type
:
"add"
}
|
{
type
:
"clear"
}
|
{
type
:
"close"
}
|
{
slug
:
string
;
type
:
"decrement"
}
|
{
items
:
readonly
CartLineItem
[]
;
type
:
"hydrate"
}
|
{
slug
:
string
;
type
:
"increment"
}
|
{
type
:
"open"
}
|
{
slug
:
string
;
type
:
"remove"
}
Intent-based cart actions consumed by the pure reducer.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
headless-commerce
Loading...
Intent-based cart actions consumed by the pure reducer.