O'Reilly logo

OpenCart Theme and Module Development by Rupak Nepali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing the style of currency

The currency, language, search, and a mini-shopping cart in the header are invoked as modules in the header. We are going to change the style used to show the currency. The default style of the currency is shown in a dropdown, and we are changing it to show up in a row, like this:

Changing the style of currency

Go to catalog/view/theme/packttheme/template/common and open currency.tpl. Always remember to create a copy in the new theme folder to make the changes; never make the changes in the default folder. We should not make changes in the default folder because while updating the version of the OpenCart, it will be overridden by the default files, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required