I haven't been able to find a way to change the display of a price from 1.23 USD to $1.23. How do I change the currency display from USD to $?
1 Answer
You could try
hook_commerce_currency_info_alter
For example,
function EXAMPLE_commerce_currency_info_alter(&$currencies, $langcode) {
$currencies['USD']['symbol'] = '$';
$currencies['USD']['symbol_placement'] = 'before';
$currencies['USD']['code_placement'] = '';
}
See commerce_commerce_currency_info for the default currency info implementation.