PremiumNewFeaturedNavigation

Predictive Search

Instant-as-you-type search dropdown. Replaces Searchanise / Boost AI.

#search#predictive#instant-search#dropdown#searchanise-replacement#boost-replacement

Live preview

See it in action.

Fully interactive, drag, click, scroll inside the frame, toggle to mobile.

About this section

A modal-style predictive search overlay powered by Shopify's native /search/suggest.json endpoint, no third-party search index, no monthly fee. Shows products with images and prices, collections, and pages in grouped result panels. Recent-searches memory in localStorage, popular-terms quick chips, full keyboard navigation (arrows, Enter, Escape, Cmd+K to open), highlighted matching text, mobile full-screen layout.

Install in 90 seconds

  1. 01

    Create /sections/modblo-predictive-search.liquid.

  2. 02

    Paste the section code and save.

  3. 03

    Add the section to your header.liquid (replace your existing search icon/button).

  4. 04

    (Optional) Configure popular search terms in the section settings. These show as quick chips when the search is empty.

  5. 05

    (Optional) Cmd/Ctrl + K opens the search overlay from anywhere on the site, document this in your help docs.

The code

This is the file you'll paste into your theme.

Unlock the section code

Predictive Search is a premium section. Get the full Liquid + scoped CSS paste-ready.

One-time purchase ยท Lifetime updates ยท You own the code

What you can customize

Every setting below shows up in the Shopify theme editor. Change them without touching code.

SettingTypeDefault

Show 'Search' label on trigger

show_label

Yes/Notrue

Trigger label

trigger_label

TextSearch

Input placeholder

input_placeholder

Text,

Result types

result_types

Comma-separated. Any of: product, collection, page, article, query.

Textproduct,collection,page

Popular search terms

popular_terms

Comma-separated. Shown as quick chips when the search is empty.

Text,

Background

bg

Color picker#ffffff

Foreground

fg

Color picker#0b0b0c

Accent

accent

Color picker#6366f1

SEO and accessibility notes

  • Built on Shopify's native /search/suggest.json. No third-party search index, no API key, no GDPR overhead.
  • Debounced fetch (180ms) keeps the request count low even for fast typers.
  • Real <a> elements per hit, fully keyboard accessible (arrow keys + Enter), full Cmd+K to open.
  • Recent searches stored in localStorage only, no cookies.
  • Mobile gets a full-screen overlay layout for thumb-friendly scrolling.
Predictive Search. Shopify section | modblo