You can bring the storefront search to the front page as a visible search form, for example on top of the main image. The front page search has its own settings, so it can search different content than the main menu search.
Before you start
First enable search in the shop's settings; see Enable search on your storefront.
Add search to the front page
- Open Settings → Storefront → Front page and go to Front page search.
- Select Display Search form on the Front page.
- Under Position, select where the form is placed, for example On top of the main image area.
- Select a Category to search from if you want the front page search to search only one category. The option Not selected searches the whole shop.
- Select the search methods to use: Use availability search, Use full-text search and Use keywords.
- Enter your own Search bar placeholder and Search button text if you want.
- Save.
Result
The front page shows the search form in the position you selected. When the front page search is in use, the main menu shows only the search icon, a magnifying glass, instead of the full search field.
Good to know
The front page search and the main menu search are separate: for example, you can limit the front page search to accommodation products and keep the main menu search shop-wide.