O'Reilly logo

Getting Started with OpenCart 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 Tips module

We are creating the Tips module. When the Tips module is activated at the admin section from Admin | Extensions | Order Totals, it will be listed in the Order Totals listing page, and you will see the Tips module activated at Shopping Cart. After entering the amount and clicking on the Apply Tips button, the extra amount is added to the order total, which adds to the total cost of the order.

The Tips module

Creating the language file at the admin section

To create a language file for the Order Total module, we have to create the file at the total folder in the language folder. Navigate to admin/language/english/total/, and create a tips.php file and ...

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