Hi @Nishant24 ,
Please follow the steps below:
Step 1: Go to header.liquid file, find ‘routes.search_url’ and add code here:
[Screenshot.png]
Step 2: Go to main-search.liquid file, find ‘routes.search_url’ and add code here:
[Screenshot (1).png]
Code:
Refer: https://shopify.dev/themes/n… Answer from LitExtension on community.shopify.com
Shopify Help Center
help.shopify.com › en › manual › products › searching-filtering
Shopify Help Center | Searching for products and filtering your product list
From your Shopify admin, go to Products. Click the icon. Enter the search words into the Searching all products field. The product list automatically refreshes to display only the products that have the words in the product titles, descriptions, ...
Shopify Search & Discovery App - Available products only by default
Hi, We are using Shopify’s Search and Discovery for product filtering. By default, all products are displayed and id the Availability filter has been added, the user can toggle to show only available products. Is there any way to show only items that are available to purchase by default? More on community.shopify.com
Can the Search bar search the whole site and not just the products?
Is there a way to have the search bar search the whole site and not just the products. So when they search a word it will look through the blogs posts and other pages. More on community.shopify.com
How do I use the default Shopify search bar to search for a SKU#? (Dawn theme)
To keep this community relevant to the Shopify community, store reviews and external blog links will be removed. Users soliciting sales in any form will result in a permanent ban. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
Custom search bar to search ONLY within a specific collection, and/or exclude certain collections?
Hello, I’m trying to separate certain products either by collection or by tags, so that I can have search bars for different products. I’m trying to have a search bar that ONLY searches within a group of specific products, and would not return any products that aren’t within a specific ... More on community.shopify.com
Videos
07:40
How I Added Shopify Filtering (Free & In Under 10 Minutes) - YouTube
09:40
How To Hide Specific Products From Search On Shopify - YouTube
13:36
Full Guide: Shopify Search & Discovery App (2025) - Filters, Search, ...
Shopify Search & Discovery App - Set Up Filters, Search, Product ...
12:50
Hide your products from storefront and offsite search - YouTube
06:11
How To Add Extra Search Bar In Shopify (On Any Section) - YouTube
Shopify Community
community.shopify.com › english › shopify design
How to display only products in search results? - Shopify Design - Shopify Community
April 21, 2023 - Hi! We only want to show products that can be bought in our shop in the search results, blog are now visible too. Can someone help us with his?
Shopify Community
community.shopify.com › technical q&a
Shopify Search & Discovery App - Available products only ...
November 16, 2023 - Hi, We are using Shopify’s Search and Discovery for product filtering. By default, all products are displayed and id the Availability filter has been added, the user can toggle to show only available products. Is there …
Shopify Community
community.shopify.com › shopify discussion
Can the Search bar search the whole site and not just the products?
August 2, 2023 - Is there a way to have the search bar search the whole site and not just the products. So when they search a word it will look through the blogs posts and other pages.
Reddit
reddit.com › r/shopify › how do i use the default shopify search bar to search for a sku#? (dawn theme)
r/shopify on Reddit: How do I use the default Shopify search bar to search for a SKU#? (Dawn theme)
November 25, 2022 -
When I enter a SKU# into the default Shopify search bar, the predictive search does not show the item I typed in, however, when I click 'search' and am taken to a new URL (search page), I do see the product with the SKU number I searched, but it is mixed up with random products.
I would like to only see the item I have searched for via the SKU#
Top answer 1 of 4
2
I believe you need an App to search base on SKU
2 of 4
1
To keep this community relevant to the Shopify community, store reviews and external blog links will be removed. Users soliciting sales in any form will result in a permanent ban. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Shopify
help.shopify.com › en › manual › shopify-admin › productivity-tools › searching-filtering-views
Shopify Help Center | Searching and filtering your lists using views
For example, product views display as tabs at the top of the Products page in the Shopify admin. By default, the Products list contains 4 views: All, which includes all products. Active, which includes only products with the Active status.
Shopify Community
community.shopify.com › technical q&a
Custom search bar to search ONLY within a specific collection, and/or exclude certain collections?
February 15, 2022 - Hello, I’m trying to separate certain products either by collection or by tags, so that I can have search bars for different products. I’m trying to have a search bar that ONLY searches within a group of specific products, and would not return any products that aren’t within a specific ...
Shopify Community
community.shopify.com › store design
How to restrict search function to products only on Dawn theme? - Shopify Community
September 17, 2021 - Hello there, I’m using the Dawn theme, I want to make the search function to be only searching for products. After some research, I’ve found this code I’ve put it in this section of main-search.liquid The code works half of the time. When searching using the search form in the header, it return results for everything.
Shopify Help Center
help.shopify.com › en › manual › online-store › storefront-search › search-and-discovery-recommendations
Shopify Help Center | Customize product recommendations with Shopify Search & Discovery
You can choose how combined listings display in auto-generated recommendations in the Settings section of the Shopify Search and Discovery app. By default, only child products are displayed.
Fast Simon Inc.
fastsimon.com › ecommerce-wiki › site-search › search-within-shopify-collections-improve-product-discoverability-and-ux
Search Within Shopify Collections: Improve Product Discoverability and UX
November 19, 2024 - A Shopify search results page within collections can be highly valuable for shoppers. With robust search parameters, they can find the item they're searching for in the exact color, size, style, brand, etc. Collection search saves them from the virtual legwork of looking through all product variants to find the item they want. For example, 401 Games allows their customers to not only search within their categories (like Board Games) but also refine their search results with filters (in stock, price, vendor, etc.).
Shopify Community
community.shopify.com › c › shopify-discussions › i-want-to-display-only-products-in-search-results-in-dawn-theme › m-p › 1971945
I want to Display Only Products In Search Results In Dawn Theme [URGENT] - Shopify Community
May 10, 2023 - Step 2: Go to main-search.liquid file, find 'routes.search_url' and add code here: Screenshot2- Code: <input type="hidden" name="type" value="product"> This code will surely and 100% help you and solve your problem. Let me know if need further assistance Regards, Artzen Technologies · If helpful, please Like and Accept this Solution to help others Artzen Technologies | A Shopify Development Agency WhatsApp - 9877983930 Book FREE CONSULTATION who want to migrate to Shopify or want to start an eCommerce business with Shopify
Shopify Community
community.shopify.com › c › shopify-discussions › can-the-search-bar-search-the-whole-site-and-not-just-the › m-p › 2339323
Re: Can the Search bar search the whole site and not just ...
August 2, 2023 - Shopify Community · Powered by Discourse, best viewed with JavaScript enabled
Shopify Community
community.shopify.com › c › shopify-design › how-can-i-search-products-by-title-only › m-p › 2845258 › highlight › true
Re: How can I search products by title only?
February 11, 2024 - Shopify Community · Powered by Discourse, best viewed with JavaScript enabled
Shopify Community
community.shopify.com › c › technical-q-a › how-can-i-search-by-product-title-only-in-shopify-s-backend › m-p › 1691682
How can I search by product title only in Shopify's backend?
August 9, 2022 - Shopify Community · Powered by Discourse, best viewed with JavaScript enabled
Oscprofessionals
oscprofessionals.com › home › blog › how to hide a product from search results on shopify?
How to Hide a Product from search results on shopify
August 21, 2024 - Step1. Go to the shopify store > Create a product meta field > Mention name “Hide product from search“> Under the Namespace and Key section, enter “seo.hidden”.
Address 34, Mantri House, 34, Cement Rd, Om Sai Nagar, Shivaji Nagar, 440010, Nagpur
Shopify
shopify.dev › docs › api › liquid › objects › search
Liquid objects: search
A search can be performed on the following object types: ... The types are determined by the type query parameter. ... { "default_sort_by": "relevance", "filters": {}, "performed": true, "results": [], "results_count": 16, "sort_by": "relevance", "sort_options": [], "terms": "potion", "types": [ "article", "page", "product" ] }