removed unused options.

This commit is contained in:
shreesh arora
2021-01-12 11:34:08 +05:30
parent 562e5b539f
commit c30df0c3b2

View File

@@ -185,20 +185,20 @@ class AdminPreferencesControllerCore extends AdminController
'type' => 'text',
'class' => 'fixed-width-xxl'
),
'PS_DISPLAY_SUPPLIERS' => array(
'title' => $this->l('Display suppliers and manufacturers'),
'desc' => $this->l('Enable suppliers and manufacturers pages on your front office even when their respective modules are disabled.'),
'validation' => 'isBool',
'cast' => 'intval',
'type' => 'bool'
),
'PS_DISPLAY_BEST_SELLERS' => array(
'title' => $this->l('Display best sellers'),
'desc' => $this->l('Enable best sellers page on your front office even when its respective module is disabled.'),
'validation' => 'isBool',
'cast' => 'intval',
'type' => 'bool'
),
// 'PS_DISPLAY_SUPPLIERS' => array(
// 'title' => $this->l('Display suppliers and manufacturers'),
// 'desc' => $this->l('Enable suppliers and manufacturers pages on your front office even when their respective modules are disabled.'),
// 'validation' => 'isBool',
// 'cast' => 'intval',
// 'type' => 'bool'
// ),
// 'PS_DISPLAY_BEST_SELLERS' => array(
// 'title' => $this->l('Display best sellers'),
// 'desc' => $this->l('Enable best sellers page on your front office even when its respective module is disabled.'),
// 'validation' => 'isBool',
// 'cast' => 'intval',
// 'type' => 'bool'
// ),
'PS_MULTISHOP_FEATURE_ACTIVE' => array(
'title' => $this->l('Enable Multistore'),
'desc' => $this->l('The multistore feature allows you to manage several e-shops with one Back Office. If this feature is enabled, a "Multistore" page will be available in the "Advanced Parameters" menu.'),
@@ -207,14 +207,14 @@ class AdminPreferencesControllerCore extends AdminController
'type' => 'bool',
'visibility' => Shop::CONTEXT_ALL
),
'PS_SHOP_ACTIVITY' => array(
'title' => $this->l('Main Shop Activity'),
'validation' => 'isInt',
'cast' => 'intval',
'type' => 'select',
'list' => $activities2,
'identifier' => 'value'
),
// 'PS_SHOP_ACTIVITY' => array(
// 'title' => $this->l('Main Shop Activity'),
// 'validation' => 'isInt',
// 'cast' => 'intval',
// 'type' => 'select',
// 'list' => $activities2,
// 'identifier' => 'value'
// ),
));
// No HTTPS activation if you haven't already.