118 lines
3.3 KiB
PHP
118 lines
3.3 KiB
PHP
<?php
|
|
return array(
|
|
array(
|
|
'type' => 'switch',
|
|
'name' => 'maintenance_mode',
|
|
'label' => 'Enable maintenance mode during import',
|
|
'is_bool' => true,
|
|
'values' => array(
|
|
array(
|
|
'id' => 'active_on',
|
|
'value' => 1,
|
|
'label' => 'Enabled'
|
|
),
|
|
array(
|
|
'id' => 'active_off',
|
|
'value' => 0,
|
|
'label' => 'Disabled'
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'type' => 'switch',
|
|
'name' => 'ajax_import_onebyone',
|
|
'label' => 'Import one object for each query during import ajax',
|
|
'is_bool' => true,
|
|
'values' => array(
|
|
array(
|
|
'id' => 'active_on',
|
|
'value' => 1,
|
|
'label' => 'Enabled'
|
|
),
|
|
array(
|
|
'id' => 'active_off',
|
|
'value' => 0,
|
|
'label' => 'Disabled'
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'type' => 'switch',
|
|
'name' => 'mod_combination_nett_price',
|
|
'label' => 'Mod: The impact of price combination will be the total price of the product',
|
|
'is_bool' => true,
|
|
'values' => array(
|
|
array(
|
|
'id' => 'active_on',
|
|
'value' => 1,
|
|
'label' => 'Enabled'
|
|
),
|
|
array(
|
|
'id' => 'active_off',
|
|
'value' => 0,
|
|
'label' => 'Disabled'
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'type' => 'switch',
|
|
'name' => 'mod_combination_description',
|
|
'label' => 'Mod: Combination has description field',
|
|
'is_bool' => true,
|
|
'values' => array(
|
|
array(
|
|
'id' => 'active_on',
|
|
'value' => 1,
|
|
'label' => 'Enabled'
|
|
),
|
|
array(
|
|
'id' => 'active_off',
|
|
'value' => 0,
|
|
'label' => 'Disabled'
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'type' => 'switch',
|
|
'name' => 'mod_combination_dimensions',
|
|
'label' => 'Mod: Combination has dimensions ',
|
|
'is_bool' => true,
|
|
'values' => array(
|
|
array(
|
|
'id' => 'active_on',
|
|
'value' => 1,
|
|
'label' => 'Enabled'
|
|
),
|
|
array(
|
|
'id' => 'active_off',
|
|
'value' => 0,
|
|
'label' => 'Disabled'
|
|
)
|
|
),
|
|
'desc' => '(width, height, depth)',
|
|
),
|
|
array(
|
|
'type' => 'text',
|
|
'name' => 'log_file_expiration',
|
|
'label' => 'After how many days delete the import log?',
|
|
'desc' => 'default: 30',
|
|
),
|
|
array(
|
|
'type' => 'text',
|
|
'name' => 'php_command',
|
|
'label' => 'PHP command',
|
|
'desc' => 'Used to SSH import',
|
|
),
|
|
array(
|
|
'type' => 'text',
|
|
'name' => 'cpu_limit',
|
|
'label' => 'CPU usage limit [%]',
|
|
'desc' => 'Used to SSH import<br><b><a href="http://cpulimit.sourceforge.net/">CPULIMIT</a> is required.</b><br>0 means no limit<br>default: 0',
|
|
),
|
|
array(
|
|
'type' => 'text',
|
|
'name' => 'import_delay',
|
|
'label' => 'Delay in importing the next object',
|
|
'desc' => 'Specify the delay time in seconds between each imported object',
|
|
),
|
|
);
|