Cart Transforms should be visible to other functions #264
BrandoCommando
started this conversation in
Feedback: Cart Transform API
Replies: 2 comments 7 replies
-
Also, it's called the Cart Transform API, but it doesn't change the Cart, it only affects Checkout. Seems to me like it should do both. |
Beta Was this translation helpful? Give feedback.
6 replies
-
It should be both. If that's not the case for your test store, let me know and I can double-check. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It appears anything done in a Cart Transform function is not indicated on the input to Discount functions. This can result in double-discounting, which could be avoided by specifying the "cost.totalAmount.amount" as being different than the "cost.subtotalAmount.amount", as the API docs would suggest. However, I have found this not to be the case. Both functions are unaware of each other.
Beta Was this translation helpful? Give feedback.
All reactions