Copy link to clipboard
Copied
Is it possible to predefine the search results of the Web App and then have the results displayed when the user arrives on the search page?
I'm trying to display a list of items that appear in multiple categories only. For example:
When you use the search option you can request that the results only show you items that appear in categories A, C and D. To be clear, I don't need to see a list of all the items in categories A, C and D, only the items that appear in all three categories.
Any ideas? There doesn't seem to be anyway of doing this via the Toolbox, sadly.
Copy link to clipboard
Copied
One way I know of is using ajax to perform the search when the user lands on a page. This page will have the search form with only the fields that you wish to use to search on it. Hard code the "values". I will point out though, that since you are using javascript to fetch the results and then display them, it is not beneficial to seo, its as if nothing is showing.
Copy link to clipboard
Copied
I also wanted to add that this is also possible with liquid, but you are limited to a collection of 500 items. If you had a total of lets say 700 items, then it will not work. Yet.