Skip to content
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

Trigger recalculate cart #673

Open
lauraluiz opened this issue Sep 25, 2017 · 3 comments
Open

Trigger recalculate cart #673

lauraluiz opened this issue Sep 25, 2017 · 3 comments

Comments

@lauraluiz
Copy link
Contributor

  • Start checkout
  • End checkout
  • View cart
  • More or less?
@lauraluiz lauraluiz added this to the v1.0.0-RC1 milestone Sep 25, 2017
@Oehmi
Copy link

Oehmi commented Nov 17, 2017

@lauraluiz Recalculation is also done when merging carts such as an anonymous cart with a custom cart, and @idamia can probably give you a good insight on other use cases when to recalculate.

https://dev.commercetools.com/http-api-projects-carts.html#recalculate

@lauraluiz
Copy link
Contributor Author

If necessary, only at the very end before the order creation can be called.

@lauraluiz
Copy link
Contributor Author

A product discount will only appear in the cart's products once an operation is applied (e.g. increasing quantity). Until then, no discount appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants