IN wordpress platform the Woocommerce is the best platform that used for eCommerce solution.
Sale price and regular price are just meta keys.
we can easily get the prices by using following code:
$regular_price = get_post_meta( get_the_ID(), '_regular_price', true);
$sale_price = get_post_meta( get_the_ID(), '_sale_price', true);