Created
October 25, 2013 12:03
-
-
Save rubedell/7153600 to your computer and use it in GitHub Desktop.
Move the euro symbol before the price
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_commerce_currency_info_alter(). | |
* Euro symbol beefore price | |
*/ | |
function the_aim_custom_commerce_currency_info_alter(&$currencies, $langcode) { | |
$currencies['EUR']['symbol'] = '€ '; | |
$currencies['EUR']['symbol_placement'] = 'before'; | |
$currencies['EUR']['code_placement'] = ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment