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

The file structure – admin and frontend

When someone uses a module, then it is bound to have an admin section so that the administrator can handle the module functionality and customize the module's settings, such as position, layout, status, and sort order. By all of this, users can show the module wherever they like and enter the customized data that is needed for the module.

Creating a language file for the admin section in OpenCart

Language files are named as MODULENAME.php. For instance, let's say we want to create a language file for the Hello World module. We have to create a helloworld.php file. Language files use the constant=value configuration, where the constant name is used in the code, which never changes. Only the value for that language ...

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