Skip to content

Allow new bottom of $this->getMinQty() for backorder products only, n…#14

Open
seansan wants to merge 1 commit intoetailer:masterfrom
seansan:patch-1
Open

Allow new bottom of $this->getMinQty() for backorder products only, n…#14
seansan wants to merge 1 commit intoetailer:masterfrom
seansan:patch-1

Conversation

@seansan
Copy link
Copy Markdown

@seansan seansan commented Jan 17, 2017

…ormal freeze at 0

Fixes problem where when product edit and save like
P1: qty=0; min_qty=-2;No backorders;In stock

Expected result
qty=0; min_qty=-2;No backorders;Out of Stock (as qty =0 and no backorders allowed)

Actual result
qty=0; min_qty=-2;No backorders;In stock (min_qty also is allowed for normal products, but seeing we have this new behavior I can only assume one would only want this for backorderable products)

…ormal freeze at 0

Fixes problem where when product edit and save like
P1: qty=0; min_qty=-2;No backorders;In stock

Expected result
qty=0; min_qty=-2;No backorders;Out of Stock (as qty =0 and no backorders allowed)

Actual result
qty=0; min_qty=-2;No backorders;In stock (min_qty also is allowed for normal products, but seeing we have this new behavior I can only assume one would *only* want this for backorderable products)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant