Search
Preparing search index...
The search index is not available
Shopify Cart Fetch
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Shopify Cart Fetch
CartInterface
Interface CartInterface
Hierarchy
CartInterface
Implemented by
ShopifyCart
Index
Properties
state
Methods
add
Item
add
Item
From
Form
clear
Attributes
clear
Items
clear
Note
get
State
remove
Item
update
Attributes
update
Item
update
Note
Properties
state
state
:
CartState
Methods
add
Item
add
Item
(
items
:
CartItems
)
:
Promise
<
CartItemsResponse
>
Parameters
items:
CartItems
Returns
Promise
<
CartItemsResponse
>
add
Item
From
Form
add
Item
From
Form
(
productForm
:
HTMLFormElement
)
:
Promise
<
CartLineItem
>
Parameters
productForm:
HTMLFormElement
Returns
Promise
<
CartLineItem
>
clear
Attributes
clear
Attributes
(
)
:
Promise
<
CartState
>
Returns
Promise
<
CartState
>
clear
Items
clear
Items
(
)
:
Promise
<
CartState
>
Returns
Promise
<
CartState
>
clear
Note
clear
Note
(
)
:
Promise
<
CartState
>
Returns
Promise
<
CartState
>
get
State
get
State
(
)
:
Promise
<
CartState
>
Returns
Promise
<
CartState
>
remove
Item
remove
Item
(
item
:
CartItemRemove
)
:
Promise
<
CartState
>
Parameters
item:
CartItemRemove
Returns
Promise
<
CartState
>
update
Attributes
update
Attributes
(
attributes
:
Attributes
)
:
Promise
<
CartState
>
Parameters
attributes:
Attributes
Returns
Promise
<
CartState
>
update
Item
update
Item
(
item
:
CartItemUpdate
)
:
Promise
<
CartState
>
Parameters
item:
CartItemUpdate
Returns
Promise
<
CartState
>
update
Note
update
Note
(
note
:
string
)
:
Promise
<
CartState
>
Parameters
note:
string
Returns
Promise
<
CartState
>
Exports
Cart
Interface
state
add
Item
add
Item
From
Form
clear
Attributes
clear
Items
clear
Note
get
State
remove
Item
update
Attributes
update
Item
update
Note
Generated using
TypeDoc