Ejemplo n.º 1
0
 protected function _afterSaveEditedAttributeValue($type, $config, $params, $entity, $value, $result)
 {
     if ($this->_mustUseDefaultValueForSave($config, $params)) {
         // Force product reload if default value was used, to ensure getting the good (default) value for rendering
         $config['config']['render_reload'] = true;
     }
     /*
     @todo from 1.5, but what about giving the choice to the user ? and for which attributes ?
     (not just all, as it is certainly not useful in most of the cases)
     // Mage::getModel('catalogrule/rule')->applyAllRulesToProduct($productId);
     */
     return parent::_afterSaveEditedAttributeValue($type, $config, $params, $entity, $value, $result);
 }