This module allows your store to manage inventory in one currency, and sell in another. For example your default currency is Euros, but you want to sell your products to the USA, in Dollars. So add US Dollars as a currency to your shop, then install this module and configure US Dollars as the forced currency. Even if you have the Currency Block module installed, your customers will not be able to select another currency. Your currency in the Back Office will remain the default currency, Euros, in this example.
Limitations:
Obviously you can only use one default shop currency and one forced currency. If you have other currencies installed they will not be able to be used.
On the first page load, you may notice a page refresh. This is the only way I could manage to refresh the currency cookie and reload the currencies. If anyone has a better solution please feel free to update this code. Likewise, you will see a refresh after configuring the module. If there is a better solution – please contribute.
Installation:
After installing the module, for best performance, you must use the Module “Positions” sub-tab and move this module to the very first position in the “Top of pages” block.
About:
I built this module for my own business use, and am freely sharing it. This module however is totally unsupported! Do not expect me to make fixes, or answer any questions by email or in the Prestashop forum. I just don’t have time. If I make any updates to this code, I will post them, but that’s it. Sorry.
One additional note: You also need to go to the Payments tab and under “Payment module restrictions” select the same currency you forced with the module for each payment method. Otherwise your customers will instead see your default currency when they pay (at PayPal or wherever).
i dont think the problem is solved. the module just changes the frontend currency, how about backend? i did install your module, but the admin control panel is still euro, how can i use pounds in the admin panel? thanks
'PS_CURRENCY_FRONT_DEFAULT' => array('title' => $this->l('Default currency front:'), 'desc' => $this->l('The default currency used in front shop'), 'cast' => 'intval', 'type' => 'select', 'identifier' => 'id_currency', 'list' => Currency::getCurrencies()),
that’s it! now go to admin->payment->currencies and set up your default shop currency. Customer CAN change the currency if needed.
when I use this forcecurrency module all store order email effected. For example after the shopping prestashop sending order mail correct amount to customer, but another order email which is store owner getting has a wrong amount… would you tell me how can i fix this..
Images jointes
Cliquez sur la miniature pour voir l'image complète