OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to add Price Type as a suffix to Price in Main (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

How to add Price Type as a suffix to Price in Main

nickc (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:How to add Price Type as a suffix to Price in Main 10 Years, 3 Months ago
Karma: 0  
Find this code:
Code:

<?php if ($house->price > 0 && $params->get('show_pricerequest') == '1') { ?>
                <div class="row_text">
                    <span class="col_text_1"><?php echo _REALESTATE_MANAGER_LABEL_PRICE; ?>:</span>
                    <span class="col_text_2">
                <?php if ($realestatemanager_configuration['price_unit_show'] == '1') echo formatMoney($house->price, true, $realestatemanager_configuration['price_format']) . " " . $house->priceunit;
    else echo $house->priceunit . " " . formatMoney($house->price, true, $realestatemanager_configuration['price_format']);
?>
                    </span>
                </div>


Place this code right after:
Code:

<?php
}
$price_type[0] = _REALESTATE_MANAGER_OPTION_SELECT;
$price_type1 = explode(',', _REALESTATE_MANAGER_OPTION_PRICE_TYPE);
$i = 1;
foreach($price_type1 as $price_type2) {
    $price_type[$i] = $price_type2;
    $i++;
}
if ($house->price_type != 0) {
?>
                <div class="row_text">
                    <span class="col_text_1"><?php echo _REALESTATE_MANAGER_LABEL_PRICE_TYPE; ?>:</span>
                    <span class="col_text_2"><?php echo $price_type[$house->price_type]; ?></span>
                </div>

Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:How to add Price Type as a suffix to Price in Main 10 Years, 3 Months ago
Karma: 102  
Hello

If you use some template from us, you need change that file what located

site/templates/your_templates/html/com_realestatemagare/view_house/default.html


Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»