Skip to main content
Updates the quantity of one or more items in the cart.

Parameters

Single item

Multiple items

Returns

Promise<ShopifyCart>

Examples

Update single item

Update multiple items

Quantity selector

Increment/decrement buttons

Setting quantity to 0 will not remove the item. Use .remove() instead.