> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# product_removed_from_cart Event

> Track when a visitor removes an item from their cart

Fires when a visitor removes an item from their cart. This helps identify cart friction points and understand why shoppers don't complete purchases.

<Note>
  **Shopify:** Automatically tracked when items are removed from cart.
</Note>

## JavaScript

```javascript theme={null}
window._upstack('track', 'product_removed_from_cart', {
  items: [
    {
      id: 'SKU_12345',
      name: 'Classic Cotton Tee',
      price: 34.99,
      quantity: 1
    }
  ],
  value: 34.99,
  currency: 'USD'
});
```

## Properties

| Property | Type   | Required | Description                                                              |
| -------- | ------ | -------- | ------------------------------------------------------------------------ |
| items    | array  | Yes      | Products removed (see [Item Object](/pixel/standard-events#item-object)) |
| value    | number | No       | Value of removed items                                                   |
| currency | string | No       | ISO 4217 currency code                                                   |

## When to Fire

* Remove button click
* Quantity decrease to zero
* Clear cart action

## Related Events

* [add\_to\_cart](/pixel/events/add-to-cart) — When adding items to cart
* [view\_cart](/pixel/events/view-cart) — When viewing cart contents
