All variations of the product has a stock. but still it is showing out of stock in wordpress backend and in product category page, but when we go to the single product page that product is available we can buy that product.
Things i tried:
- Changed Theme
- Created Duplicate of the "in stock" product but that new product also shows out of stock
- Deactivated all the plugins except woocommerce.
- Created New Product.