Question

How to retrieve default attribute set ID for the customer? And also is it possible in the practical scenario to have multiple attribute sets for EAV entity type Customer? I know in the case of entity type product, you can create multiple attribute sets but is it also normal in the case of the customer as well?

Was it helpful?

Solution

For get default attribute set ID for the customer:

$attribute_set_id = \Magento\Customer\Api\CustomerMetadataInterface::ATTRIBUTE_SET_ID_CUSTOMER
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top