Search
When customers type in a search field, Heirloom shows quick results under it: matching products, collections, pages and blog posts. The Search settings control those quick results, what search can find, and the suggestions that customers see before they type.
Open theme settings
Steps:
- From your Shopify admin, go to Online Store > Themes.
- Find Heirloom, and then click Edit theme.
- Click the Theme settings icon.
- Click Search.
Choose what search finds
By default, Shopify’s Search & Discovery app decides what search returns, including synonyms, boosted products and how sold-out products are handled. You can set it up in your Shopify admin under Apps > Search & Discovery.
To choose the result types in Heirloom instead:
Steps:
- In the Search settings, under Result types, select Theme settings.
- Check the result types that you want customers to find: Products, Collections, Articles and journal posts, Pages and Suggested searches.
- Click Save.
Add popular searches and collections
Popular searches and collections show under the search field when a customer selects it before typing, and on the search page before a search and when a search finds nothing. They give customers a place to start, such as your best sellers or a seasonal collection.
Steps:
- In the Search settings, under Popular searches, enter search terms separated by commas, such as “olive oil, honey, gift box”.
- Under Popular collections, select up to four collections.
- Click Save.
The Search results block on the search page has its own Popular searches and Popular collections settings. When they’re filled in, the search page uses them instead of the theme settings.
Change the search hint
The gray hint inside every search field reads “Search the shop” in each customer’s language. To use your own words everywhere, such as “Search oils, honey and gifts”, enter them in Search field placeholder. The search page has its own Search field placeholder setting, and each Search block has a Placeholder setting. Where they’re filled in, they’re used instead.
Settings
- Show quick results while typing: When off, the search field still submits to the search page. No live dropdown.
- Search field placeholder: Every search field without its own placeholder uses this; blank keeps the default hint.
What search can find
- Result types: The Search and Discovery app decides unless you choose theme settings.
- Products: Includes products in search results and quick results. Shows when Result types is Theme settings.
- Collections: Quick results only, because the search page cannot return collections.
- Articles and journal posts: Includes blog posts in search results and quick results. Shows when Result types is Theme settings.
- Pages: Includes pages, such as your About page, in search results and quick results. Shows when Result types is Theme settings.
- Suggested searches: Completes what shoppers type, when both store and shopper use English.
Quick results
- Results per type: Fewer results load faster and keep the list short on phones.
- Limit applies: Per result type keeps products from crowding out articles and pages.
- Unavailable products: The Follow the app option uses the sold-out setting from Search and Discovery.
- Show product prices: Shows each product's price in quick results.
- Show vendor: Shows each product's vendor under its title in quick results.
Suggestions
- Popular searches: Separate with commas; shown before typing and when a search finds nothing.
- Popular collections: Up to 4, shown before typing and when a search finds nothing.
Related
- Learn more about search and filters on collection pages.
- Learn more about filters.
- Learn more about the Search & Discovery app in Shopify’s Help Center.