1

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?

2

For get default attribute set ID for the customer:

$attribute_set_id = \Magento\Customer\Api\CustomerMetadataInterface::ATTRIBUTE_SET_ID_CUSTOMER
  • Thanks, could you also please share your opinion about is it normal to have multiple attribute sets for Customer ? – Zeeshan Khuwaja May 11 '18 at 9:36
  • @ZeeshanKhuwaja Currently as per my thinking and based on code magento2 use fix only one attribute set id for customer. – Bhavin iFlair May 11 '18 at 9:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.