Support

Product Search On Jumpseller

How does search work

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
  • SKU
  • Custom Fields
    • Inputs
    • Text Areas
    • Select Options
  • Variants
    • SKU

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,
  • sku,
  • description,
  • custom_fields
  • variants

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".


How to filter out results from categories

It is possible to filter out the products from specific categories from the 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.