If you have used the
incl_factfinder_search.htm template from the materials area, you will find an area for each topic between comments with “ANFANG” and “ENDE”. For the following examples, replace the code between these two markers in each case.Highlighting individual filter options
A filter can have any number of options. Individual options can be highlighted in the FACT-Finder Management. These appear as the first entries in the shop and can be styled separately. A typical case: the first five manufacturers are shown as links, and the rest disappear into a selection list.Which options are highlighted is decided solely by the FACT-Finder Management. The template only splits up what arrives:
E-Search_FilterField_DetailedLinks contains the highlighted options, E-Search_FilterField_SelectLinks the rest.Filter options as checkboxes
Multiple selection must be set up in the FACT-Finder Management for this.The only difference between the two loops is the
checked and the link: clicking a checked box leads to the link that removes the filter again.A price filter as a slider
Any slider can be built in. The following example uses noUiSlider.Step 1: Download the slider
Download the JavaScript and CSS files of noUiSlider and save them in the corresponding directories of your shop.Steps 2 and 3: Integrate files on the search results page
Step 4: The tags in the result template
The counter ensures unique IDs. If there are several filters with sliders, each would otherwise have the same ID, and only the first one would work.
Step 5: The script for the slider
It belongs inside the bracket from step 4 at the position marked there.Step 6: Pass along selected filters
So that filters already set are retained on submission, they belong in the form as hidden fields.Sorting
Which entries are available for selection is configured at FACT-Finder. Your contact person at Omikron sets this up.As a selection list
This form is the default and is already included in the materials template. It belongs inside the form.As links
For a single field, here the price, sorting can also be offered as two links. The technical name of the field is part of the tag name.Hits per page as links
By default, the selection appears as a selection list. Which values are available is defined in the FACT-Finder Management, equally for both display types.Custom names for filters and options
Name filters and options in the FACT-Finder Management whenever possible. The following approach is only necessary if your data fields contain purely technical values that are passed to the shop unchanged, for example
Brand instead of “Marke” or yellow instead of “gelb”.Step 1: Disable automatic adoption
Step 2: Name filters
The mapping is based on the number, which results from the order of the filters in the FACT-Finder Management.Step 3: Name options
A separate section is created for each filter whose options are to be renamed. The number in the section name is again the number of the filter. In the example, “Farbe” is the second filter.FACT-Finder at category level
With navigation, FACT-Finder takes over not only the filters but also the sorting, the number of products per page, the paging and the display of the products themselves. It automatically reflects new products and categories. If FACT-Finder fails, the usual product overview page can be displayed as a fallback. Sorting, number per page and paging then come from WEBSALE, as do the shop’s own filters, if set up.Step 1: Product data
A separate data feed is not required; the feed of the search function is used.Step 2: Adapt the shop.config
MaxFilterOptions is a protective measure. If a very large number of filters is defined in the FACT-Finder Management, the shop would otherwise build all of them, and the page becomes slow.Step 3: Create the template
Save it under the name fromCategoryTemplate in your template directory. It should contain:
- sorting option
- selection of the number of products per page
- paging
- display of the products
- the fallback content in case FACT-Finder cannot be reached
Step 4: Adapt the product overview page
A single tag integrates the entire template from step 3.The
CAT-Data bracket ensures that the filters only appear if the category contains any products at all.The default waiting time is three seconds. If FACT-Finder does not respond, the shop aborts after that. You assign a different time in square brackets:
~WS-Module([2500]category_factfinder)~. If you change this time, also adjust Timeout in the <Search> section.Avoiding duplicate content through filter links
The FACT-Finder link tags output complete addresses, including the parameter?d=1. This ensures that the address is always technically correct, but from the perspective of search engines it creates duplicate content.
For each of these tags ending in Link, there is a counterpart ending in Params that delivers only the parameters, without the address.
With the Params tag, you assemble the link yourself, based on a clean shop address.
On the category page, the basis is
$CAT-Link$; in the context of the product search, it is $WS-Link$&act=search instead.
Reference: Tags for the FACT-Finder integration
Guide: SEO: Overview
Related topics
- Guide: Integration of FACT-Finder
- Guide: FACT-Finder campaigns
- Guide: SEO URLs and link optimization
