Undo changes in Features option and Update Groups option

This commit is contained in:
Abhishek Kumar
2023-12-18 19:48:40 +05:30
parent 92235f59bc
commit abe3b69056
4 changed files with 27 additions and 4 deletions

View File

@@ -400,10 +400,8 @@ class AdminPPreferencesControllerCore extends AdminController
'hint' => $this->l('Enable to display Amenities filter.'),
'validation' => 'isBool',
'cast' => 'intval',
'disabled' => (bool) !Feature::isFeatureActive(),
'required' => false,
'type' => 'bool',
'desc' => (bool) !Feature::isFeatureActive() ? sprintf($this->l('The feature Features/Amenities has been disabled. You can enable it from %s page.'), '<a href="'.$this->context->link->getAdminLink('AdminPerformance').'#fieldset_2_2" target="_blank">'.$this->l('Advanced Parameters > Performance').'</a>') : '',
),
'SHOW_PRICE_FILTER' => array(
'title' => $this->l('Show Price filter'),