What is a Module?
I'm learning about Magento 2 and am curious about the term "module" and how it relates to Magento. What exactly is a module, both in general terms and specifically?
If I understand correctly, a module can be a:
- Child theme
- Other modification
Am I right? Also, am I missing anything? What else can a module be?
In Magento2 module is one of the components which provides a certain feature / functionality. For an example, module-checkout provides checkout functionality in the store front. Similarly each module has it's own features and and they can also be dependent on other modules. I insist you to go through Magento 2 official docs for proper knowledge
Magento Modules Overview
Modules and Areas
Module dependency types
<Namespace>_<module>_Model_<module>::_construct() not allowing method calls
I'm having a curious problem in model's _construct function. When the model is instantiated I would like to call a method to pull and save an access key from a database into a class property so it is immediately available, so I'm calling the method from within the _construct(): The Method If I call getActiveKey() from a controller, all's fine and i...
How to use magento ImportExport module in your custom module
For my module I need to insert data that has nothing to do with magento products or categories. It is just a list of stores, addresses and coordinates, so I guess it could be a separate table inside the db. I'm stuck and don't know how to start as there is little information about this. I found this useful presentation http://netzarbeiter.com/media...
Call one module model from other module model
I have a design like below I have two independent modules and one common module. That means independent module will pull information from common module. I defined below in common module config. Then I tried to call a method in common module model from module_1 controller like below, But is throws error like model undefined. Then I included the comm...