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:

Check the out of stock options

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.


SohaIb AhmEd 2 years 2020-12-26T21:10:37-05:00 0 Answers 6 views 0

Leave an answer