I am working on a Magento project and to complete an import to ebay process I may need to do a bulk update on EAN numbers.
I am reviewing the database and the tables – and I haven’t found or see any indication as to where this “EAN” field is stored.
I can see it present on individual products under “general” in the edit panel on the magento site
3
Answers
As it is present under “General” tab when viewing individual products, it means that EAN is a product attribute.
Values are stored in
catalog_product_entity_*
tables, based on the backend type of the EAN product attribute. In case you don’t know the type, you will need to check the contents ofeav_attribute
table for the EAN record.A good article that explains Magento’s database structure can be found here: https://fishpig.co.uk/magento/tutorials/eav-database-structure/
Read about EAV.
get eans with product ids
write ean to magento
where $attributeId is the id of “ean” attribute from table eav_attribute
I dont think Magento comes with EAN code out of the box. You have to create an attribute for that.