Type Alias: AddItemToCart()
AddItemToCart: (
cartItem
) =>Promise
<void
>
Parameters
• cartItem: CartItemWithPriceSettings
The CartItem
object containing details of the item to be added to the cart.
Returns
Promise
<void
>
A promise that resolves when the item has been successfully added to the cart.