get price in woocommerce code example
Example 1: get price woocommerce product
$product = wc_get_product( $post_id );
$product->get_regular_price();
$product->get_sale_price();
$product->get_price();
Example 2: how to get woocommerce product price
$_product->get_regular_price();
$_product->get_sale_price();
$_product->get_price();