Title: Currency display
Last modified: August 20, 2016

---

# Currency display

 *  [kociecka](https://wordpress.org/support/users/kociecka/)
 * (@kociecka)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/currency-display/)
 * Love the simplicity of the plugin. Big thanks!
 * Got one issue, though. I use Polish currency – the Polish zloty, which is normally
   abbreviated as either zł or PLN.
    The plugin displays the amount this way: **
   z40.00** (the letter “ł” is missing). But actually I would like it to be displayed
   like this: **40,00 zł** or **40,00 PLN** (the currency after the digits with 
   a space inbetween and a comma instead of a dot). Could you please give me some
   hints on how to achieve it?
 * regards
 * [http://wordpress.org/extend/plugins/simple-cart-buy-now/](http://wordpress.org/extend/plugins/simple-cart-buy-now/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [bluey80](https://wordpress.org/support/users/bluey80/)
 * (@bluey80)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/currency-display/#post-3481793)
 * Take a look at includes/scabn_codes.php That stores an array with current to 
   display mapping:
 *     ```
       $scabn_currency_codes = array(
       317	                                                "AUD" => array (36, "Australian Dollar AUD"),
       318	                                                "CAD" => array (36, "Canadian Dollar CAD"),
       ...
       ```
   
 * I believe displaying the symbol before the number is hardcoded, however.
 *  Plugin Author [bluey80](https://wordpress.org/support/users/bluey80/)
 * (@bluey80)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/currency-display/#post-3481894)
 * I changed code to show zł in 1.9.14, but display is still before number as that
   is what is normal for many currencies ($40 not 40$).
 *  [gloomya](https://wordpress.org/support/users/gloomya/)
 * (@gloomya)
 * [13 years ago](https://wordpress.org/support/topic/currency-display/#post-3481933)
 * find `".$currency." ".number_format($cart->total,2)."` in display.php and replace
   it on `".number_format($cart->total,2)." ".$currency."`
 *  [pcmanija](https://wordpress.org/support/users/pcmanija/)
 * (@pcmanija)
 * [13 years ago](https://wordpress.org/support/topic/currency-display/#post-3481934)
 * > …display is still before number as that is what is normal for many currencies(
   > $40 not 40$).
 * Not entirely true. It depends of the language used, meaning that the same currency
   symbol can be used before or after the number.
 * For example this is the **official rule for Euro**:
 * Position of the ISO code or euro sign in amounts:
 * – In English texts, the ISO code ‘EUR’ is followed by a fixed space and the amount:
   
   example: a sum of EUR 30
 * – The same rule applies in Irish, Latvian and Maltese. In all other official 
   EU languages the order is reversed; the amount is followed by a fixed space and
   the ISO code ‘EUR’ (or the euro sign in graphics):
 * example: une somme de 30 EUR
 * However, the euro sign (when permitted) is followed by the amount without the
   intervening fixed space:
 * example: €2.50
    ————–
 * That said the currency formatting must not be hardcoded.
 * However a good practice would be to integrate an option to set this by user in
   options.
 *  [gloomya](https://wordpress.org/support/users/gloomya/)
 * (@gloomya)
 * [13 years ago](https://wordpress.org/support/topic/currency-display/#post-3481935)
 * For Russian ruble it doesn’t work (

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Currency display’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-cart-buy-now.svg)
 * [Simple Cart & Buy Now](https://wordpress.org/plugins/simple-cart-buy-now/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-cart-buy-now/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-cart-buy-now/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-cart-buy-now/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-cart-buy-now/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-cart-buy-now/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [gloomya](https://wordpress.org/support/users/gloomya/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/currency-display/#post-3481935)
 * Status: not resolved