Hi, i would like to ask if there is a possibility to hide swatches for products out of stock on product page?
For example i have a variable product with variation attribute color , in 20 different colors , on shop page it shows all colors in a circle nicely, but trouble comes when i have just lets say 2 colors on stock and rest is out of stock , so all circles down the product image are greyed and i would like to hide them. Any help? Thanks