Image Image Image Image Image Image Image Image Image Image

Oakstree | April 27, 2017

Scroll to top

Top

No Comments

HOW TO CREATE A NEW CURRENCY AND CHANGE THE DEFAULT CURRENCY IN OPENCART

Aman Khandelwal

I decided to put up a post on changing the default currency in OpenCart as I found I was being asked a lot about it from some people a bit newer to the software. The system automatically sets it as USD($) which is not much use for those of us in the United Kingdom who need pounds or anywhere else in the world!It’s not a hard thing to do, just need to know where the options are. To start with I will just show you how to change the default currency, then I will show you how to create a new currency and then set that as the default.

HOW TO CHANGE THE DEFAULT OPENCART CURRENCY

Login into your OpenCart admin area and click on the System tab then on the Settings link on the drop down menu.

default_currency

Then find the default store which you use from the list and click on the “Edit” link on the right hand side where you will be taken to the store settings page. Click on the “Local” tab on top and there you will see a list of options. About halfway down there is an option to choose the default currency for the store, simply choose the one that you need.

default_currency2

Click “Save” and you are away! You’ve just set a new default currency for your OpenCart store! Now, I will show you how to create a new currency for the store!

CREATING A NEW CURRENCY IN OPENCART

If your shop is based in, or targets, a country which uses a currency that isn’t pre-installed on the system then your gunna be putting people off by making them use a currency they are not familiar with! So, again this is a painless procedure!

Once again, go back to your OpenCart admin area and hover over the “System” tab along the top but this time click on the “Localisation” option which drops down and finally click the “Currencies” option which appears below that.

Then you will see a list of currencies which are already available on the system, simply click the “Insert” option at the top right of the screen.

Now, we see a list of options which we will need to set the details of the new currency! Just follow the steps below:

CURRENCY TITLE

This is pretty self-explanatory, just choose the name of the currency you want to add. In this case, I will add “Canadian Dollars” as a title.

CODE

This is the ISO code of the currency which you are adding. If you’re not sure what yours is just do a quick Google search!

The you quickly find your ISO code which in this case is CAD. Just enter that code into your currency option box.

SYMBOL LEFT & RIGHT

This is the symbol which you want to appear in the OpenCart store to the left of the price. You can choose any symbol really but if you have a strange symbol for the currency then you will need to find the ASCII code for the character and enter that value into the box. You can find all the ASCII characters here.

Since I am using Canadian Dollars I will just out the dollar symbol (“%“) to be shown to the left. If your currency uses symbols for smaller values (such as pence, cents etc) then you can also choose a symbol to be shown towards the right.

DECIMAL PLACES

This one is also pretty standard, just choose the number of decimal places you want your new currency to show in OpenCart. Mostly it is set as 2 for $5.99, if your currency needs more than that then set more decimal figures to display.

VALUE

Now, this is a tricky one for setting the exchange rate for the currency you are adding to your store. If you are planning on using this currency as your default one, then set the value to 1.00000. This then tells the store to work all other currencies around this one as the center. If not, then you will need to find out the value of the currency against your default one. Do a quick Google search to see what the exchange rate is:

For me, the exchange rate for British Pounds against Canadian Dollars is 1.59146614 so I just put that value in and select the “Enabled” drop down option just below the value box.

And there we go! You have just created a new currency and learned how to set a new default currency in OpenCart! As always, if you have any comments or want to ask me anything just leave me a comment below or contact us.

 

Submit a Comment