Forums › Forums › Search & Filter Pro › Advanced Woocommerce Filter
Tagged: woocommerce advanced filter
- This topic has 2 replies, 2 voices, and was last updated 6 years ago by Anonymous.
-
Anonymous(Private) November 7, 2018 at 2:22 pm #193017
Hi,
We are using the pro version on one site and we wanted to implemented it in a new woocommerce site.
It’s a multi-categories store, meaning we have electronics, clothes, cars and others. Is it possible to make the product attributes changes depending on the kind of category it’s filtering? So, if I’m in a car category I only see product attributes assign to cars and don’t get product attributes from clothes.
And the other thing we want to do, is to have a region category filter at the top of the filters.
Meaning that our product are sorted by region to which they are assign. And we would like the ‘product_cat’ and custom-taxonomy (events) to be determined by the region. So if one region don’t have any products assign to a event, the events taxo don’t show up. And the categories would behave the same way. Meaning that if you select a region, then the category would see if it’s available in that region (if a product is assign to the region).Is it possible to do this with this plugin?
Yours,
DistrictWeb
Trevor(Private) November 7, 2018 at 2:44 pm #193022You can only do as you want (showing different fields in the form) using custom Javascript. It is something we plan for sometime in the version 3 release cycle. But, what you want in this regard CAN be done, as I some other users have reported that they have done it.
The question about region seems much the same. Each field in our form must be drawing its terms from a different taxonomy or custom field is the only rule you must follow.
I am sure someone has posted the javascript that they used, maybe this:
https://support.searchandfilter.com/forums/topic/hide-empty/
There are specific settings in our form that you must also make, plus the ‘category’ field must be in the form (even if hidden with CSS).
If you are using the WooCommerce display results method, on the General Settings tab you should select to Auto Detect the Category. You will also need both Auto Count settings ON.
On the Display Results tab, you should select to stay within the category pages.
In the form fields, you need to select Hide Empty.
-
AuthorPosts