Hi,
I want to create a page that returns a custom suggest.json.
I’ve created a very basic search template that should show results from a query with just the body of each.
Template: search.suggest.liquid
{% layout none %}
{% for item in search.results %}
<p>{{ item.body }}</p>
{% endfor %}
But I don’t know how to reach this template, I’ve tried the following:
/search.suggest?type=page,article&q=about%20us*
/search/suggest?type=page,article&q=about%20us*
But I don’t see results for either. When using the same query on the search page it returns results, so I know this query should work.
Any ideas?
Thanks,
Stu