I need a few simple Magento php lines of code.
I have this:
if(Mage::getSingleton('customer/session')->isLoggedIn()) {
$customerData = Mage::getSingleton('customer/session')->getCustomer();
echo $customerData->getGroup_id();
}
Which prints out: 22,23,24,25,26,27.
Each of those numbers relate to "customer_group_id" which gives some text from "customer_group_code" in the "customer_group" table in Magento.
I need a simple query that will take those numbers and get print out the text from "customer_group_code" for each number in the list that "echo $customerData->getGroup_id();" prints.
I attached a screenshot.
Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself -
Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !!
Looking forward to hear from you soon - GOD Bless You.
Hi,
can I help you ?
I am magento developer and designer,
I am interested to work with you,
I will do this job,
can we discuss ?
waiting for your reply.
bye.
I can print text from the customer_group_code.
I can use this line echo $customerData->getGroup_id() to print the text associated with the customer group
I have more than 5 years of experience in magnto and can do it easily
Thanks