Back to Top

Start Magento2 “Hello Word” Module

Updated 27 February 2024

Note:- “Webkul” is your company name and Test is module name

Folder structure


for hello word module

files are following


Searching for an experienced
Magento 2 Company ?
Find out More
<?xml version="1.0"?>
        <Webkul_Test> <!--Module discription-->
                <webkul_test module="Webkul_Test">


class Webkul_Test_Block_Hello extends Mage_Core_Block_Template{




<?xml version="1.0"?>
<layout version="0.1.0">
	<reference name="content">
		<block type="Webkul_Test_Block_Hello" name="wk-block" template="hello.phtml" />
	</reference >


<?php ?>
<h2>hello new magento</h2>

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home