Support

Product Search On Jumpseller

All Jumpseller Stores regardless of the plan come with simple search capabilities. Search can be an important aspect of improving the customer experience on your website and help them find the things they are looking for.


How to add a Search Form

You can add a search form on any page of your Online Store by including the piece of code you see below on your Theme Editor.

<form method="post" action="{{search.url_send}}">
  <input type="text" name="q" value="{{search.query}}" />
  <input type="submit" value='Search' />
</form>

Most times you will want to add it at the Layout Block.

Search is done on the following Product Fields:

  • Name
  • Description
  • Brand
  • SKU
  • Custom Fields
    • Inputs
    • Text Areas
    • Select Options
  • Variants
    • SKU
    • Values

Configure these fields to be used for search by defining the fields at the query string:

/search/shoes?fields=name,sku

Or you can define these fields to be searched with an hidden input field in your Search From:


<form method="get" action="{{ search.url_send }}">
  <input type="text" name="q" value="{{ search.query }}" />
  <input type="hidden" name="fields" value="name,sku" />
  <input type="submit" value='{% t "Search" %}' />
</form>

If you do not use this input all the fields of your products will be considered on the search:

  • name
  • barcode
  • description
  • brand
  • sku
  • variants_sku
  • option_name
  • custom_fields
  • custom_field_selects

How does the Search works

All the search terms will use the OR operator.

  • Searching for: winter shoes will search products with both "winter" and "shoes" terms in their Fields.

    • We execute broad searches for every search terms, considering wildcards for the beginning and end of each term.
  • Searching for: win shoes will return products with either "winter" or "winner" terms on their Fields, like: Product named "Leather Winter Shoe" or "Nike Winner Shoes".

    • We have proximity searches, that is, if the customer inserts a misspelled search term, the search engine is still able to return results that resemble the desired search term ( does not apply to fields like sku and barcode).
  • Searching for: winter shoes will return products with "winter" on their Fields, like: Product named "Leather Winter Shoe.

    • The order of the results returned by the search engine depends both on the proximity of the fields to the search terms and the weight of the matched field.
  • Exact fields like: sku, variants sku and barcode; have the highest weights, followed by name and brand. All other product fields have a relatively low weight on the search results.


How to filter out results from categories

It is possible to filter out the products from specific categories from the search results. You'll need to add a field to the Search Results block.

At the Search Results Block you find something like:


<form method="get" action="{{ search.url_send }}">
  <input type="text" name="q" value="{{ search.query }}" />
  <input type="hidden" name="categories_ids" value="1234,9898" />
  <input type="submit" value='{% t "Search" %}' />
</form>


FAQ

Is the search case-sensitive?

No. Searching for "Shoes" or "shoes" returns the same results.