Add default value for price

This commit is contained in:
Michael RICOIS 2017-06-15 13:00:11 +02:00
parent c0748c4387
commit ba01e0c9f6

View File

@ -347,7 +347,6 @@ class AdminAntadisConfiguratorController extends ModuleAdminController
'label' => $this->l('Price'),
'hint' => $this->l('Prix génerique de l\'option'),
'name' => 'price',
'value' => 0,
'required' => true
),
),
@ -357,6 +356,7 @@ class AdminAntadisConfiguratorController extends ModuleAdminController
);
$this->fields_value['id_configurator_opt_group'] = (int)Tools::getValue('id_configurator_opt_group');
$this->fields_value['price'] = 0;
// Override var of Controller
$this->table = 'configurator_opt';