- June 1, 2016 at 1:52 pm #8831
I’m not sure this thing will be possible but to the point :
Main search on the site is responsible for finding firms based on the city they are in.
Now the search works on checklist – for now it’s not so irritating because there are only few cities, but when there will be 30 or 40 of them, this can be a pain.
While changing the checklist to dropdown option – it’s almost perfect but there is only one possible city to pick.
now when I change option to drop list I can pick let’s say
But what would be a perfect solution :
Is there a way to insert a default search option that would show “All Cities”?
The fields are defined in Frontend Search Settings > Custom Fields > Miasto
Any thought about this will be a huge help!
If you need any more info or something isn’t clear, please let me know
That plugin is amazing!June 2, 2016 at 7:47 am #8840
Thank you for your kind words! It is actually possible to add an “empty” option, which basically ignores the filter: https://goo.gl/vVwCqH
You can basically add this line on the top of the checkbox list:
It’s not exactly equivalent to “All cities”, it’s rather “Any city”, because it simply ignores the filter. In case of “All” it should check if the custom field exists and if the value is within all the provided values. But I hope it still does the job for you 🙂Best,
If you like my products, don't forget to rate them on codecanyon :)
June 2, 2016 at 1:00 pm #8844
I think that will do the job 😀 thank you very much !
I’ll definitely need to spend a day or two to look more deeply into all things this plugin can do. Probably it won’t be enough 😉
Have a goooooood day !
You must be logged in to reply to this topic.