Hello,
I know there are already many posts regarding currency issues, this is not so much an issue but wondering if possible.
I would like the admin currency to be in $, but the default fronthead for customers to be in £. If it helps all i really want is to add products in $ and the site to convert them to £. Im not to fussed if the whole admin backend is in $ or it just understands the products are being added in $ and need to be £.
(opencart 1.5.1)
Hope that is clear enough,
Thanks in advanced,
Alex.
OK here goes, a bit of a hack but it works.
In your admin, system -> localisation -> currencies
You have your default currency set as USD and also set it to Disabled
You have an additional currency set as GBP leave it set as enabled
This takes care of the currency switcher
Now to make the prices on the front end GBP by default.
open: system/library/currency.php
Find:
Replace With:
I left the old line in there (commented out) just in case you want to switch back to normal use later
In your admin, system -> localisation -> currencies
You have your default currency set as USD and also set it to Disabled
You have an additional currency set as GBP leave it set as enabled
This takes care of the currency switcher
Now to make the prices on the front end GBP by default.
open: system/library/currency.php
Find:
Code: Select all
$this->set($this->config->get('config_currency'));
Code: Select all
//$this->set($this->config->get('config_currency'));
$this->set('GBP');
Invoices through the backend are being set to same as frontend (£) which is pefect. (I guess it uses the currency the customer is paying with) Tested using paypal (sandbox) and cash on delivery. The reports are of course being generated with $ which I expected, would be good if they could also be in £, but its not a big issue to me.
Who is online
Users browsing this forum: No registered users and 15 guests