Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Retrieve all customer groups
 
sysk
Member
 
Total Posts:  56
Joined:  2008-04-14
 

I need an associative array with all customer groups AND/OR a collection class of all customer groups.

What is the recommended way to do this ? I guess querying the DB directly isn’t a recommended option… and if it is, is there an abstraction layer for querying the DB ?

Thx for the help !

 
Magento Community Magento Community
Magento Community
Magento Community
 
sysk
Member
 
Total Posts:  56
Joined:  2008-04-14
 

Finally got it working… I wrote a wiki here: http://www.magentocommerce.com/wiki/sort_order_by_customer_groups

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top