This is what worked for me. I wasn't able to get the code above to work in classipress 3.1.9

<div class="price-wrap">
<?php if (get_post_meta($post->ID, cp_price, true) != "") { ?>
...