Skip to content

Conversation

saphaljha
Copy link
Owner

Original Pull Request

magento#19206

Description (*)

If stock is bellow OutOfStock Threshold, a negative qty is displayed in Product List Page

Fixed Issues (if relevant)

  1. If stock is bellow OutOfStock Threshold, a negative qty is displayed in Product List Page magento/magento2#9130: If stock is bellow OutOfStock Threshold, a negative qty is displayed in Product List Page

Manual testing scenarios (*)

  1. Set qty to 5 for a product, and Out of Stock threshold to 10. Save the product
    When browsing that product in the frontend a "Only -5 left" is displayed under "Out of Stock" message.
  2. Remove the block if qty is negative.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@saphaljha saphaljha merged commit 4c37e70 into 2.2-develop Dec 22, 2018
saphaljha pushed a commit that referenced this pull request Dec 26, 2018
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.

2 participants