Hi team, I’m testing the functionality of removing the search bar from certain verticals on an iFramed search results page. I’ve commented out
{{> templates/universal-standard/script/searchbar }}
and
{{> templates/universal-standard/markup/searchbar }}
from certain [pages].html.hbs
files, and although this successfully removes the search bar, what I’m seeing is that verticals without the search bar don’t seem to send a query. This is true despite the fact that when I submit a query in a vertical with the search bar, then click to a vertical without a search bar, the URL param query=[query]
is maintained. The networks tab of Chrome DevTools confirms that no query is actually being sent.
I know there are other ways to accomplish this functionality with the React Component Library, but is it possible to eliminate a search bar on certain verticals using Handlebars?
Thanks for your help!