Page 2 of 2

Re: Position currency symbol and decimal (. e ,)

PostPosted: 07 Aug 2014, 16:41
by Xpycm
protected/modules/apartments/models/Apartment.php file
public function getPrettyPrice

Code: Select all
if ($this->is_price_poa)
    return 
tt('is_price_poa''apartments');

$price $this->getPriceFrom();
$priceTo $this->getPriceTo();
if(
$this->isPriceFromTo()){
    
$priceFromTo '';
    if (
$price)
        
$priceFromTo =  tc('price_from').' '.$this->getCurrency().' '.$this->setPretty($price);
    if (
$priceTo)
        
$priceFromTo .= $priceTo ' '.tc('price_to').' '.$this->getCurrency().' '.$this->setPretty($priceTo) : '';

    return 
$priceFromTo;
}
return 
$this->getCurrency().' '.$this->setPretty($price); 

Re: Position currency symbol and decimal (. e ,)

PostPosted: 26 Jan 2015, 00:59
by jwldub
I added "," in the settings, listings, Separator in price to thousandths, however it is not appearing in the front of the website.. There is "," after the thousands.. any help?

Re: Position currency symbol and decimal (. e ,)

PostPosted: 26 Jan 2015, 06:24
by Xpycm
monoray.net/forum/viewtopic.php?f=17&t=344

Re: Position currency symbol and decimal (. e ,)

PostPosted: 19 May 2015, 21:48
by ryancamp
Hi All

Can anyone please confirm how I would change the price to display R 100.00

I need the symbol in front of the number.
Thanks

Re: Position currency symbol and decimal (. e ,)

PostPosted: 20 May 2015, 11:15
by andipas
ryancamp wrote:Hi All

Can anyone please confirm how I would change the price to display R 100.00

I need the symbol in front of the number.
Thanks

This topic describes how to do that. If you can't do it, you have two variants:
1- buy Pro version http://re-pro.monoray.net/, this feature is realized in "Atlas" theme.
2- contact us via contact from we will estimate the change and do it.

Re: Position currency symbol and decimal (. e ,)

PostPosted: 23 Jul 2022, 14:40
by adi
Thnaks for this post, this was really helpful.