-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(medusa): totals calculation with gift card #5075
Conversation
🦋 Changeset detectedLatest commit: 8f913fa The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
8729615
to
8ebda6b
Compare
…s/medusa into fix/totals-gift-cart-calculation
@olivermrbl let me know when we can discuss that pr |
Can you add a short description of what changes are introduced in this PR? |
Is there any feedback on this change or can we merge it? |
I would just like to know if this will be merged or not, or if I have to fork Medusa or not. |
164d747
to
253acdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we need to update a couple of tests before we can merge
@olivermrbl should we move this one? |
What
Resolve potential discrepency between what is calculated in the
createFromCart
and the cart/order totals calculation.When the giftCard is taxable then the following calculation is applied
otherwise