Codegento Who Let Mage Out Of The Cage?

15Mar/119

Joining An EAV Table (With Attributes) To A Flat Table

Posted by Ben Robie

If you have created a “custom” flat table that has a foreign key to an existing Magento EAV table, you might come across the need to join the two together. If you main table is the flat table, you will find it difficult to join the two using existing Magento code. Below is a snippet [...]

Read More...
6Mar/113

The “Model” Family

Posted by Ben Robie

With any framework that follows MVC, you should find a place where models are defined, along with some form of the “resource model”. In Magento, you will find three members of the “model” family. The Model, the Resource Model, and the Collection Model. All three members of the family work together to get us the [...]

Read More...