LMS: How To Create Decimal Separator For Price? - Question | JoomShaper

LMS: How To Create Decimal Separator For Price?

thanhhx57

thanhhx57

Extension 5 months ago

Hi,

Thank you for releasing beautiful templates. I have a beautiful website from Edulif template.

However, I am experiencing a poor display when displaying prices in Vietnam Dong. I don't know how to display the decimal separator for the price. Can you add this feature to the LMS component? Decimal separation can be shown with a period (.) or comma (,) or sometimes the opposite.

Current display: https://prnt.sc/Ua2MpLhgPAyt

Thanks.

0
5 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 5 months ago #136750

Hello thanhhx57

Please go to this locations:

  • components/com_splms/helpers/helper.php
  • administrator/components/com_splms/helpers/splms.php

and replace the files with the attached files. You need to unzip the file and then replace.

This will replace the decimal point from dot(.) to comma(,). You can also use other marks. Just replace the comma in 3 places in both files to your desired symbol.

https://prnt.sc/lvYGkPm0rNxO

Best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 months ago #141688

Sorry, there is no thousand separator option in SP LMS. You can customize the code for it. We do not provide customization support.

0
thanhhx57
thanhhx57
Accepted Answer
5 months ago #136816

Sorry Ofi Khan, I mischaracterized the problem I wanted. I want a dot separating the thousandths and units in the selling price. It looks like I demo in the html below: https://prnt.sc/Z-QSs3Vb5t0f

In Vietnam, do not display prices like: 1.000.000,12 or 500,000.57đ. The decimal part smaller than 1 dong has a very small value so people do not use it.

Thanks.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 5 months ago #136877

I do not find any thousand separator on Edulif template. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.

0
thanhhx57
thanhhx57
Accepted Answer
5 months ago #136885

I have sent the Admin page account information in the attached content. Please help me check.

0