Requirement for all UI components
- The JavaScript bundle
ws-search-component-<version-number>.jsmust be integrated, e.g. via the WEBSALE JavaScript library. - Refer to the JavaScript bundles documentation for the version number currently in use.
Overview of the UI components
- ws-communication — The component was renamed from
ws-communicationtows-search. - ws-search — The
ws-searchcomponent establishes the connection between the frontend (search input field, filter) and the search backend. It is required to run search queries and retrieve the data for filters and search results. - ws-filter — The
ws-filterWebComponent enables filtering of the search results or categories based on various product properties. It supports different filter types such as checkboxes, value ranges (range), and sliders. - ws-filters —
ws-filtersis the central control component for the filter presentation in the storefront. All ws-filter instances that are available for the search result or category are integrated in this component. - ws-filter-chip — The
ws-filter-chipcomponent displays the currently applied filters in the frontend. It is updated automatically as soon as filters are added or removed. Clicking one of the displayed filters removes it again. - ws-filter-reset — The
ws-filter-resetcomponent lets users remove all active filters with a single click on a “Reset filter” button. All applied filters are then removed both from the display and from the filter criteria of the search. - ws-page-size-selector — The
ws-page-size-selectorcomponent lets you choose the number of hits displayed per page. It can be used on the search result page as well as on category pages. By default the presentation is a dropdown list. - ws-paging — The component was renamed from
ws-pagingtows-pagination. - ws-pagination — The
ws-paginationcomponent provides a paging feature that lets users navigate between different pages of the search results or category. - ws-paging-size-selector — The component was renamed from
ws-paging-size-selectortows-page-size-selector. - ws-search-box — The
ws-search-boxcomponent provides the search input field in the frontend. It allows you to integrate a search field with an optional suggest feature. The component can be extended with additional HTML elements such as an input field and a search button. - ws-search-button — The
ws-search-buttoncomponent provides an optional button through which the user can manually submit the search entry. It is used together with thews-search-boxcomponent. - ws-search-info — The
ws-search-infocomponent displays information about the search result (number of hits, search term, displayed range) via freely definable templates and updates automatically. - ws-search-result — The
ws-search-resultcomponent displays the results of a search or filtering in the storefront. A separate instance is used per source index (product,category,content). - ws-search-result-tabs — The
ws-search-result-tabscomponent creates a tab navigation for search results from various sources. The tabs are generated automatically from the embeddedws-search-resultinstances. - ws-sortbox — The component was renamed from
ws-sortboxtows-sort-box. - ws-sort-box — The
ws-sort-boxWebComponent lets users interactively adjust the sorting of the search results or categories. The available sort options (e.g. relevance, price, rating) are based on the fields and options configured in the search module. - ws-suggest — The
ws-suggestcomponent shows search suggestions inside the search box. Viaws-suggest-resultchild elements, several suggestion types (search terms, products, categories, content) can be displayed as groups. - ws-suggest-result — The
ws-suggest-resultcomponent configures withinws-suggestthe presentation of a single suggestion type (search terms, products, categories, content, or “Show all results”). - ws-searchbox — The component was renamed from
ws-searchboxtows-search-box.
