Inheritance of attributes sets
-
16-10-2019 - |
Question
I created a simple hierarchy of attribute sets, basing each one on its parent attribute set, adding attributes in each level.
Now I discovered that one ancestor attribute set needed another attribute.
I went to the children of this ancestor after adding the attribute, and for my surprise the attribute isn't added to the children.
Is this intentional ? What am I missing ?
Thanks.
Solution
Attribute sets in Magento only use the Based On field for determining what attributes are a part of that set initially.
Unfortunately, once the attribute set creation has finished, there is no inheritance. You can see this fact if you look in the database in eav_attribute_set
, and you will see there is no parent
or based_on
column.
You will need to manually add that attribute to any attribute set that is necessary.