# propertyhive/1.4.50/templates/single-property/price.php

Property Hive, version 1.4.50. 36 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.50/code/templates/single-property/price.php
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.50/raw/templates/single-property/price.php
- Modified: 2019-12-12T10:34:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/1.4.50/code/templates/single-property/price.php#L10-L20`.

```php
<?php
/**
 * Single Property Price
 *
 * @author 		PropertyHive
 * @package 	PropertyHive/Templates
 * @version     1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $post, $property;
?>
<div class="price">

	<?php echo $property->get_formatted_price(); ?>
	
	<?php
       	if (
            $property->department == 'residential-sales'
            ||
            ( $property->department == 'commercial' && $property->for_sale == 'yes' )
        )
       	{
        	echo ' <span class="price-qualifier">' . $property->price_qualifier . '</span>';
       	}

       	if ( $fees != '' )
        {
            echo ' <span class="lettings-fees"><a data-fancybox data-src="#propertyhive_lettings_fees_popup" href="javascript:;">' . __( 'Tenancy Info', 'propertyhive' ) . '</a></span>';

            echo '<div id="propertyhive_lettings_fees_popup" style="display:none; max-width:500px;"><h3>' . __( 'Tenancy Info', 'propertyhive' ) . '</h3>' . $fees . '</div>';
        }
    ?>

</div>
```
