Cart attributes and dynamic checkout buttons

Topic summary

Apps relying on cart/note attributes fail to capture metadata when customers use dynamic checkout (“Buy Now”), which bypasses the cart. Shopify’s compatibility docs confirm cart attributes aren’t supported in that flow.

Cart attributes (order-level key–value metadata) set on the product page therefore won’t reach the order via dynamic checkout.

Workaround adopted: send part of the data from the order confirmation page and send the rest via Shopify webhooks, then match both datasets in the app’s backend to identify relevant orders.

A participant asked whether those attributes themselves are transmitted via webhook, leaving uncertainty about how much of the original cart metadata appears in webhook payloads. Webhooks are server-side notifications containing order data.

No native fix or setting was identified. Current status: custom integration workaround in place; the question of webhook attribute coverage remains open.

Summarized with AI on December 10. AI used: gpt-5.

Hi,

I’m running a shopify app, that relies on cart attributes. On the product details page it adds a cart attribute / note attribute to the cart which will identify orders that are relevant for my app. Unfortunately I just found out that cart attributes won’t work when the customer uses the “buy now” button instead of “add to cart”.

https://help.shopify.com/en/manual/online-store/os/dynamic-checkout/compatibility#cart-attributes

Is there any solution or workaround for adding additional information from the product details page to the order, even if the customer uses these dynamic checkout buttons?

Thanks a lot

Daniel

In case someone stumbles upon this. I solved by sending part of the order at the order confirmation page and the rest of the order data via webhook. Then I match them together in my backend

1 Like

Do the attributes send via webhook then?