Obtenha o produto de estoque WooCommerce by ID
$product_id = 1100;
$product = wc_get_product($product_id);
echo $product->get_stock_quantity();
Fine Flatworm
$product_id = 1100;
$product = wc_get_product($product_id);
echo $product->get_stock_quantity();