We are experiencing problems with the PDF invoices on many of our danish clients. The problem is that the danish currency is named “kr.” and then the invoice seems to add an empty box just after the currency like in the picture below:
The only solution at the moment is changing the danish currency from “kr.” to “DKK” with the PHP code below, but that is not a solid solution.
/**
* Change a currency symbol
*/
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'DKK': $currency_symbol="DKK"; break;
}
return $currency_symbol;
}
Can you fix this issue in a new update of your plugin?