protected function _checkAttributeEditability($type, $attribute) { if (parent::_checkAttributeEditability($type, $attribute)) { return $attribute->getFrontend()->getInputType() != 'media_image' && $attribute->getBackendModel() != 'catalog/product_attribute_backend_boolean'; } return false; }
protected function _checkAttributeEditability($type, $attribute) { if (parent::_checkAttributeEditability($type, $attribute)) { return $attribute->getFrontend()->getInputType() != 'media_image'; } return false; }