I have a bought extension of many around for layered navigation with Ajax, and I have an attribute size. Show out of stock product is enable. Now when using the filter to let's say show only product with size Small, it still show all configurable products with child small even if the small child simple product associated is out of stock.

So what I basically want is to hide out of stock product from layered navigation even when child products

1 Answer 1


Go to admin > Stores > configuration > Catalog > Inventory > Stock Options

Set Display Out of Stock Products to NO enter image description here

  • I think you misunderstood what I want, I want out of stock hide just in layered result Feb 21, 2019 at 14:56
  • Any updates here?
    – Radhu
    Jul 20, 2021 at 5:29

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.