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

Order templates - Behavior of adding products to cart during out of stock products are in the list #1052

Closed
M-Behr opened this issue Mar 8, 2022 · 0 comments · Fixed by #1067
Labels
bug Something isn't working
Milestone

Comments

@M-Behr
Copy link

M-Behr commented Mar 8, 2022

Actual Behavior

Currently, it is not really clear why you can't add your items from the order template to the cart. Especially if you have 20 items in the template and one is out of stock. Then it is hard to recognize and you have to check all of your items.

Expected Behavior

The PWA wireframes define following behavior: Out of stock products are not checked and the checkbox is disabled. They have no quantity. Add to cart button is enabled. See 'My Account' wireframes in PWA 2.0 as example.
PWA_Wireframes_OrderTemplate

We mentioned in the review that it is possible that you add all items to the cart without realizing that one of them is out of stock and could not be added to the cart. I think, we should make a little improvement and add an info message at the top of the items.
See IAD:
PWA_Wireframes_OrderTemplate_Message

An alternative way is the behavior from the shopping cart, where 'invalid' items are extra listed:
PWA_Wireframes_OrderTemplate_CartBehavior

Steps to Reproduce the Bug

Steps to reproduce the behavior:

  1. Add products to order template
  2. Set one of them to out of stock via 'ICM'
  3. Go to 'My Account'
  4. Click on 'Order Templates'
  5. Click on your order template

Environment Details

  • Browser: Chrome
  • Project Code Version: PWA Review - shpuld be testable in PWA 2.1

Additional Context, like Screenshots, Log File Snippets etc.

Current Implementation:
image

AB#75089

@M-Behr M-Behr added the bug Something isn't working label Mar 8, 2022
@shauke shauke added this to the 2.2 milestone Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants