/** * Return all fields of the backend. * * @return FieldList Fields of the CMS */ public function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeByName('useContentFromParent'); $fields->removeByName('DoNotShowProducts'); $fields->removeByName('productGroupsPerPage'); $fields->removeByName('DefaultGroupHolderView'); $fields->removeByName('UseOnlyDefaultGroupHolderView'); return $fields; }