I am currently playing with this great module, and trying to figure out the best approach to search/filter action.
In general, I have two module calls, one for displaying the filter form and other for showing all items below.
Lets assume that I have ~100 product items in the list.
There are 3 custom fields which I need to filter results with: location, size, instock. All of these are dropdown type.
In the page I put the calls like this, to display search/filter form on top of the items.
Code: Select all
{LISEProduct action='search' filter='location,size,instock'}
{LISEProduct}
If I put search call in the page template, and main lise call inside the {content}, search form will be there but after performing the search, dropdowns are set back to All.
Also tried to put search lise call inside the summary template, result is the same. Module is working, results are there but the search form dropdowns always getting reset to All. Its just not good UX in my opinion. Is there a solution for this, or am I missing something?
If I set the dropdowns to, for instance: Germany, 100, Yes, and hit the Search button, I would like to see results filtered below and the search form keeping these values.
As a nice addition to this, is there an option to add Reset button to go back to all results with one click?
Thank you all and keep up the good work.