cancel
Showing results for 
Search instead for 
Did you mean: 

Out of Stock - different behavior for similar simple products

SOLVED

Out of Stock - different behavior for similar simple products

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Out of Stock - different behavior for similar simple products

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

 

View solution in original post

2 REPLIES 2

Re: Out of Stock - different behavior for similar simple products

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

 

Re: Out of Stock - different behavior for similar simple products

That worked! Thank you.