Skip to content
Advertisement

Tag: magento

Magento joining 2 tables

I want to join admin table and another profile table in magento how should I do this? I want to join $userModel = Mage::getModel(‘admin/user’); table and Answer Riaz.try the below code — Here suppose vendorprofile.vendor_id = main_table.entity_id is the relation between two tables. if you want to get query of join then echo $collection->getSelect(); Hope it will be help you.

Advertisement