Plugin Contributor
Ewout
(@pomegranate)
Is the PHP MB String extension activated on your site? You can check this in the Status tab of the PDF Invoice settings.
Yes, Its enable.
Here is the screenshot of invoice https://prnt.sc/n3gw2z
And here is the screenshot of configuration https://prnt.sc/n3gw94
I have to buy the professional version of your plugin but before that, I want to make sure this currency issue will be resolved.
Plugin Contributor
Ewout
(@pomegranate)
That’s quite strange… Especially if the extended currency symbol support is enabled. Are you by any chance using other plugins (multicurrency, etc.) that may influence the currency symbols?
No. I am not using any other multi-currency plugin.
Plugin Contributor
Ewout
(@pomegranate)
Hi! I think I may have spotted the source of the issue: in your screenshot (https://prnt.sc/n3gw2z), it looks like you have separate columns for “Price” and “Total”, but these are not part of the default plugin output. It also looks like you are printing the shipping cost in the product list and the totals are formatted differently as well. This means that quite a lot of customizations have been made to the template, and your price formatting may be using other functions. Can you check this with the original unmodified Simple template?
Good day!
I have the same problem, the currency is not displayed in the pdf file!
https://prnt.sc/ob6wpj
In the HTML version everything is fine.
To change the currency symbol I use:
<?php
function change_rub_symbol() {
return 'руб.';
}
add_filter( 'woocommerce_currency_symbol', 'change_rub_symbol');
?>
-
This reply was modified 6 years, 10 months ago by
evgenko.
-
This reply was modified 6 years, 10 months ago by
evgenko.
Plugin Contributor
Ewout
(@pomegranate)
If you have enabled ‘extended currency symbol support’ in the General tab of the PDF invoice settings, try disabling it. Yours isn’t an exotic currency symbol and should be in the default character set.
Thank you very much!
the problem was exactly that 🙂