/search, showing products, articles, and pages matching the search query with filtering, sorting, and pagination options. Optimized search experience with filters and sorting helps customers quickly find what they’re looking for, reducing friction in the product discovery process. Use this template to create a powerful search experience that handles diverse result types and helps convert search intent into purchases.
Template Settings
- Search
- Product Grid
- Cards
- Layout
Enable Filters
Enable Filters
Display filter options for search results.
- Type: Checkbox
- Default: Enabled
- Product filters appear (price, type, vendor, etc.)
- Customers can narrow results
- Filter UI matches collection filtering
- Works only for product results
- No filtering available
- Simpler, streamlined search
- Faster implementation
Filters only apply to product results. Articles and pages don’t have filterable attributes and won’t show filters.
Enable Sorting
Enable Sorting
Display sorting dropdown for search results.
- Type: Checkbox
- Default: Enabled
- Relevance (default) - Best match first
- Best Selling
- Alphabetically: A-Z
- Alphabetically: Z-A
- Price: Low to High
- Price: High to Low
- Date: New to Old
- Date: Old to New
Search Result Types
Shopify search returns multiple content types:Products
Products
Searchable Fields:
- Product title
- Product description
- Product type
- Vendor
- Tags
- SKU
- Barcode
- Variant titles
- Product grid (standard product cards)
- Filtering and sorting available
- Add to cart functionality
- Quick view (theme-dependent)
Articles (Blog Posts)
Articles (Blog Posts)
Searchable Fields:
- Article title
- Author name
- Article content/body
- Article excerpt
- Tags
- Article cards with image, title, excerpt
- Date published
- Author (theme-dependent)
- Read more link to full article
- Uses article card color scheme
Pages
Pages
Searchable Fields:
- Page title
- Page content/body
- Page cards with title and excerpt
- Link to full page
- Uses page card color scheme
- About Us
- FAQ
- Shipping & Returns
- Size Guide
- Contact
Search Behavior
Search Algorithm
Search Algorithm
Shopify Search Ranking:Shopify ranks results by relevance based on:
- Exact title matches (highest priority)
- Title partial matches
- Product type matches
- Tag matches
- Description matches
- Variant title matches
- SKU/barcode matches
- Published products rank higher than drafts
- Available products rank higher than sold out
- Featured products may rank higher
Search Syntax
Search Syntax
Special Search Operators:Exact Phrase:
- Use quotes:
"blue sneakers" - Matches exact phrase only
- Default:
blue shoes - Finds results with both words
- Auto-suggests:
snefinds “sneakers” - Minimum 3 characters for suggestions
- Search by type:
product_type:shoes - Filters to specific product type
Empty Search
Empty Search
When Search Query is Empty:
- Some themes show all products
- Others show “Enter search term” message
- May display popular products
- Or redirect to homepage
Empty search behavior depends on theme implementation. Most Sahara variations show helpful message.
No Results Found
No Results Found
When No Matches:
- “No results for [query]” message displays
- Suggestions for alternative searches
- Featured products or collections (theme-dependent)
- Link to all products
- Search tips or popular categories
- Suggest related products
- Offer to browse all products
- Link to popular collections
- Provide search tips
- Check for typos (“Did you mean…?”)
Best practices
Improve search accuracy
Optimize product data with descriptive titles, common search terms in descriptions, relevant tags (color, material, style), accurate product type, variant titles, synonyms, and proper SKU naming. Example: Use “Men’s Blue Canvas Low-Top Sneakers” instead of “Classic Sneaker”.
Filtering strategy
Enable filters for large catalogs (50+ products), multiple product categories, price range variety, and different product types. Disable filters for small catalogs (< 30 products), homogeneous products, simple search needs, or mobile-first audience. Filters configured in Shopify Admin Search & Discovery apply to search results.
Mixed result types
Handle products + articles + pages with visual differentiation using different color schemes (scheme-1 for products, scheme-2 for articles, scheme-3 for pages). Group by type or interleave based on relevance, show type labels, use different card styles. Color-coding helps users quickly scan.
Search performance
Lower products_per_page (12-16) for faster initial load, enable “Load More” pagination, optimize product images, limit active filters (3-5 max), use Shopify’s built-in search. For large catalogs (1000+ products), consider search apps with autocomplete, typo correction, and search history.
Mobile search UX
Use filters in drawer (not sidebar) on mobile, large tappable filter/sort buttons, reduced products per page (12), prominent quick filters (price, availability), easy search refinement access, and back to top button for long results. Mobile searchers have specific intent.
Use Cases
Product-Focused Store
Filters enabled, sorting by relevance, products prominently displayed
Content-Rich Store
Mixed results (products + helpful articles), different card colors, articles featured
Simple Catalog
No filters, default sorting, minimal options, 12 products per page
Large Inventory
Full filtering, 24 products per page, load more pagination, sidebar filters
Related Templates
Main Search Banner
Search results page header banner
Predictive Search
Live search suggestions in header search bar
Collection Page
Similar product grid for collection pages
Search Settings
Shopify search configuration in admin
Troubleshooting
No Results for Expected Terms
No Results for Expected Terms
Check:
- Products are published (not draft)
- Search terms appear in title/description/tags
- Products not excluded from search
- No typos in product data
- Adequate product information filled in
- Search by exact product title (should appear)
- Search by product type (should filter properly)
- Check in Shopify Admin if product is searchable
Filters Not Showing
Filters Not Showing
Verify:
- “Enable Filters” checkbox is on
- Filters configured in Admin → Search & Discovery
- Search results include products (filters don’t apply to articles/pages)
- Theme filter settings enabled
Wrong Result Order
Wrong Result Order
Reasons:
- Sorting set to something other than “Relevance”
- Customer changed sort order (dropdown)
- Product availability affecting order (sold out lower)
- Reset to “Relevance” sorting
- Verify published/available status
- Check featured product settings
Mixed Result Types Confusing
Mixed Result Types Confusing
Solutions:
- Use different color schemes for products vs articles vs pages
- Add “Type” label to cards (“Product”, “Article”)
- Organize results by type (group all products together)
- Consider hiding articles/pages from search (theme-dependent)
Search Too Slow
Search Too Slow
Optimize:
- Reduce products per page (16 or less)
- Use “Load More” pagination
- Compress product images
- Limit filter complexity
- Consider search app for very large catalogs (1000+ products)
- Enable lazy loading for images
Quick Summary
- Purpose: Display search results with products, articles, and pages
- URL:
/search?q=[query] - Features: Filtering, sorting, pagination, multi-type results
- Products Per Page: 8-28 (step of 4, default: 16)
- Pagination: Traditional or Load More
- Card Schemes: Separate color schemes for products, articles, pages
- Filters: Product filters only (not for articles/pages)
- Sorting: Relevance, best selling, price, alphabetical, date
Search results are automatically generated by Shopify’s search engine. Improve search accuracy by optimizing product titles, descriptions, tags, and types in Shopify Admin → Products.