Sp Property: Incorrect Price Format - Forum | JoomShaper
Solved Extensions

Sp Property: Incorrect Price Format

Asked by Alexandre 5 years ago Last activity 4 years ago

I have seen this application for inclusion of decimal number and also correction of . and , is old. I researched a solution and found these two, but as they are very old. Didn't work!

Thursday, 26 October 2017 - https://archive.joomshaper.com/forums/empire-template-decimals-in-price-with-euro

Sunday, 10 March 2019 - https://archive.joomshaper.com/forums/change-format-price-on-property-section

Please ask the team to adjust this for me? I need the currency format to be R$ 20.000,00 (even when there are no cents, the two zeros must appear)

Accepted answer

Marked as the solution
Toufiq Senior Staff

I have added this line of code

components/com_spproperty/helpers/helper.php

$fmt = new NumberFormatter('it_IT', NumberFormatter::DECIMAL);
$fmt->setSymbol(NumberFormatter::GROUPING_SEPARATOR_SYMBOL, '.');
$fmt->setSymbol(NumberFormatter::DECIMAL_SEPARATOR_SYMBOL, ',');
$fmt->setAttribute(NumberFormatter::MIN_FRACTION_DIGITS, 2);

https://prnt.sc/1vo4aok

-Thanks

16 more replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please update the Extension and set fixed price.

-Thanks

Alexandre Asked this

Toufiq the extension is updated in the latest version 4.0.0
I don't know what you mean by "set fixed price".
What I need is the shape of the coin to match my country, where the dot separates the thousand and the comma from the cents.
Looking like this: R$ 100.000,00 (appearing the cents)

Toufiq Senior Staff

Provide me the Joomla administrator access & FTP access. I will check & get back to you soon. Thanks

Alexandre Asked this

see

Toufiq Senior Staff

FTP access does not working.

Alexandre Asked this
5 years ago · edited

I copied and pasted the same and it worked for me, please test again

Toufiq Senior Staff

Can you give me FTP access instead of SFT?

Alexandre Asked this

Toufiq, I sent you a print. SFTP dude! You seem like you don't like to serve your customers, you find everything difficult! If you asked me if it's FTP or SFTP, why didn't you try it? Why didn't you check the configuration on print?

Toufiq Senior Staff

Please check and let me know. Thanks

Log in to reply.