Forums › Forums › Search & Filter Pro › Can't get it to work properly with Woocommerce and category collapsing plugin
- This topic has 6 replies, 2 voices, and was last updated 9 years, 5 months ago by Ross.
-
Anonymous(Private) June 8, 2015 at 9:43 pm #19118
Hello Ross,
I purchased Search and Filter Pro today. I’m trying to get it to work properly with this Woocommerce category accordion plugin. http://codecanyon.net/item/woocommerce-category-accordion/7117371
What i want to do is to use that accordion plugin to display all the main and sub categories in top of the sidebar.
Example (right sidebar): http://demo.techieresource.com/plugins/woocommerce/shop/
And use Search and Filter Pro to filter between two custom registered taxonomies, brand and Type. (These are registered within the Woocommerce product category).
The accordion menu works fine. When i browse to a category or sub category the accordion stays open like it should. But when i click on a filter term it searches the products, but the accordion is closed after that. This is (most probably) because the URL changes to something different when filtering with Search and Filter Pro.
An example:
http://www.site.nl/product-category/main-category (Accordion open)
http://www.site.nl/product-category/main-category/sub-category (Accordion open)After search with Search and Filter Pro
http://www.site.nl/product-category/?_sft_brand=fastfender (Accordion closed)
Is there a way to make this work, hopefully without customizing the plugin?
Hope you get the idea. If you need more info, please let me know.
Looking forward to your response.
Regards,
LaurensRoss Moderator(Private) June 9, 2015 at 2:22 am #19132Hi there
We cannot guarantee that this plugin will work with the one you linked – in fact I think its likely that they won’t work together as they are trying to similar things in different ways…
I think some hacking would be in order – however I will mention a new feature I have been thinking to add where S&F will use native WP urls for really basic searches (using only taxonomies) like you mention above – however there is no roadmap for this yet.
I am adding another “field type” for all taxonomies though – which is called “list” and is simply an unordered list of links. I think you would be able to achive the same effect but you would need knowledge of html/css/JS – you would need to build the accordian functionality yourself using jQuery – but the new list type should support this.
Thanks
Ross Moderator(Private) June 12, 2015 at 11:16 am #19406Hey Laurens, I’m afraid S&F can’t just add itself on top of other methods – and URL you see when searching cannot be updated/modified I’m afraid.
I will at some point try to make “pretty URLs” but I don’t think I will make a combination with this and other filtering systems.
I’m working on 2.0 right now so hopefully the “list” feature will be ready soon.
Thanks
Anonymous(Private) June 12, 2015 at 1:51 pm #19428Hello Ross,
Allright, i will definitely be waiting for the 2.0 update :)!
Coming back to my previous message, is there something to make of it? Something similar like that example site i included? Do you know a method, maybe some kind of external plugin? Sorry for asking, but it would really help me on my way.
Regards,
Ross Moderator(Private) June 18, 2015 at 12:58 pm #19801Hey Laurens
I’m afraid there is nothing I can think of! If you find something that works it would be cool to post back here for anyone else wanting to do the same.
Thanks
-
AuthorPosts