Ejemplo n.º 1
0
 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')));
 }
Ejemplo n.º 2
0
 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')));
 }