Hide WooCommerce variable product from catalog if all variations are out of stock
问题 Within my WooCommerce shop, there are products with variations in color. The update on the stock is on variations level because the external feed sees every color as a different product. Now I've got a issue where all the variations of a variable product are out of stock , but the product itself still show up in the catalog of the Webshop. Even tho I turn on the setting "Hide out of stock items from the catalog". But this setting only works for products without variations. When you click on a