Old documentation. May be out of date.

Please find the new documentation online here.

One of the most commonly asked question by our users is how to deal with currency in which prices are displayed. Apparently it caused a lot of problems and misunderstandings. This is why with a new release (2.0.5) we decided to make some improvements in order to make it less confusing. Here there’s a short tutorial how to change the currency sign and decimal representation displayed on your site. We use PHP function money_format to solve all problems in a very easy way.

How to do it:

You can go to Settings > General > Regional Settings and input your preferred price format exactly the way the currency is represented, as in USD for United States Dollars, EUR for Euro, PLN for Polish Zloty and so on. Once you press update then the currency will show next to each amount.

How to set the currency format

Locale and your classifieds currency

Your locale doesn’t only determine your website currency, but also the way of displaying the price (e.g. using point or comma to separate decimals, displaying currency sign before or after the price), differs from country to country. That’s why it is important what locale you’re using.

For example, if you are using fr_FR your currency will be recognized as “€”, which is a legal medium of exchange in France. Locale is composed by the shortcut of a language and a country – so if you want to have your site in French, but don’t want to use Euro as a currency you need to set your locale eg. as fr_CA – your default currency will be Canadian Dollar with a “$” symbol. The same happens when you want to have your site in Spanish – if you have locale es_ES your currency will be Euro, but if you rename it to es_MX it will be Mexican Peso.

To rename your locale go to the /languages/ folder in your installation files and simply change the name of the language file you use eg: /languages/fr_FR to /languages/fr_CA

If you don’t want to use any sign or use completely different currency than the one you use in your country, use a locale that doesn’t exist, e.g. change /languages/en_US ($) to /languages/en_EN or  /languages/es_ES (€) to /languages/es_XX.
Then, in general settings in the Panel edit field Money Format – if you put there %n only the number will be displayed (e.g. 100 without any sign). If you put $%n price will be displayed in this format: $100, if %n€ system will display 100€ etc.

[jetpack_subscription_form]

We have been featured on