Home » Magento12 December 2016

Magento: Get Customer Groups

This article shows how to get all customer groups name and id in Magento 1.

To get all customer groups, we will be using Mage_Customer_Model_Resource_Group_Collection class.

Here’s the code:

Sample Output:

Hope this helps. Thanks.

php magento mukesh chapagain

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed