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

Bugfix/#2450 show prices after adding product to cart in offline mode #2510

Conversation

patzick
Copy link
Collaborator

@patzick patzick commented Feb 27, 2019

Related issues

closes #2450

Short description and why it's useful

Shows regular price when there is no totals from server.

I also discovered, that cart summary is in cart.state.platformTotalSegments which is updated after response from server, so after adding new product summary still was not updated. So i made a reactive online helper and used it in getter which returns cart summary.

New Vue.observable is pretty cool! 💥 :)

Upgrade Notes and Changelog

  • No upgrade steps required (100% backward compatibility)
  • I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

@patzick patzick requested review from filrak and pkarw February 27, 2019 10:25
core/helpers/index.ts Show resolved Hide resolved
@patzick patzick merged commit 85d985b into vuestorefront:develop Feb 27, 2019
@patzick patzick deleted the bugfix/#2450-show-prices-after-adding-product-to-cart-in-offline-mode branch February 27, 2019 15:54
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.

None yet

3 participants