get product for current category woocommerce code example
Example 1: woocommerce get product id
global $product;
$product->get_id();
Example 2: how to get woocommerce product price
$_product->get_regular_price();
$_product->get_sale_price();
$_product->get_price();