I’ve created a new attribute set from “Default” attribute set.But the media_gallery attribute is missing in the new attribute set.So the image uploader is not showing in product edit section.How do I add that system attribute to the set?
I’ve created a new attribute set from Default attribute set.But the media_gallery attribute is
Share
This is at least strange. I would suggest trying to re-create an attribute set based on “Default” to check if the problem will happen again.
In any ways, if you want to add a
media_galleryattribute to your existing attribute set you have to add a record toeav_entity_attributetable, where relation of EAV entity to attribute set and group is stored:The
ID_OF_YOUR_MEDIA_GALLERY_ATTRIBUTEcan be found ineav_attributetable using the following query:The
YOUR_ATTRIBUTE_SET_IDcan be found ineav_attribute_settable using the following query:And the
YOUR_ATTRIBUTE_GROUP_IDcan be found ineav_attribute_grouptable using the following query: