Magento "visible" config key not recognized in EAV custom attribute -
i using getdefaultentities() function run installer script. works, of attribute config keys reflect in attributes section of admin. "visible," "visible_on_front" , of other properties not work @ all. custom attribute set not visible, not visible on front end. can spot doing wrong?
class ia_advancedshipping_model_resource_eav_mysql4_setup extends mage_eav_model_entity_setup { /** * @return array */ public function getdefaultentities() { return array( 'catalog_product' => array( 'entity_model' => 'catalog/product', 'attribute_model' => 'catalog/resource_eav_attribute', 'table' => 'catalog/product', 'additional_attribute_table' => 'catalog/eav_attribute', 'entity_attribute_collection' => 'catalog/product_attribute_collection', 'attributes' => array( 'iaadvancedshipping_profile' => array( 'group' => 'advanced shipping', 'label' => 'shipping profiles', 'type' => 'varchar', 'input' => 'select', 'source' => 'iaadvancedshipping/product_attribute_source_profiles', 'default' => '0', 'class' => '', 'backend' => '', 'frontend' => '', 'global' => mage_catalog_model_resource_eav_attribute::scope_store, 'visible' => true, 'required' => false, 'user_defined' => false, 'searchable' => false, 'filterable' => false, 'comparable' => false, 'visible_on_front' => true, 'visible_in_advanced_search' => false, 'unique' => false ), ) ) ); } }
Comments
Post a Comment