Skip to content

Instantly share code, notes, and snippets.

@rubedell
Created October 25, 2013 12:03
Show Gist options
  • Save rubedell/7153600 to your computer and use it in GitHub Desktop.
Save rubedell/7153600 to your computer and use it in GitHub Desktop.
Move the euro symbol before the price
/**
* 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