Source of file ProductGroupSearchPageController.php
Size: 0,656 Bytes - Last Modified: 2021-12-23T10:39:35+00:00
/var/www/docs.ssmods.com/process/src/src/Pages/ProductGroupSearchPageController.php
1234567891011121314151617181920212223 | <?php namespace Sunnysideup\Ecommerce\Pages; class ProductGroupSearchPageController extends ProductGroupController { public function getSearchFilterHeader(): string { return _t('Ecommerce.SEARCH_ALL_PRODUCTS', 'Search all products'); } protected function setSearchString() { $params = $this->getUserPreferencesClass()->getCurrentUserPreferencesParams('SEARCHFILTER'); if (! empty($params)) { ProductGroup::set_search_string_for_base_list( $this->ID, $this->getUserPreferencesClass()->getCurrentUserPreferencesParams('SEARCHFILTER') ); } } } |