Sulu Ecommerce
  • Sulu Online Shop
    • Introduction
      • Sulu E-Commerce
        • What is Sulu E-Commerce?
        • Sulu E-Commerce strategy for large scale usage
    • Account settings
      • User Password
        • Change password
        • Forgotten password
    • Shop Content
      • Shop homepage
      • Shop navigation
        • Where to find the navigation
        • How to create a navigation
        • How to create a sub navigation
        • Link navigation to categories
    • Search
      • Product search
        • How it works
        • Search widget
        • Prefilter Categories
    • Products
      • Add new products
        • Import products
        • Add Product manually
      • Product detail page
        • How to reach it
        • Product details
        • Image gallery
        • Ratings box
        • Supplier box
        • Cart widget - prices
        • Other supplier widget
        • Similar products widget
      • Product list
        • Where does the data come from
        • The default list
        • Usage
    • Shopping Cart
      • Shopping Cart
        • Cart widget
        • Cart display widget
        • Cart detail page
 
Sulu Ecommerce
  • Docs »
  • Sulu Online Shop »
  • Search »
  • Product search
  • Edit on GitHub

Product search¶

How it works¶

The product search is based on elasticsearch. This means all searchable products must be indexed. The search API is split in two main parts. There is a live search api which provides functionallity to be used in e.g. a typeahead. The main search lists all products which match for a given query string. This result can also be filtered by additional information such as the category or the supplier.

Search widget¶

The search widget is one of the main parts of each shop. It helps the user to find products and more. If the user starts typing, additional ajax requests are placed in the background asynchronously to display suggestions. Once you click on a suggestion, you are redirected to the product detail page. If you just type in a query string and hit enter, a fulltext search is placed and matching products are returned in a batched list.

Prefilter Categories¶

Sometimes it makes sense to search a product within a certain category only. For example it would make propably no sense to search a fridge within sporting goods. Nor you want loads of other products to be found if you already know what you are looking for. Therefore it is possible to select a category and prefilter the search results.

Next Previous

© Copyright 2015, Sulu Team.

Built with Sphinx using a theme provided by Read the Docs.