Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Order catalog doesn't warn you if entered quantity is not available #3494

@rbarreca

Description

@rbarreca

Describe the bug
If only 3 available quantity and you enter 5 in order catalog, there is no warning message and the "5" remains in the text input but the price to the right is shown for a quantity of 3.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Order page
  2. Find a product with low inventory
  3. Enter in a quantity higher than what's available
  4. Won't see warning and entered quantity vs. price calculation will be off

Expected behavior
See a warning message (pretty sure this used to be in there, maybe before consignment code) and the text input should revert to max quantity available.

Screenshots
screen shot 2018-11-06 at 11 25 29 am

User reports

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions