i have setup my site on magento 241 and out of stock products are not showing on category page, but it is showing on homepage widget section. i also set display out of stock product options = yes from backend than also not showing .

does anyone have idea how can i solve this problem ?

1 Answer 1


Please execute bin/magento cache:flush && bin/magento index:reindex so that the information on out of stock products is added to Elasticsearch as new documents.

  • i already check with reindex but no any output Mar 19, 2021 at 7:06
  • are they indexed at elasticsearch level? can you check if there are any documents for your out of stock products?
    – Diana
    Mar 19, 2021 at 7:07

Your Answer

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

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