Skip to content

[FO] CART- When your add more items to cart than is in stock there are few issues #488

@Zoefinders

Description

@Zoefinders

Describe the bug

When your add more items to cart than is in stock there are few issues

Steps to reproduce

  1. BO > Update the Mug The best is yet to come quantity to 1 and save
  2. FO > Add one Mug The best is yet to come to the Cart
  3. Access to the cart page
  4. Try to add more of Mug The best is yet to come to the cart
  5. You can see the message The available purchase order quantity for this product is 1. displayed, but you don't know how many pieces are in stock.
  6. Change the quantity, the error disappears, only a toast is shown in top right.
  7. Even though there is an error the Proceed to checkout is active.
  8. When you click it, you stay on the same page, but the red error disappears.
  9. When you add another product that is in stock, go to cart, delete this instock product, the red error disappears.

Screen record
error-msg-cart.webm

Additional infos

  • HummingBird version: 0.1.5
  • PS version: develop
  • PHP version: 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions