This plugin will let you hide out of stock products in WooCommerce but only for certain categories. WooCommerce currently lets you either hide all out of stock products or none. This expands on that and lets you choose a category to hide when out of stock.
You might want to use this to keep newer products on your website eventhough they’re out of stock. Hiding the older, out of stock WooCommerce products would remove some clutter.