*/ class AppZab_GuestToReg_Block_Adminhtml_Renderer_Paypalemailvalue extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract { public function render(Varien_Object $row) { #$orderId = $row->getData($this->getColumn()->getIndex()); $orderId = $row->getData('entity_id'); $resource = Mage::getSingleton('core/resource'); $prefix = Mage::getConfig()->getNode('global/resources/db/table_prefix'); $read = $resource->getConnection('core_read'); #echo "TEST: " . $orderId; $select_qry3 = $read->query("SELECT * FROM `".$prefix."sales_flat_order_payment` WHERE parent_id = '".$orderId ."'"); $order_payment_row = $select_qry3->fetch(); #print_r($row->getData()); #echo "TEST: " . $order_payment_row['additional_information']; $order_payment_unserializevalues = unserialize($order_payment_row['additional_information']); #print_r($order_payment_unserializevalues); $data = $order_payment_unserializevalues['paypal_payer_email']; return $data; } }