protected function _beforeDelete() { if ($this->_getResource()->isUsedBySuperProducts($this)) { AO::throwException(AO::helper('eav')->__('Attribute used in configurable products.')); } return parent::_beforeDelete(); }
protected function _beforeDelete() { if ($this->_getResource()->isUsedBySuperProducts($this)) { AO::throwException(AO::helper('eav')->__('Attribute used in configurable products.')); } return parent::_beforeDelete(); }