Hello,
But if you choose the black and 39 you’ll get the red text that the product is out of stock https://gyazo.com/7930c4b8e68f2db1af9aa45aacef0061
You can try to add the below code to disable the cursor for the q-ty if the variation is out of stock
.woocommerce-variation-add-to-cart-disabled .quantity, .woocommerce-variation-add-to-cart-disabled .quantity .minus, .woocommerce-variation-add-to-cart-disabled .quantity .plus, .woocommerce-variation-add-to-cart-disabled .quantity input {
cursor: not-allowed;
}
There is no option to hide out of stock variations.
Regards