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

Stock aware client #44

Open
1 of 2 tasks
norbeta opened this issue Feb 19, 2021 · 0 comments
Open
1 of 2 tasks

Stock aware client #44

norbeta opened this issue Feb 19, 2021 · 0 comments

Comments

@norbeta
Copy link
Member

norbeta commented Feb 19, 2021

Feature or Bug?

  • Feature
  • Bug

Feature

With regards to issue #43 - make the client stock-aware.

What would you like?

Instead of being unable to complete the sale if stock=0, item stock should be checked when added to the cart.
Also, if item is out of stock before a sale - the item should be grayed out.

An override function should be implemented as well to not let the customer have to wait until someone with access to the server are able to update the stock.

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

No branches or pull requests

1 participant