get price woocommerce product
snippet in php

get price woocommerce product

user5634

$product = wc_get_product( $post_id );

$product->get_regular_price();
$product->get_sale_price();
$product->get_price();