Steps
- Go to Settings → Search Behavior.
- Select language, out-of-stock product visibility, and image search preferences.
- Configure combined listing display, excluded tags, and other options as needed.
- Save changes and, if prompted, run a quick sync.
Out-of-stock product visibility
Control how out-of-stock products or variants appear in search results. Select one of the following options:- Not at all — hides out-of-stock products entirely from search results.
- At the end — shows out-of-stock products, but demotes them to the bottom of results.
- Mixed with all other results — shows out-of-stock products alongside in-stock products with no rank penalty.
These settings apply to search results only. Browse (collection page) results are not affected by store-level out-of-stock visibility — the Shopify collection itself controls which products appear. To hide out-of-stock products on a per-request basis for browse, use the
forceHideOutOfStock parameter in the Browse API. For blocks, use the Hide Out of Stock safeguard in the block configuration.Location-based stock check
When you select Not at all or At the end, a location picker appears below the stock display options. This lets you evaluate stock availability at specific Shopify locations rather than using global availability. The example below shows how to open Search Behavior and pick the inventory locations used for search stock checks.
- With Not at all, products that have zero inventory at every selected location are hidden from results — even if they are technically available at other locations.
- With At the end, products with no inventory at the selected locations are pushed to the bottom of results.
- Go to Settings → Search Behavior.
- Under Stock Display, select Not at all or At the end.
- Click the location picker that appears below the stock options.
- Search for locations by name, city, country, or ID and select the ones you want to check against.
- Save your changes.
Only active Shopify locations appear in the picker. If you don’t see a location, verify that it is active in your Shopify admin.
Combined listings display
If your store uses Shopify combined listings, you can control how parent and child products appear in search results:- Only show parent products — returns only the parent listing in results.
- Only show child products — returns only the child products.
- Show both (default) — returns both parent and child products.
Image search configuration
The image embedding configuration controls which product images Layers uses to generate embeddings for visual search. By default, new stores use both the product featured image and variant featured images. You can change this in the image search preferences section of the search behavior settings. Available options:- Both (default) — uses the product featured image and all variant featured images for visual search matching.
- Product featured image — uses only the main product image.
- Variant featured images — uses only variant-specific images.
- All — uses every image associated with the product and its variants.
App sales channel
If your store has a mobile app (such as Tapcart, Fuego, or Canvas), you can specify which Shopify sales channel represents your app storefront. When configured, Layers uses this channel to determine which products are visible to app users — only products published to the selected channel appear in app search, browse, and block results. To configure the app sales channel:- Go to Settings → Search Behavior.
- Scroll to the App Sales Channel card.
- Select your app’s sales channel from the dropdown. Layers loads all available channels from your Shopify store automatically.
- Save your changes.
If no app sales channel is configured, app requests fall back to default channel filtering behavior. For more details on how channel visibility works, see Sales channel visibility.
Search excluded tags
You can configure custom product tags that exclude products from the searchable database entirely. Products with any of these tags will not appear in search results. To add custom excluded tags:- In the Search Excluded Tags section, enter a tag name in the input field.
- Click Add or press Enter to add the tag to the list.
- To remove a tag, click the X button next to it.
- Save your changes.
hide, layers-ignore). Tag matching is case-sensitive. Products with newly excluded tags won’t be removed from search until they’re re-indexed via webhook or bulk operation.
Seeded search data
The Use Seeded Search Data toggle appears in the Advanced section of the search behavior settings. When enabled, Layers returns sample search results while your catalog is still empty or syncing. This ensures that customers see products in search results during initial setup rather than empty pages. Disable this toggle once your full catalog has finished syncing and products are indexed. To enable or disable seeded search data:- Go to Settings → Search Behavior.
- Scroll to the Advanced card.
- Toggle Use Seeded Search Data on or off.
- Save your changes.
Real-time query expansion (deprecated)
The search behavior settings include a Real-Time Query Expansion toggle. When enabled, the search engine generates query expansions on the fly using an LLM for each search request. When disabled (the default), Layers uses only pre-computed query expansions. Pre-computed expansions offer faster response times and more predictable behavior. If your store currently has real-time query expansion enabled, you should switch to pre-computed expansions by disabling this setting. To disable real-time query expansion:- Go to Settings → Search Behavior.
- Find the Real-Time Query Expansion card.
- Click Disable to switch to pre-computed expansions only.
- Save your changes.
Tip
- After changes, use Evaluate to test a few searches.