When we created the hello world module then it will be like as shown below:

Hello World Module in Extension’s Module

hello_world_module_opencart_extension_listing

Installing Hello World Module

Click on the green (install) button, then click edit blue button. You will see a form to insert the hello world text.

Hello World Module form

helloworld_form_opencart_module_development

Enter the hello world text and select the status to enabled and click the save button. As Opencart can have unlimited module instance, so we can have multiple instance of the hello world

Set up layout and position for Hello World Module

To setup layout and position, go to Design >> Layout, edit Information layout then add the hello world module to the column left.

hello_world_module_layout_and_position

Show up in Front/Presentation side

As we added to the column left of the information page, let’s go to front page about us page url.
/index.php?route=information/information&information_id=4

hello_world_front_presentaion_opencart

Files and folder creation

  • Making language file in admin/ for Hello World Module
  • Making controller file in admin/ for Hello World Module
  • Making view file in admin/ for Hello World Module
  • Making language file in catalog/ for Hello World Module
  • Making controller file in catalog/ for Hello World Module
  • Making view file in catalog/ for Hello World Module

Thanking you
webocreation.com@gmail.com
twitter:@rupaknpl

youtube : onlinegyannepal

https://webocreation.com

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here