<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/standard-storefront-events-and-actions-now-support-cart-attributes-tvfwijoia" -->

---
title: Standard storefront events and actions now support cart...
description: Shopify&#x27;s standard storefront events and actions now natively support cart attributes. The update-cart action can now update cart attributes directly,...
canonical: https://daily.dev/posts/standard-storefront-events-and-actions-now-support-cart-attributes-tvfwijoia
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Standard storefront events and actions now support cart attributes | daily.dev
og:description: Shopify&#x27;s standard storefront events and actions now natively support cart attributes. The update-cart action can now update cart attributes directly,...
og:url: https://daily.dev/posts/standard-storefront-events-and-actions-now-support-cart-attributes-tvfwijoia
og:image: https://api.daily.dev/og/posts/TVFWijoIA.png
og:image:alt: Standard storefront events and actions now support cart attributes
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)

[Read post](https://api.daily.dev/r/TVFWijoIA)

# [Standard storefront events and actions now support cart attributes](https://api.daily.dev/r/TVFWijoIA "Go to post")

Shopify's standard storefront events and actions now natively support cart attributes. The update-cart action can now update cart attributes directly, eliminating the need to call the Storefront API manually. A new shopify:cart:attributes-update event fires whenever an attributes update is initiated — regardless of whether the change came from your app, the theme, or another app. The event carries the full new set of attributes and a promise for the result, enabling immediate UI updates with rollback support if the cart rejects the change.

[#ecommerce](/tags/ecommerce "Check all #ecommerce posts")[#shopify](/tags/shopify "Check all #shopify posts")

Aug 06•1m read time•From [shopify.dev](https://api.daily.dev/r/TVFWijoIA "shopify.dev")

[![Post cover image](https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop)](https://api.daily.dev/r/TVFWijoIA "Go to post")

Questions this post answers

How do I update cart attributes in Shopify without calling the Storefront API directly?

The standard update-cart action in Shopify's Storefront Events and Actions API now handles cart attributes natively, so you no longer need to call the Storefront API yourself. The action works like any other cart update, and the new shopify:cart:attributes-update event fires on every attribute change — from your app, the theme, or another app — carrying the full new attribute set and a promise for the result. Shopify developers tracking platform changes like this one keep up with the ecosystem on daily.dev.

What does the shopify:cart:attributes-update event carry and when does it fire?

The shopify:cart:attributes-update event fires whenever a cart attributes update is initiated, regardless of which app or theme triggered it. It carries the full new set of cart attributes and a promise for the result, allowing you to update your UI immediately and roll back the change if the cart rejects it. Teams building Shopify storefronts watch for API changes like this on daily.dev.

198 Impressions

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![Shopify Developer changelog's image](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3)](https://daily.dev/sources/shopifychangelog)

[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog "https://daily.dev/sources/shopifychangelog")

Shopify Changelog serves as a resource for staying informed about updates, enhancements, and bug fix... Read more

211 Followers

•

214 Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Standard storefront events and actions now support cart attributes","url":"https://daily.dev/posts/standard-storefront-events-and-actions-now-support-cart-attributes-tvfwijoia","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/standard-storefront-events-and-actions-now-support-cart-attributes-tvfwijoia"},"datePublished":"2026-08-06T22:03:53.569Z","dateModified":"2026-08-06T22:04:14.954Z","description":"Shopify's standard storefront events and actions now natively support cart attributes. The update-cart action can now update cart attributes directly,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shopify Developer changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shopify Developer changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3","url":"https://daily.dev/sources/shopifychangelog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/standard-storefront-events-and-actions-now-support-cart-attributes-tvfwijoia","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ecommerce,shopify","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shopify Developer changelog","item":"https://daily.dev/sources/shopifychangelog"},{"@type":"ListItem","position":3,"name":"Standard storefront events and actions now support cart attributes"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/standard-storefront-events-and-actions-now-support-cart-attributes-tvfwijoia#faq","mainEntity":[{"@type":"Question","name":"How do I update cart attributes in Shopify without calling the Storefront API directly?","acceptedAnswer":{"@type":"Answer","text":"The standard update-cart action in Shopify's Storefront Events and Actions API now handles cart attributes natively, so you no longer need to call the Storefront API yourself. The action works like any other cart update, and the new shopify:cart:attributes-update event fires on every attribute change — from your app, the theme, or another app — carrying the full new attribute set and a promise for the result. Shopify developers tracking platform changes like this one keep up with the ecosystem on daily.dev."}},{"@type":"Question","name":"What does the shopify:cart:attributes-update event carry and when does it fire?","acceptedAnswer":{"@type":"Answer","text":"The shopify:cart:attributes-update event fires whenever a cart attributes update is initiated, regardless of which app or theme triggered it. It carries the full new set of cart attributes and a promise for the result, allowing you to update your UI immediately and roll back the change if the cart rejects it. Teams building Shopify storefronts watch for API changes like this on daily.dev."}}]}
```

