Change "search" on the top of search page with the actual number of search results

Hi guys,

Website: Vossani.com

How can I change the “SEARCH” on the search page to the actual number of results? Pic for reference:

Hey @flammagreg

It is difficult to do it without access to the store but here is a general way of doing it.

Step 1: Go to Online Store > Theme > Edit code > find the search.liquid or main-search.liquid file

Step 2: Find the line with the text {{search.terms}}
Step 3: Replace the first word of that line with {{ search.results_count }}

I can send you a collaborator request if needed. Please check your DM

1 Like

Hi @flammagreg ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like