Codegento Who Let Mage Out Of The Cage?


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 [...]