Closed notrab closed 3 years ago
What should we call this function?
🚀 for updateCart
🎉 for updateCartMeta
👀 for updateCartMetadata
:tada: This issue has been resolved in version 1.11.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Similar to what happens with CartQL, it would be good to support a
updateCart
function that allows you to set global metadata on the cart.This can be helpful for tracking any order notes, coupon codes, etc.
Example:
The only thing that would need decided is how to access this. I'd prefer to namespace this under
metadata
, so you'd be able to do: