Tag Archives: customer-atributes

How to find customers with attributes and user defined attributes in Magento?

In Magento, Customer model has an option addAttributeToFilter which helps to filter customers by attributes. For example, If We would like to get customers collections with group_id(Customer group) 3, we can use as following for user defined attribute is also same. Here customer_number is user-defined attribute: Multiple attributes also can used with “AND” Condition Following […]