integration_documentation:direct_integration

integration_documentation:direct_integration

This is an old revision of the document!


Overview

The FINDOLOGIC-scripts are binding events on the searchfield of the shop. When a user submits the form of the searchfield, the request gets sent via AJAX directly to the FINDOLOGIC servers. This offers a massive speed boost and lowers the load on the shop side, because it is not necessary that the request is being sent to the shop-server first.

FINDOLOGIC loads the entire search result as defined in the template manager and delivers the rendered HTML to the shop. The HTML in this response will be placed in a container of the shop. This container must have unique selectors. As a customer of FINDOLOGIC you have to provide these containers in your shop.


Search result container

This container has to be available on every shop page in order to ensure that the search works on every single page. The container should have the id *fl-searchresults*. For the search result pages, the HTML-response of FINDOLOGIC contains both all found product and the available filters.


Filter container

For using FINDOLOGIC on category pages you have to provide the cat_urls in a valid manner. See our documentation about ''cat_urls'' for more information. This container has to be available on every category page of the shop. The container should have the id *fl-filters*. For the category pages, the HTML-response of FINDOLOGIC contains both all available filters for this category.