Jump to content
Sign in to follow this  

how to change currency format

Recommended Posts

I need change money format, We use € simbol after cost like: 10,95 €/year
Can you tell me how I can change this?
Besides, I would like to know if exist a complet manual of how is used and config HostX because I am a bit lost now.

Share this post

Link to post
Share on other sites
We have default used currency prefix symbol. You can changed it from file. Example if you want change the pricing for cpanel_hosting.php  page
1) Open ftp/cpanel
2) Go to following path -> "whmcsdir/"
3) Open cpanel_hosting.php  file  in your case your file name
4) You will see the following code attached in screenshot.
5) just change toPrefixed()  to  toSuffixed()  in all places.
Note -> you need to add suffix for currency from whmcs admin panel.
You can use following format as well


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...