The request
“The theme has filters by size but they show the sizes a product is offered in. I want it to filter by what's actually in stock. Customers pick a size and see nothing available.”
A filter that promised what it couldn't deliver.
The approach
We changed the size filter to consider inventory, so only products with the selected size in stock appear, and sizes with nothing available are hidden from the filter.
What we shipped
Size filter respects inventory
Out-of-stock sizes hidden from the filter
Applies across collections