Skip to content

Adding "out of stock" product confgurations to cart - wrong notification #7164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jakobfdev opened this issue Oct 24, 2016 · 1 comment
Closed

Comments

@jakobfdev
Copy link

jakobfdev commented Oct 24, 2016

Preconditions

  1. Magento 2.1.2 from composer
  2. PHP 5.6, MySQL 5.7

Steps to reproduce

  1. Fresh magento install
  2. Create configurable product with a single config attribute and several simple products
  3. Set one simple products stock quantity to 0 and to "Out of stock"
  4. In the frontend go to the configurable, choose the config value of the "Out of stock" simple product and add it to cart

Try not to set the first of the configurations out of stock, otherwise you run into
#6799

Expected result

  1. There should be a message like "This product is out of stock."

Actual result

  1. The message says "You need to choose options for your item." as no configuration was selected.
@jakobfdev jakobfdev changed the title Adding out of stock item confgurations to cart - wrong notification Adding "out of stock" product confgurations to cart - wrong notification Oct 24, 2016
@quienti
Copy link
Contributor

quienti commented Oct 24, 2016

Duplicate: #7069

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

No branches or pull requests

2 participants