About: Hiding and not counting out of stock in layered navigation in Magento
Hi, this has boggled us for quite a while. An I did not find a solution. We upgraded to Mage 1.8.1 hoping that it would be fixed.
- We have 19 shirts (configurable products)
- that sell in sizes 38, 39, 40 etc
- some of these shirts are not available in size 38 or 39
- so when a user clicks on the sizes filter in layered navigation it would show only shirts that have stock in that size
But what happens is
Problem A: the count of products per size is 19 everywhere. But this is not correct, some of the 19 shirts are only available in size 38 or 39
Problem B: When I click to filter on size 38, I would expect to see only shirts on the next page that actually are available in size 38
Now how could we solve this? is this a configuration something that I am missing? Show out o stock products yes/no, in attribute settings? or do I need to change this in the code?
Expected behavior would be: - count only products that actually have a size available - show only products that actually have a size available