I'm using woocommerce to display products and their variations. I have a variation called 'Size' for all of the products. Some of the variations are out of stock, but these are still showing in the select dropdown. See the attached image:
How do I remove or blank out a variation from being selected if a variation is 'Out of Stock'? I've tried using 'Hide Out of Stock' in the WooCommerce settings though this made no difference.