---
title: Events
source_url:
  html: 'https://shopify.dev/docs/api/storefront-events-and-actions/events'
  md: 'https://shopify.dev/docs/api/storefront-events-and-actions/events.md'
api_name: storefront-events-and-actions
---

# Events

[shopify:cart:discount-update](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-discount-update)

[Fires when a buyer applies or removes discount codes.](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-discount-update)

[shopify:cart:error](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-error)

[Fires when a cart operation fails.](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-error)

[shopify:cart:lines-update](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-lines-update)

[Fires when cart lines are added, updated, or removed.](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-lines-update)

[shopify:cart:note-update](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-note-update)

[Fires when a buyer changes the cart note.](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-note-update)

[shopify:cart:view](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-view)

[Fires when a buyer opens the cart page or cart drawer.](https://shopify.dev/docs/api/storefront-events-and-actions/events/cart-view)

[shopify:collection:update](https://shopify.dev/docs/api/storefront-events-and-actions/events/collection-update)

[Fires when a buyer filters or sorts a collection.](https://shopify.dev/docs/api/storefront-events-and-actions/events/collection-update)

[shopify:collection:view](https://shopify.dev/docs/api/storefront-events-and-actions/events/collection-view)

[Fires when a buyer lands on a collection.](https://shopify.dev/docs/api/storefront-events-and-actions/events/collection-view)

[shopify:page:view](https://shopify.dev/docs/api/storefront-events-and-actions/events/page-view)

[Fires once on every page load.](https://shopify.dev/docs/api/storefront-events-and-actions/events/page-view)

[shopify:product:select](https://shopify.dev/docs/api/storefront-events-and-actions/events/product-select)

[Fires when a buyer changes product options.](https://shopify.dev/docs/api/storefront-events-and-actions/events/product-select)

[shopify:product:view](https://shopify.dev/docs/api/storefront-events-and-actions/events/product-view)

[Fires when a product comes into view.](https://shopify.dev/docs/api/storefront-events-and-actions/events/product-view)

[shopify:search:update](https://shopify.dev/docs/api/storefront-events-and-actions/events/search-update)

[Fires when a buyer runs or refines a search.](https://shopify.dev/docs/api/storefront-events-and-actions/events/search-update)

***
