Two search features
Full-text search finds products by name, by part of a word and by other search terms. The results update immediately as the customer types, and the search also understands small typos. Availability search finds products that are available for a selected time: the customer selects a date range, a duration and the number of participants, and Johku shows only the products that can be booked then.
The number of participants is selected with the − and + buttons under Participants. The default is 1, and the number cannot be lowered to zero. The search filters the results by the number of participants only when the customer changes the number. This way, products that have a minimum group size don't disappear from the results because of the default selection.
Both searches cover your own published products, the products of other Johku merchants connected to your sales channel, and content pages.
Enable search
- Open Settings → Storefront → Search.
- Select Display Search in the main menu. If you want search to appear only in certain categories, leave this unselected and see Connect search to a category.
- Select Use full-text search and/or Use availability search.
- Under Recommended results in the full-text search, select a category if you want its products to be shown as recommendations as soon as the customer clicks the search field.
- Select List or Map as the default view of Availability search.
- Enter your own Search bar placeholder and a title and subtitle for the search results page if you want.
- Save.
Select the products shown in the availability search
Availability search shows only the products that you have separately set to appear in it. By default, no products are shown.
- Open the product and go to the Availability tab.
- Under Include in availability search, select When enabled in Storefront. The default option Never keeps the product out of the search, and the Always option is used only with certain integrations.
- Save and repeat for the other products you want in the search.
Add keywords
You can bring product tags into the search as keyword buttons: with one click, the customer sees the products marked with a tag. First create the tags for the products under Tags on their Details tab. Then, under Keywords on the Search tab, select the tags you want; they appear in the search as buttons.
Result
Search is shown next to the storefront's main menu. In Full-text search, the results are listed immediately as the customer types (at least 3 characters), and Enter opens the actual search page. In Availability search, the results show the date and weekday, the duration, the number of participants, a time if there is one, the main image, the short description, the tags and the default price.
When the category's view is Availability search, the category's product cards show the product's duration, for example 1 day, and the number of persons, for example 1–2, even before a search. In the views Full-text search and Combined availability and full-text search, these details are not shown on the cards before a search.
If search doesn't work as expected
A product doesn't appear in Availability search. Check that the product is published and that its Include in availability search option is set to When enabled in Storefront.
The customer selects a time in the search, but the selections are empty on the product page. This is intended behavior: the selections on the search page do not carry over to the product page, and the customer selects the reservation time and the number of participants again on the product page.
The product page says Please select at least N participants. The customer has selected fewer participants than the product's minimum capacity. The customer must select at least the stated number of participants before the reservation can be made.