Forums › Forums › Search & Filter Pro › 2 issues
- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by Ross.
-
Anonymous(Private) December 23, 2015 at 11:06 am #32789
Hi,
I have 2 issues.
Basically I have a shop (not woocommerce. easy downloads) and I have products which appear in 2 or 3 different categories (for example, “men’s shirt” can be either “premium”, “basic” or “simple”, plus it can also be “winter” or “summer”).
I set up 2 filters:
a) a filter for “premium\basic\simple”
b) a filter for “winter\summer”I’m using them as a widget in my category pages. my issues are:
1) when i’m in a certain category (for example, “men’s shirt”), and i press “premium” – i get ALL “premium” results (from “women’s shirt” category too). How can I make the filter know it’s supposed to filter only from the category page i’m posting the search on?
2) I have 2 filters in the widget area, but can only press 1 at a time. for example, once i filter “premium\basic\simple”, the radio buttons become “dead”. unless i refresh the page, pressing them won’t matter.
note: i used css to redesign the radio buttons because that’s how my client wants it to be. he doesn’t want any checkboxes or dropdowns. i guess if there was a dropdown it would be easier (i could simply search for “premium” and “winter” in “men’s shirt” and reset the search each time. but my client wants it otherwise.
your help appreciated!
thank 🙂
Ross Moderator(Private) December 23, 2015 at 10:55 pm #32825Hi Ido
To answer your questions:
1) This is not yet supported fully, however there is a workaround possible until implement this as a feature.
First, under the general tab of your search for you must select the relevant options under “detect defaults from current page” – this will auto fill form elements based on the current page.
The second stage, is you need to add the the category field to the search form, but you can then hide it with CSS, this will achieve the effect you want.
Just to note, you should not be using “categories” for both your fields – please see the notes here and make sure you are using custom taxonomies, or I guess you could be using category & tag fields: http://www.designsandcode.com/documentation/search-filter-pro/getting-started/adding-new-fields/#Note_Some_Restrictions
2) This sounds like some kind of JS issue.
If you have followed the above and its still not working then please provide a link and I will take a look.
Thanks
-
AuthorPosts