Magento meta keywords field name inconsistent

I don’t know whether Magento did this on purpose. Both of category page and product page have a meta keywords attribute. Because meta keywords attribute of category or product belongs to EAV system, it has two entries in eav_attribute table, one for catalog_category (entity_type_id = 3) and one for catalog_product (entity_type_id = 4). However, if… Continue reading Magento meta keywords field name inconsistent

Magento code snippet

Magento provide a beautiful GUI, which let you setup or change nearly everything. However, occasionally you prefer do it with php code. Here are a collection of codes for various functionalities. I will keep editing this post to add new methods. Read if a product attribute is “Use Default Value” in a Store View: Assume… Continue reading Magento code snippet