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.

insertCurrency

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!

isoCurrencyCode

Do a quick Google search for the ISO code

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.

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:

convertCurrency1

Find the conversion rate for your new OpenCart currency

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!

Currency dropdown modification in opencart


This is extremely easy to install and requires no coding.
VQMod is required for this to work, if you wish to install it without VQMod please download version 1.0.
If you are unsure please email varavanan@gmail.com for a free installation service.
INSTALLATION:

1. Upload the file name ocp_currency_dropdown.xml to YOUR_OPENCART_ROOT/vqmod/xml/
Check your store and you will see a nice smooth drop-down menu to change currencies 🙂

 

CLICK TO DOWNLOAD THIS MODULE

how to check opencart version


open up your index.php file. It should be defined at the top of all the codes.

opencart

Sometimes it can be important to know what version of OpenCart you are running. This is the case, especially when installing new extensions as not all extensions are compatible with every version of OpenCart. Finding out what version of OpenCart you are running is quite simple.

  1. Visit your OpenCart dashboard in a web browser
  2. Look at the bottom of the footer and you will see the version information

opencart_version_1