How to remove “out of stock” variation options from size dropdown in woocommerce?
I’m using woocommerce to display products and there variations. I’ve basically a size variation for all of the products. Some of the variations have run out of stock but it still displays 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 Woo Commerce settings though this made no difference.