<p>How can you change the currency format in an OpenCart platform?
OpenCart is an engrossing eCommerce platform that is being used on a large scale globally
due to the presence of wide range of features and functionalities. It has emerged as a
promising platform for new and experienced site owners equally with its impeccable
With its multi-currency support feature, brilliant themes, and OpenCart extensions, it has
found its clients all across the world that want to carry out the business in their native
language. However, I have seen numerous site owners who are unable to implement
changes in the currency format on their OpenCart store. Through interaction with those
customers, I found the common problem about “How to change the currency format in
OpenCart as per the Indian currency system?”
Understanding the sensibilities and concerns of all those store owners that are facing this
issue, here is the solution for you. Before we move ahead in this direction, let us have an
insight about the standard currency format in the OpenCart platform.
By default, OpenCart follows a standard currency format which places a comma (,) after
every three digit in a number while displaying the price but this is not the case with the
Indian currency format. For example, store owners who are targeting customers residing in
India want to change the price format from $ 1,000,000 to INR 10,00,000 which represents
the Indian decimal value system.
To carry out this customization, OpenCart store owners need to understand the fact that
there is no back end functionality available in the admin panel to make this change.
However, the required changes can be accomplished by making the required changes in the
core OpenCart files. Below are the steps that can guide OpenCart store owners in the right
For OpenCart platform 2.2.x.x and above
You need to first create the backup of the file /system/library/currency.php in the
OpenCart core files.
You need to search the below line,
$string .= number_format($amount,