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

[Woo POS] Mechanism to handle quantities Product List <-> Cart #12750

Closed
iamgabrielma opened this issue May 16, 2024 · 2 comments · Fixed by #12767
Closed

[Woo POS] Mechanism to handle quantities Product List <-> Cart #12750

iamgabrielma opened this issue May 16, 2024 · 2 comments · Fixed by #12767
Labels
feature: POS type: task An internally driven task.

Comments

@iamgabrielma
Copy link
Contributor

Currently the "quantity" element in the ProductCardView is just a placeholder and does not update when products are added/removed from the cart:

Screenshot 2024-05-16 at 10 30 37

We need a mechanism to handle that, from the initial designs:

  • Tapping the + should both increase the quantity number and make a new row appear in the Cart view
  • Removing products from the cart should also update the quantity

Additionally we should also add some sort of fake "stock" property to the Product model for the moment, so it disallows to add more products than available in stock to the cart. This could represent the Yosemite.Product for the time being stockQuantity property.

@iamgabrielma iamgabrielma added the type: task An internally driven task. label May 16, 2024
@dangermattic
Copy link
Collaborator

dangermattic commented May 16, 2024

Thanks for reporting! 👍

@iamgabrielma
Copy link
Contributor Author

P2: p91TBi-bcW-p2#comment-12123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: POS type: task An internally driven task.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants