Forums › Forums › Search & Filter Pro › drop down filter(auto count) not working properly?
- This topic has 20 replies, 2 voices, and was last updated 8 years, 2 months ago by Trevor.
-
Anonymous(Private) October 13, 2016 at 7:50 pm #63836
I’m trying to setup multiple dropdowns that filter out unavailable taxonomy term as you told me.
Somehow everything that show up even if auto count is enabled.I want to make two dropdown that work like parent and child.
Like this.
Product Category -> Product Line
I’d like to show only product lines that belongs to product category selected.Trevor(Private) October 17, 2016 at 10:15 am #64374Hi
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