magento2
magento2 copied to clipboard
Swatches from sold out items visible on store front
Preconditions
- Magento 2.1.1
- PHP 7.0.10
- Apache 2.4.6
- MySQL 5.7.16
- CentOS 7.2.1511
Steps to reproduce
- Simple product, which is a part of a configurable product gets sold out, or I manually change stock quantity to 0 and stock status to out of stock
Expected result
- Swatch for the item that is out of stock should not be visible on the product page
Actual result
- Swatch for the item that is out of stock is still visible on the product page. If I try to add this item to cart I get an error "This product is out of stock."
Disabling the product manually solves this problem. Please note that this issue existed even on version 2.0.9. Products that went out of stock while I was running versions previous to 2.0.9 are working properly and do not need to be manually disabled.
Hi, thank you for report. We already have this issue #5558 Internal ticket MAGETWO-58328 already created. Closed as an duplicate