0

We are experiencing a weird issue with our Magento 2 website, that the configurable product is still showing on the front-end even all it's simple products related are out of stock. And we have in Stores->Configuration->Catalog->Inventory->Display Out Of stock, set to NO.

Is there anything we have missed in the configuration?

2
  • 1
    Have you run indexing commands?
    – P_U
    Mar 17, 2018 at 8:57
  • @PareshaU You are right, I seems I need to update product indexing even it shows status ready in admin. Efter updated the indexing, the configurable is disappeared from the front-end. thanks. Mar 17, 2018 at 10:30

1 Answer 1

2

Please run below commands to see the result.

php bin/magento indexer:reindex

OR

php bin/magento indexer:reindex catalog_category_product catalog_product_category catalog_product_attribute

php bin/magento setup:static-content:deploy
php bin/magento cache:flush
1
  • if you found this answer helpful please accept it so its also helpful others.
    – P_U
    Mar 17, 2018 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.