private function addIsVisibleInStoreFilter($select, $storeId) { $rootCategoryId = $this->getRootCategoryId($storeId); $select->where('e.path LIKE ?', "1/{$rootCategoryId}%"); return $this; }