Skip to content

Searching your store

Configure and understand Shopify storefront search behavior for your Align store.

Storefront search in your Align theme helps customers find products, blog posts, and pages across your Shopify store. Shopify manages the search behavior described here, while Align presents search and predictive-search results to your customers.

Predictive search displays suggested results without sending customers to a full search results page. Customers can quickly explore suggested search terms, products, collections, pages, and more as they type.

Customize predictive-search behavior with Shopify’s Search & Discovery app

  1. Plan requirements: Predictive search is available with Shopify, Advanced, and Plus pricing plans
  2. Theme support: Predictive search must be included in your published theme. It is available in compatible themes and can also be added to custom storefronts with the Predictive Search API
  3. Result limits: By default, predictive search shows up to 10 highly relevant results across all queried result types. Customers may find additional results on the dedicated search results page

Predictive search can return products, pages, blog posts, collections, and query suggestions. Query suggestions are search terms drawn from your product catalog and past customer searches; selecting one opens results for that term.

By default, predictive search returns query, product, collection, and page results. Use the free first-party Shopify Search & Discovery app to choose which result types appear.

Your store’s primary locale affects predictive-search behavior:

  1. Collection suggestions: These use the store’s primary language and do not compare a customer’s query with translated collection content.
  2. Query suggestions: These are available only when both the primary language and the customer’s online-store session are English.
  3. Language availability: Predictive search is not available in every language. See the supported languages list for complete availability.

Predictive search uses the following properties by default.

ResourceProperty
ProductsTitle
Product type
Variant title
Vendor
PagesTitle
CollectionsTitle
Blog postsTitle

You can translate store content with apps such as Translate & Adapt. For details about translations and searchable properties, see the Predictive Search API searchable-properties guidance

Your primary locale determines which search behaviors are available. Typo tolerance corrects close misspellings, search stemming recognizes related word forms, and trigram support enables partial-character matching for Japanese.

LanguageTypo toleranceSearch stemmingTrigram
English
French
Spanish
Portuguese (Brazil)
German
Dutch
Italian
Japanese✔ Can support Katakana, hiragana, and kanji
Danish
Swedish
Portuguese (Portugal)
Finnish
Norwegian (Bokmål)
Turkish
Romanian
Hungarian
Russian
Polish
Czech
Greek
Icelandic
Lithuanian
Slovenian
Slovak
Bulgarian
Vietnamese
Croatian
Indonesian
Latvian
Estonian
Serbian
Ukrainian
Catalan
Norwegian (Nynorsk)
Faroese
Portuguese
Albanian
Bosnian
Afrikaans
Macedonian
Armenian
Serbo-Croatian
Latin
Welsh
Gaelic
Moldovan

The following behaviors do not apply when a search uses search syntax:

  1. Typo tolerance
  2. Predictive search
  3. Semantic understanding

Search recognizes many singular and plural forms. For example, searching for puppies can match results containing either “puppy” or “puppies.”

This behavior is called stemming: words are matched to a common base form. For example, body:leggings can match results containing “leg” or “leggings.” For partial word matching, use prefix search

Typo tolerance helps return matches for terms containing minor spelling errors. It can match terms that differ by one letter or have two letters in a different order, provided the first four letters are entered correctly.

For example, chocollate can return results containing chocolate or chocolates in the title or description.

Typo tolerance does not apply to every searchable field. For example, chocollate does not match product or blog-post tags containing chocolate.

Resource typeSupported fields
Productstitle, product_type, variants.title, vendor
Pagesauthor, title
Blog postsauthor, title
  1. AND: Results must include every term. AND is the default, so artichoke hearts and artichoke AND hearts both find results containing “artichoke” and “hearts.”
  2. OR: Results can include either term. For example, artichoke OR hearts finds results containing at least one of those terms.
  3. NOT: Prefix a term with a minus sign to exclude it. For example, artichoke -heart finds “artichoke” but excludes “heart.”

Prefix search automatically matches the beginning of terms. For example, artich can match “artichoke,” and artichoke hea can match terms that begin with “artichoke hea.”

Place a term or phrase in double quotation marks to search for that exact wording in a searchable field. For example, "artichoke hearts" can match a product titled “Can of artichoke hearts,” but not “Canned hearts of artichoke.”

Add a field name followed by a colon to limit a term to that field. For example, title:artichoke searches titles containing “artichoke.”

Field-specific searches require an exact match, so a misspelled query such as title:artichoqe does not return results. Available properties vary by resource type.

ResourceSearchable properties
Productsbody, product_type, tag, title, variants.barcode, variants.sku, variants.title, vendor
Pagesauthor, body, title
Blog postsauthor, body, tag, title

Trigram search is available only for the Japanese locale. It matches consecutive sequences of at least three katakana, hiragana, or kanji characters, and can also search kanji in pairs.

For example, to find “アップルグリーンラップドレス,” customers can search using:

  1. ップル
  2. アップル
  3. ップルグリーンラ