A space to discuss online store customization, theme development, and Liquid templating.
Have there been any changes to the Cart API or the Checkout process?
I've noticed that cart attributes are being removed. I'm using the code from the documentation:
https://shopify.dev/docs/api/ajax/reference/cart#update-cart-attributes
I add an attribute, and I can see it on /cart.json, everything works fine.
However, after proceeding to checkout and placing the order, the attributes disappear.
Could this be a bug, or have there been any changes to the API?
Are you using an accelerated or dynamic checkout method (e.g. Buy Now button)? If so, they don't bring your cart attributes along.
This is apparently changing soon, but it's been like this for years.