Category / MVC

Advanced layout updates for categories and products in Magento

Featured Image

Recently I had a task to modify sorting in only one category of Magento shop. What I had to do is “only” to change which attribute will be used for …

13

Layout of your custom controller in Magento?

Featured Image

When you work with custom (your own) controllers in Magento, either frontend or backend, you will probably also use existing blocks and models or if needed write your own classes. …

5

Dispatching before and after events to Magento core actions

Featured Image

As we all probably know, there are some events in Magento that are dispatched by default. We can easily hook on those events, but this is not a subject of …

17

Misuse of helper classes in Magento?

Featured Image

In its MVC structure, Magento allows you to throw in additional classes that might not fit in strictly under the MVC “letters”. One example of these classes are helper classes. …

6

How to extend Magento core controller?

Featured Image

Hi, today I’ll show you how to edit Magento’s core module without messing with core files themselves, or “the right way of doing things”.

36

Magento custom model with custom validation rules

Featured Image

Creating your own Magento module usually goes along with creating your own models within the module. Either you write one or multiple models per module, its a good idea to …

4

Getting started with Magento ORM, setting up the model

Featured Image

Given the sheer size of Magento system, its quite easy to loose valuable time when trying to achieve even the basic things like “Creating simplest ORM model class”. Substantial amount …

9

How to override Magento model classes?

Featured Image

Many times we need to implement new functionality of existing Magento core classes, but we don’t want to modify core classes. For controllers, that’s quite easy. Usually we can copy …

21

Magento upgrade and broken templates

Magento upgrade and broken templates

Few days ago I had a task of upgrading Magento ver. 1.0.19870.1 to Magento ver. 1.1.1. When you are doing something like that on your own development machine, you probably …

0