How to retrieve product price with currency symbol (Woocommerce) ?


#1

I am creating a theme and am using a wp-query loop and this code below to retrieve the price of the products.

<?php echo get_post_meta(get_the_ID(),'_sale_price',true); ?>

The problem is is gets only the price not the currency symbol.

How do i retrieve the currency symbol ?


#2

http://wordpress.org/support/topic/get-product-price-in-custom-loop


#3

Thanks