How to create Magento 2 extension

  1. Step 1: Create a module folder for Magento 2 modules
  2. Step 2: Declare the module by module.xml
  3. Step 3: Register the module by registration.php
  4. Step 4: Install Setup, Enable the module
  5. Step 5: Create a route for the module
  6. Step 6: Create controller and action


Leave a Reply

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

Back to top