Hi,
The Moneris payment gateways requires that I display my shop prices in Canadian price format. The WooCommerce team recommend I add the following customization to the Abundance theme function.php file. I did and it works fine. However, could this be built into the Abundance theme as a setting so that I don't have to update this every time the theme us updated?
/* customized currency display on online store */
add_filter( 'woocommerce_currencies', 'add_my_currency' );
function add_my_currency( $currencies ) {
$currencies['ABC'] = __( 'CAD$', 'woocommerce' );
return $currencies;
}
add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
function add_my_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'CAD': $currency_symbol = 'CAD$'; break;
}
return $currency_symbol;
}
Much appreciated,
Lyse














