In the e-commerce, it is avoidable that websites are accessed by a large number of people from different countries at the same time. So it is very necessary to develop multi-language for a website. And Magento supports you conduct this function on your web-store.
Hello everyone, today I’m very glad to guide you how to resolve the module conflicts. As you know, the conflict between modules in Magento is one of the most difficult and complex troubles to discover. So you’d surely be interested in this article below.
When we want to change the action of a function core in Magento, we can use two ways including: override core class and event-driven architecture. However, Override core has a weakness that each class can only override once. Regarding the event, we can run it in different modules.
There are some functions of Magento core which are written in Block, Model or Helper. When we use these functions due to our purposes we see that they are not suitable and as same as we wish. Therefore, we can utilize Override class feature of Magento to rewrite those functions according to our uses.
As you know Magento is built based on module architecture, which leads to the requirement that there must be an interaction between modules. Hence, in this part we will learn about the way these modules used.
In order to continue Magento Tutorial this week, I will lead you to Magento directory structure. Please follow it carefully!
Magento is built based on the principle of object-oriented programming with MVC architecture. The code system of Magento is saved in the form of dispersions so as to increase extension ability for the system. The directory structure is stored as the followings…