Position currency symbol and decimal (. e ,)

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

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

Postby Xpycm » 07 Aug 2014, 16:41

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); 
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2

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

Postby jwldub » 26 Jan 2015, 00:59

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?
jwldub
Stranger
 
Posts: 4
Joined: 25 Jan 2015, 23:54
Reputation point: 0

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

Postby Xpycm » 26 Jan 2015, 06:24

monoray.net/forum/viewtopic.php?f=17&t=344
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2

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

Postby ryancamp » 19 May 2015, 21:48

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
ryancamp
Stranger
 
Posts: 1
Joined: 19 May 2015, 21:31
Reputation point: 0

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

Postby andipas » 20 May 2015, 11:15

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.
andipas
Web Developer
Web Developer
 
Posts: 156
Joined: 28 Dec 2011, 22:37
Reputation point: 1

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

Postby adi » 23 Jul 2022, 14:40

Thnaks for this post, this was really helpful.
We are a pioneer in offering Customized property solutions that are consistent and accordant with your requirements. Checkout flats in hiranandani powai
adi
Stranger
 
Posts: 1
Joined: 23 Jul 2022, 14:37
Reputation point: 0

Previous

Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 5 guests

cron