-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Ordering 'out of stock' products in offline mode - error #2740
Comments
As for now we should better handle the ThankYouPage + display the proper error message in that case |
@pkarw extracting order synchronization to a visual layer and notifying a user about successful/unsuccessful order placement when he's back online would be a great feature and simplify solutions to a lot of similar issues to this one. Same goes for products that have additional business validation, invalid address fields, expired coupons etc. If you think it's a viable set of features then we should extract that to a separate FR, I believe. |
@lukeromanowicz yes, that makes perfect sense to me. We should have this kind of general error handler in here. So I belive you could create such a feature request and maybe close this issue with it |
@pkarw I elaborated my idea in #2753. If it's similar to what you have in mind |
As a workaround for currently not having the #2753 implemented we can use the Popup UI from the https://github.com/DivanteLtd/vue-storefront/tree/master/core/modules/offline-order - to just display the details of the order that can't be sent from the queue. In case of any of validation / server error we should just to:
Then we can deal with #2753 and optimize the UX |
… canceled after going back to online - closes vuestorefront#2740
Related issues
#2044
Steps to reproduce the issue
Current behavior
Expected behavior
Assuming its impossible to check stock status before, we should at least display proper error message on front - currently user is convinced, that he placed an order.
Can you handle fixing this bug by yourself?
Which Release Cycle state this refers to? Info for developer.
Pick one option.
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
.release
branch and create Pull Request3. Stabilisation fix
back torelease
.hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.Environment details
The text was updated successfully, but these errors were encountered: