I want to get the collection of all product attributes of an attribute group in the Default attribute set in Magento 2.
Is there any filter available like group_id
or group name or something else ?
attributesmagento2module
I want to get the collection of all product attributes of an attribute group in the Default attribute set in Magento 2.
Is there any filter available like group_id
or group name or something else ?
Best Answer
you can add this to your class:
Now you added the dependencies. You need a method to retrieve the attributes based on the attribute group id.