Skip to content

Recalculate the order after update the attributes in the checkout mutations#129

Merged
AlessioRocco merged 1 commit intomasterfrom
recalculate-order-after-checkout-mutations
Jul 3, 2020
Merged

Recalculate the order after update the attributes in the checkout mutations#129
AlessioRocco merged 1 commit intomasterfrom
recalculate-order-after-checkout-mutations

Conversation

@AlessioRocco
Copy link
Copy Markdown
Contributor

@AlessioRocco AlessioRocco commented Jun 26, 2020

The recalculate is needed because the Spree::OrderUpdateAttributes#apply method doesn't call it and we have to return the update order informations.

@AlessioRocco AlessioRocco self-assigned this Jun 26, 2020
@AlessioRocco AlessioRocco force-pushed the recalculate-order-after-checkout-mutations branch 2 times, most recently from 9e32213 to 44b59fe Compare July 3, 2020 09:49
@AlessioRocco AlessioRocco force-pushed the recalculate-order-after-checkout-mutations branch from 44b59fe to c6aa068 Compare July 3, 2020 10:27
Copy link
Copy Markdown
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Contributor

@ChristianRimondi ChristianRimondi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AlessioRocco AlessioRocco merged commit e12e45d into master Jul 3, 2020
@AlessioRocco AlessioRocco deleted the recalculate-order-after-checkout-mutations branch July 3, 2020 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants