Forums › Forums › Search & Filter Pro › Double search in one page
Tagged: double, search, tags, taxonomy, woocommerce
- This topic has 7 replies, 2 voices, and was last updated 6 years ago by Trevor.
-
Anonymous(Private) November 15, 2018 at 4:22 am #193691
Hello Guys,
So a quick background reminder.
My website is https://shipping.careers/shop/ and a few months ago we had a discussion with Trevor on how we can manage to have two search filters in one page. Specifically, I am using woocommerce shop to show job ads instead of showing physical products (actually my products are the job ads). In that respect, I have two main categories 1) shore careers 2) sea careers, where the user by pressing on them will take them to the corresponding results page. Here comes the tricky part. When the user chooses one of the two criteria (taxonomy for product category and product tags) that filter the results, the second drop down does not alter automatically in order to show the corresponding taxonomy that has results.
An example:
1) Navigating to: https://shipping.careers/shop/
2) Clicking ” I want to work ashore”
3) Choose from drop down “Choose your country” – Cyprus
4) It will display “Test product” but on the second taxonomy drop down it will show apart from the corresponding tag “Test” all the rest tags from other categories and therefore confusing the user that there could be potentially job listings with other tags.Is there a way we can fix this?
Let me know your ideas!
Thanks
Leonidas
Trevor(Private) November 15, 2018 at 1:35 pm #193724I do not see the ‘I want to work ashore’ option or link on that page?
From what I can see, you need our auto hide feature.
In the form settings, you would get the fields to dynamically change options based on choices made. To do this, on the General settings tab:
Set
Auto Count
(both settings) toON
And then in the Form UI:
In each field set
Hide Empty
toON
Anonymous(Private) November 19, 2018 at 5:08 am #193891Hi trevor,
I did not put it there on the dropdown. THe way i have made it on the website is that you click on one of the two categories and then (blue and green icons) and then in the dropdowns are the subcategories. These two big main categories are mutually exclusive so I have on the drop downs only the different sub categories.
That’s why you don’t see them there.Leonidas
-
AuthorPosts