Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Custom currency format, or more default formats

redIT shared this idea 1 year ago
Completed

The current lists of currency formats lacks the format "12 345,67" used in Sweden.

Would it be possible to add this to the list of default formats, or add the ability to specify a custom currency format.

Using the php function money_format() would also be a viable option of course.

Best Answer
photo

We have introduced a lot more flexibility to price display formatting in WHMCS 7.1. You will now be able to customise the display format of all pricing values within the client area via the templates if you need something other than the default formats offered. Documentation on this can be found in the Version 7.1 Release Notes: https://docs.whmcs.com/classes/7.1/WHMCS/View/Formatter/Price.html

Comments (22)

photo
1

Same here, I cannot find it. It's something that should be there, easy to update.

photo
1

This is a waste of time because these people do not have a clue about rules outside britain, how is it possible thast a company that sells a product all over the world does not understand this? Do they drive on the left as well then when they are in Europe?

Wake up programmers! This function should be standard in the basic program and if there is documentation give us the link to this please.

photo
1

Hi,

A blog post has been published which explains a little more about this new functionality , and specifically how it can be used to manipulate the currency format: https://blog.whmcs.com/132057/customise-price-formatting-with-the-price-formatter

I hope you find that useful!