protected function _prepareEditableAttributeCommonConfig($type, $code, $attribute, $config) { if ($attribute->getFrontendInput() == 'weight') { $config['in_grid'] = true; } return array_merge(parent::_prepareEditableAttributeCommonConfig($type, $code, $attribute, $config), array('edit_block_type' => 'product', 'layout_handles' => array('custom_grid_editor_handle_editor', 'custom_grid_editor_handle_product'))); }
protected function _prepareEditableAttributeCommonConfig($type, $code, $attribute, $config) { return array_merge(parent::_prepareEditableAttributeCommonConfig($type, $code, $attribute, $config), array('edit_block_type' => 'product', 'layout_handles' => array('custom_grid_editor_handle_editor', 'custom_grid_editor_handle_product'))); }