I have two simple products both built off the same configurable product.
Both are out of stock.
When I visit the product page on my site, I cannot select one as it has a red line through the swatch.
This is the expected behavior and the behavior I had observed with all out of stock products on our site up until today.
For the other simple product which is out of stock, the swatch can be selected, but when I attempt to add it to my cart I get an "This product is out of stock." error at the top of the page.
Why are these two seemingly identical simple products acting differently?
Solved! Go to Solution.
Hello @kevin_connolly ,
Are you getting this issue on a production server? There is might be an issue of reindex
Please run below command in magento root directory and check it once
php bin/magento indexer:reindex
--
If my answer is useful, please Accept as Solution & give Kudos
Hello @kevin_connolly ,
Are you getting this issue on a production server? There is might be an issue of reindex
Please run below command in magento root directory and check it once
php bin/magento indexer:reindex
--
If my answer is useful, please Accept as Solution & give Kudos
That worked! Thank you.