New answers tagged

0 votes

What are the only needed files for custom module?

For Magento 2, You will need only these two files for developing a module : module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
user avatar
0 votes

What are the only needed files for custom module?

Magento 2 answer For Magento 2, the only files needed for a Module are: app/code/Vendor/ModuleName/registration.php app/code/Vendor/ModuleName/etc/module.xml These are their contents: app/code/...
user avatar
  • 1,113
0 votes

How to deal with site configuration when building new site

The answer from binici is correct even for Magento 2. Here is an example Magento 2 etc/module.xml file that accomplishes the same goal. This file declares a module called "Foo_Bar" with ...
user avatar
  • 1,113

Top 50 recent answers are included