when customer login to site, it should display "welcome customer" at top of the site.
assume customer will login to site. after customer login, in top of the site there
should be a some message to welcome customer.
how to display welcome " customer_name" at the top of the site.
please help me to find solution.
thanks in advance.
Best Answer
I think that is what you are looking for:
https://stackoverflow.com/questions/416553/current-user-in-magento
So it looks like Mage::getSingleton('customer/session')->getCustomer() will get your current logged in customer ;)