Пример #1
0
 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;
 }
Пример #2
0
 protected function _checkAttributeEditability($type, $attribute)
 {
     if (parent::_checkAttributeEditability($type, $attribute)) {
         return $attribute->getFrontend()->getInputType() != 'media_image';
     }
     return false;
 }