Add default value for price
This commit is contained in:
parent
c0748c4387
commit
ba01e0c9f6
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user