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?

  • 1
    Have you run indexing commands? – P_U Mar 17 '18 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. – Magento Learner Mar 17 '18 at 10:30
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
  • if you found this answer helpful please accept it so its also helpful others. – P_U Mar 17 '18 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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