This snippet shows you how to get the WooCommerce product price via php

$product_id = 123;
$product = wc_get_product( $product_id );
echo $product ? $product->get_price() : '';
Do you need any of the code in this post customized or packaged into a plugin? Get a free quote