I have a lot of variation products some of them are out of stock but if i trigger this
Out of stock visibility: Hide out of stock items from the catalog
woocommerce -> settings -> products -> inventory
the variation will get cross mark but the problem is the default variation it will not show anything like images etc. because the default variation is already have cross mark.