Forums › Forums › Search & Filter Pro › drop down filter(auto count) not working properly?
- This topic has 20 replies, 2 voices, and was last updated 9 years ago by
Trevor.
-
Trevor(Private) October 17, 2016 at 10:15 am #64374
Hi
It all seems to work for me?
As to not showing results when the page loads, you need to edit the results.php file, like this:
global $searchandfilter; $sf_current_query = $searchandfilter->get(1726)->current_query(); if (!$sf_current_query->is_filtered()) { // put anything you want instead of the results for the page loading without query parameter } else { // put the output part of the results.php here }Anonymous(Private) October 17, 2016 at 4:51 pm #64571Dropdown behavior I want:
1.
Category dropdown have to show all category at any situation2.
Product dropdown have to be empty when the page loads.
When select Category, it have to shows products belong to selected category.Thank you for the function to show blank result.
-
AuthorPosts