diff -rNu commerce_price_table-1.1/commerce_price_table.module commerce_price_table/commerce_price_table.module --- commerce_price_table-1.1/commerce_price_table.module 2012-05-04 09:54:12.000000000 +0200 +++ commerce_price_table/commerce_price_table.module 2013-01-24 17:52:00.772741366 +0100 @@ -515,13 +515,15 @@ * Implements hook_form_FORM_ID_alter(). */ function commerce_price_table_form_commerce_product_ui_product_form_alter(&$form, &$form_state, $form_id) { - $access = TRUE; foreach (commerce_price_table_get_field_instance_settings($form['#entity_type'], $form['#bundle']) as $setting) { if (isset($setting['settings']['commerce_price_table']['hide_default_price']) && $setting['settings']['commerce_price_table']['hide_default_price'] == TRUE) { - $access = FALSE; + $form['commerce_price']['#access'] = false; + if (!isset($form['commerce_price'][LANGUAGE_NONE][0]['amount']['#default_value'])) { + $form['commerce_price'][LANGUAGE_NONE][0]['amount']['#default_value'] = '0.00'; + } + break; } } - $form['commerce_price']['#access'] = $access; } /** Binärdateien commerce_price_table-1.1/.commerce_price_table.module.swp and commerce_price_table/.commerce_price_table.module.swp sind verschieden.