Skip to content

[2.1.0] In Stock/Out of Stock state not updating when changing quantity of item #5696

@peec

Description

@peec

When changing the quantity of a product from any number to 0, the state is automatically changed to Out of Stock upon saving. However, when changing an out of stock product to any number and saving, the product is still listed as Out of Stock.

Steps to reproduce

  1. Access an active, out of stock product through Products > Catalog
  2. Change Quantity to any number and save

Expected result

The product’s state is automatically changed to In Stock

Actual result

The product is still listed as Out of Stock despite the quantity change.

One must manually remember to also set In Stock which is a inconvenient step and not working as one would expect because the other way the state is changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentfeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions