Forums › Forums › Search & Filter Pro › Woocommerce and multiple forms
Tagged: attributes, filter, multiple forms, woocommerce
- This topic has 3 replies, 2 voices, and was last updated 6 years, 3 months ago by Trevor.
-
Anonymous(Private) August 9, 2018 at 10:17 am #184915
So I’ve got an SF Pro search field on the home page set to only search Woocommerce products. It then correctly redirects and displays the results on the default Woocommerce shop page.
On the shop page I then want some taxonomy filters to filter the search results further.
However, it seems you can only have one form set to use the Woocommerce Shop as display results. Therefore I’ve had to add the 4 taxonomy terms to the same form as the search field, but hide the taxonomies in CSS on the home page.
Surely there’s a better way than that? Can I not have two forms – one for the search and one for the taxonomy filters, but still get the taxonomy filters to filter whilst on the Woocommerce shop page?
Thanks
Anonymous(Private) August 10, 2018 at 11:54 am #185105OK, that’s brilliant.
This then correctly redirects form #2 to the shop page and shows the correct search results with the correct taxonomy dropdown values.
Only slight problem is that when I then filter on one of the dropdowns using form #1, it resets the search results to show all products and then filters on that.
I think it may be something to do with having removed the free text search field from the taxonomy search form #1?
-
AuthorPosts