Welcome to the Liquify Community

Updated 2 months ago

Search not working

S
J
8 comments
Search not working
Additionally, in the cloneable the default scrollbars are a bit ugly, is there a reason why they are set to show?
But the big problem on my site for now is it always says "no results found"
Hey, I think there are some wrong/missing attributes, for example on the items themselves:
Wrong: li-for="product in collection.products"
Right: li-for="product in search.results"

I think this needs to be updated in the template
In regards to the scrollbars, they a generally rendered by the browser, but you can try to play with the overflow property
The sort is also still wrong. You can unbind it from the component and put the following on the select element: li-for:inside="option in search.sort_options"
Seems like the search features in the template are very buggy. I was hoping it would just work out of the box. The search.results attribute did work, but it's still displaying the "no results found" message underneath. For now I'm just hiding the search features on that project.
Hey @Seth, I updated the template and it should work now. You can just open the new one and copy the attributes over. The filter, sort and pagination changed, so I would recommend you to go through every element in the cloneable and look for attributes. Sorry for the inconvenience
Add a reply
Sign up and join the conversation on Discord