I have found a temporary working solution. I do not recomment it to anyone as direct editing of core woocommerce files is not good.
I had to edit the following file:
wp-content/plugins/woocommerce/includes/wc-core-functions.php
And add code as follows, before:
function get_woocommerce_currency_symbol( $currency = '' ) {
if ( ! $currency ) {
$currency = get_woocommerce_currency();
}
switch ( $currency ) {
case 'AED' :
$currency_symbol = '?.?';
break;
case 'AUD' :
case 'CAD' :
case 'CLP' :
case 'COP' :
case 'HKD' :
case 'MXN' :
case 'NZD' :
case 'SGD' :
case 'USD' :
$currency_symbol = '$';
break;
After:
function get_woocommerce_currency_symbol( $currency = '' ) {
if ( ! $currency ) {
$currency = get_woocommerce_currency();
}
switch ( $currency ) {
case 'AED' :
$currency_symbol = '?.?';
break;
case 'AUD' :
$currency_symbol = 'AUD$';
break;
case 'CAD' :
$currency_symbol = 'CAD$';
break;
case 'CLP' :
case 'COP' :
case 'HKD' :
case 'MXN' :
case 'NZD' :
case 'SGD' :
case 'USD' :
$currency_symbol = 'USD$';
break;
works good on my end, now people from USA see price with USD$, and people from Canada see price with CAD$.
If anyone knows how to convert this solution into some function like code to append to themese function.php, that would be great.