PrestaShop: different currencies for front-end and back-end
So often, it's necessery to set different currencies for front-end and back-end of the CMS PrestaShop. For example, for imports when you buy goods for one currency then sell them for another one (national currency). You can buy an extension for PrestaShop or you can do it yourself, fix just two lines of code.
So, open the file /classes/tools.php and find this (twice):
And replace it to
where N is an id of currency (1, 2, 3 etc.).
That's all. Don't forget to save the file. Tested with PrestaShop 1.6.