get product stock quantity woocommerce 2.3 code example
Example 1: how to get woocommerce product price
$_product->get_regular_price();
$_product->get_sale_price();
$_product->get_price();
Example 2: get stock product woocommerce by id
$product_id = 1100;
$product = wc_get_product($product_id);
echo $product->get_stock_quantity();