Engine23
blogBannerImage
By Engine23

Magento - get customer id

$customer_id = Mage::getSingleton('customer/session')->getCustomer()->getId();