Search is one of the key functions allowing users to find necessary products quickly. Search quality influences whether your customers are satisfied with the results found or not. (more…)
How can I include a custom CSS file on a product detail page for a specific product type (e.g. grouped, downloadable, configurable, etc.)?
For adding the custom CSS file (for example, “custom_example.css”) for various product types, it’s necessary to open the layout of directory file in your theme: (more…)
Events are commonly used in applications to handle external actions or input when, for example, a user clicks a mouse. Each action is interpreted as an event. Events are part of the Event-Observer pattern. This design pattern is characterized by objects (subjects) and their list of dependents (observers). Events trigger objects to notify their observers of any state changes, usually by calling one of their methods. It is a very common programming concept that works well to decouple the observed code from the observers. (more…)
We’ve all heard that content is king and that you need to have rich content. In this article, we will show you through your Magento’s content management system and will teach you to create custom pages and blocks of content that can be placed anywhere in your store. (more…)
- app/Mage.php (Mage::app()->run())
- Init and Dispatch controller $this->getFrontController()->dispatch();
- app/code/core/Mage/Core/Controller/Varien/Front.php (more…)