This snippet shows you how to get regular price of a WooCommerce product via php

$product_id = 123;
$product = wc_get_product( $product_id );
echo $product ? $product->get_regular_price() : '';

Do you need any of the code in this post customized or packaged into a plugin? Get a free quote
Referral Note: When you purchase through a referral link (if any) on this page, we may earn a commission.
If you're feeling thankful, you can buy me a coffee or a beer