Home Opencart Extensions Workflow or markup to make hello world module – OpenCart Module Development

Workflow or markup to make hello world module – OpenCart Module Development

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

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 instances 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.

Show up in Front/Presentation side

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

Files and folder creation

  • Making language file in admin/ for Hello World Module
  • Making the 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 the controller file in catalog/ for Hello World Module
  • Making view file in catalog/ for Hello World Module

Now go to full details to create a hello world module in OpenCart

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

 : onlinegyannepal

https://webocreation.com

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Exit mobile version