frontends icon indicating copy to clipboard operation
frontends copied to clipboard

[BUG] errors during adding a product to cart aren't displayed

Open mkucmus opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

When I add a product to cart with some impossible quantity I'm able to add only one of it, but the message from the response is not displayed image

Expected Behavior

the errors from the response are displayed, so I know what happened and why I don't have exact number of items in my cart

Steps To Reproduce

  1. go to /detail/3c40bbdab5a94212b7834f879ab34539 route
  2. add 9999 quantity
  3. see the only one product was added
  4. I can see errors object with proper warning attached - in line-item endpoint response

Environment

- OS:
- Node:
- pnpm:

Anything else?

No response

mkucmus avatar Mar 21 '24 12:03 mkucmus

Will be covered by https://github.com/shopware/frontends/pull/1215

mdanilowicz avatar Aug 16 '24 09:08 mdanilowicz