Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

How to create simple module in Magento2

  1. #1
    Junior Member Magento Nguyen's Avatar
    Join Date
    Jun 2015
    Posts
    958
    Thanks
    0
    Thanked 13 Times in 13 Posts

    Default How to create simple module in Magento2

    Module is an important part of Magento2 which helps developers to customize this platform. Each module has its specific functions, therefore, learning how to create a module is the very first basic knowledge for every Magento developer.
    In this blog, we will introduce the way to work with a Magento module with simple functions.
    Get more details : https://www.magesolution.com/blog/ho...le-in-magento2

    How to create simple module in Magento2

    Step 1: Create your module folder
    Step 2: Declare your new module
    Step 3: Register your new module
    Step 4: Enable your new module
    Step 5: Create a route name for your new module
    Step 6: Create a controller name and action name for your new module
    Step 7: See the result

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Jul 2019
    Location
    Kemp House 152-160 City Road, London
    Posts
    246
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There are following steps to create simple module in magento. The steps are following
    Step 1: Create a module folder for Magento 2 modules.
    Step 2: Declare the module by module.xml.
    Step 3: Register the module by registration.php.
    Step 4: Install Setup, Enable the module.
    Step 5: Create a route for the module.
    Step 6: Create controller and action.

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    To make a module, you have to finish the accompanying elevated level advances:

    Make the module envelope.
    Make the and so forth/module. xml document.
    Make the enrollment. php document.
    Run the receptacle/magento setup:upgrade content to introduce the new module.
    Watch that the module is working.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •