This code is working for me, please give it a try:
public function empty_price($price) {
global $post;
return '<div class="contactproduct"><a href="mailto:offers@centrowireless.com?subject='.urlencode($post->post_title).'">Contact for Price</a></div>';
}