Currently, when viewing an attribute catalog page in a store, products still show up if they are out of stock for the specified attribute. This could result in a frustrating customer experience.
Example: Consider Product A. Product A comes in sizes 1, 2, & 3. However, size 2 is currently out of stock. If I filter the catalogue using WooCommerce Layered Nav widget, I will see Product A listed under size 2, even though it is out of stock. This would remove Product A from the size 2 page until it is restocked.
A few notes about the plugin:
- WooCommerce is of course required.
- This will only work for attributes used in variations.
- The attributes need to be taxonomies, and not defined on the product level.