Limit search results to product titles only

Topic summary

Goal: restrict Shopify (Debut theme) search to match only product titles. The requester has not modified search.liquid and has basic HTML/CSS knowledge, limited Liquid.

Attempted solution: add a hidden input name=“type” value=“product” to the search form to limit results to products. Outcome: did not achieve title-only filtering; results still include products without the term in the title (likely matched in other fields like description/tags).

New suggestion: another input configuration for the search form was provided. The helper asked the requester to test it and report the results.

Artifacts: a screenshot of search results was shared to illustrate the mismatch; code snippets are central but not visible in the thread excerpt.

Status: unresolved/ongoing. Key open question: whether native Shopify search can be restricted to product titles via form parameters alone, or if additional theme customization or a different approach is required.

Summarized with AI on December 16. AI used: gpt-5.

Hi! Is there a way to limit search results to product titles only? I don’t have any in-depth knowledge of liquid, only basic html and intermediate CSS. I saw 2 forum posts regarding this topic but I think they were custom codes and still unresolved. I am using the Debut theme and have not modified the search.liquid file. This is the form code I have


Adding should work. Try this code instead @momzilla


1 Like

Hi Lixon! I tried your suggestion but it didn’t work. There are still products included in the results that don’t have the search term in the product title.

1 Like

Hello ,

You can use this input for your search form.


Please explain the results.