Forums › Forums › Search & Filter Pro › Choice Dropdowns
- This topic has 11 replies, 2 voices, and was last updated 6 years, 9 months ago by
Trevor.
-
Anonymous(Private) October 21, 2019 at 11:22 am #224219
Hi,
I’ve got a search form set up for Woocommerce with 25 fields plus a submit and reset. I load the form with the shortcode to display when viewing a category in the store. There are four categories and each requires different fields from the 25 created so after loading the form the un-required fields are hidden using css. This is working really well when using the auto-submit and auto counting with hide empty selected in each field. When the auto-submit option is off and the dropdown selectors update without a page reload it seems fine until a selection is made and then all the options load into the dropdowns rather than category specific. Just trying to work out why this happens.
Thanks
PhilTrevor(Private) October 21, 2019 at 7:22 pm #224286As you are using the WooCommerce Shop display results method, you can use the
Template Options->Enable filtering on Taxonomy Archives?setting.Then the taxonomy in question (Product Category) also needs to be in the form (even if hidden from display), and you must also have selected the
Detect defaults from current page->Choose which kinds of pages S&F will try to do this on->Tag, Category & Taxonomy Archives, then the plugin can do what you want. -
AuthorPosts