Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,737 sales
Recently Updated

Stepasyuk supports this item

Supported

This author's response time can be up to 1 business day.

8986 comments found.

Is it possible to set collapsible filter items to opened by default using a custom class or code snippet? Thanks

Antiigen for the moment unfortunately it is not possible. I planned to add such option in future updates, but this will not happen soon as there are some more urgent features should be implemented for the plugin.

Hi Antiigen

I’m glad to inform you that in the latest plugin version 1.7.1 you can make filters opened by default. As it is not very popular feature, I did it via hook, but maybe I will add this as separate option in the plugin UI later. Please, see how to make a Foldable filter opened by default here – https://gist.github.com/wpserve/aaa55f33224196671883116d6f694e32

Hello, I’m trying to implement Ajax Search query but it’s not working as it mentioned in the documentation i tried the unique container class and id as well but not working I’m using the listeo theme can you please help me to get this done soon.

marlenejguevara

Indeed you can use the same filtering criteria only one time in single Filter Set. But why you splitted all you categories between different Filter Sets if you could use all them in a single Filter Set?

But our scenario is different we are using Single Category and filtering from that. you can see in our page every single filter fields are single category so i can’t do it in one filter

Okay, it is obvious that you know better what do you need.

Hello, I am using your filter plugin on https://susapparel.wtf The plugin works great on my home page which is my main shop page.

However Id like to set up sub category pages. Where for example I have footwear, I want to show the filters there. In the widget the the filters show the proper information however they do not filter the products from the WC grid

Hello justchris86

It means that on your Shop page and on your Product category pages you have different WP_Queries. And this requires different Filter Sets for the Shop page and for Product category pages.

Dear Stepasyuk,

I did a wonderful job with your plugin (with more than a 100 icons instead of classic checkboxes). Successfully switched to Ajax, but noticed that custom shortcodes are not ‘refreshing’ after the AJAX call.

In example, I am echoing .count((flrt_selected_filter_chips($include_reset = false))) on the front and I am wondering if there is any decent way to hook those to your plugin?

(please delete the previous comment, I posted it from my associates account)

Hello gunterqb

Thank you for purchasing the plugin.

It seems you added your shortcode outside from the container that is specified for “CSS ID or Class of Posts Container” value. You should optionally replace content that your shortcode displays inside this container or change the container to wrap the shortcode content.

FYI – all content inside the container specified in “CSS ID or Class of Posts Container” is replacing via AJAX call.

Well yes, but actually no :-)

I did tried with that .class option, but the thing is that the Elementor’s Archive post widget (the one that is being filtered) is in different Section from the shortcodes that returns the chips count and matches count (due to the design req’s).

Assigning the same class to different Elementor sections (columns/elements) for that purpose unfortunately does not works, nor does assigning separate classes to those sections and listing them in the “CSS ID or Class of Posts Container” option.

Placing the shortcodes and the posts within one/same class container works great with the AJAX calls but I cannot change the design :-]

Hmm gunterqb.

Ok, I understood you. In this case I see two possible ways:
1) You can specify common wrapper for “CSS ID or Class of Posts Container” option that contains both – you posts and shortcode content. In this case all content inside will be replaced after AJAX call.

2) You can write your own JavaScript code that replaces desired content outside from the “CSS ID or Class of Posts Container” and attach this event to the jQuery(document).trigger("ready"); event.

Here is some more info about that – https://filtereverything.pro/resources/ajax-related-problems/

What I am trying to do is create an Elementor Products Archive template from the Theme Builder. And I would like to use Filter Everything filters in this template. As per you Elementor demo and your You Tube promotion by WPTUTS. I am not using the sidebar as per Appearance – Customise I cannot work out what I am doing wrong Regards, Andrew

burnagebete

Thank you for your credentials. I’m not sure what is your goal, because you have several Product modules on your Shop page. But I added Filter Everything widget to the top of Shop page and it filters products from the first Product module.

Use it please as example and designe your Shop page structure as you need.

Thank you Stepasyuk, I am quite ill at the moment and this is my first ecommerce site. I have been experimenting with the best elementor widget to use for the shop page. Where I am now struggling, is to replicate what you have done to create the filter everything filter on the page and link it to the archive product widget. The Filter Everything widgets are still not available in Elementor. I have tried to copy across the Filter Everything from one Elementor page to another but I then do not know how to link to the Archive Products widget. Also, no doubt I will want to create new Filter Sets and apply them to my pages. I still do not know how to do this. I really appreciate your help. Best regards, Andrew

Ok, burnagebete

The Filters widget you can find in Wordpress section of the Elementor sidebar – https://prnt.sc/5RiYl7Vz85G9

To relate Filter Set with desired Archive products block you have to experiment with different WP_Queries in the “And what to filter?” field of the Filter Set. Please, see example – https://prnt.sc/yr_EOluhB1zn

Hi! First of all thank you very much for the perfect and functional plugin! We use PRO version and and faced such an issue. There is a sale page in the e-shop. We need to make a different sorting of product categories on this particular page. I mean that all archive pages have an alphabetical sorting, but on the sale page we need to display them as in the menu. Will the sorting by ID of terms work or how to activate the manual sorting (it’s inactive now)? And how to display this another filter on the sale page?

Hello Raposa28

Thank you for using the plugin. But support is available only for account that purchased the plugin. Please write your support request from such account or purchase the plugin from current.

I have purchased Pro version and its pretty useful and has cool features. recommended!

But I need some support about few things :

1) I have set Apply mode and hidden some filters while category is not selected. but it takes too much time after ticking one of the category and after 5-6 seconds it will load new filters. First i should easily choose filters and then press Apply/Ok to see the results, but this is too time consuming to choose few filters. kindly check the video or try it yourself at: superstore.ge or view video https://youtu.be/1BpsjQVsqpE

2) as you see in few fields translation issues occur: ka:, how do I fix it?

3) How to put just text search for product titles or descriptions? thank you in advance.

achi1

1) No, you can disable and remove the Free one. But before that please make DB backup for any case. PRO version has no automatically updates, you should receive notification from CodeCanyon about the new version if you subsribed on these type of notifications.

2) HTTP error 400 is Bad request. Maybe the problem is that saving data for too much variations is not allowed by your server configuration. You can try to increase it by changing max_input_vars value in PHP or post_max_size You have to ask your hosting support to help with this.

1) Got it, thanks. 2) Only when your plugin is ON we face that error. otherwise variations work well. BTW we have around 5K products on website.

achi1

I understand your logic, but the reason of such problem could be any other plugin that increcases input vars count. To solve this problem you have to change configuration on your server.

Similar problem was with one of my customers 2 months ago – https://codecanyon.net/author_dashboard?filter=all&term=max_input_vars#comment_27741739 The customer solved it. Your case is the second for 993 PRO and over 4000 Free plugin’s installations. It is obvious that it is not bug of the plugin.

A great plugin. 2 requests if i may. The ability to duplicate filter sets would be nice and the option to add more places to add a filter within the Where to filter? under settings. Specifically targetting multiple categories with the same filter. Other than that its a nice plugin and allot easier to configure than other filters i have used in the past.

No problem, i have ran into an issue though where a filter is not working when assigned to any category. I have to use a filter set per category. Not sure if that is a bug or a configuration issue. I’m using DIVI and configured the layout builder to diplay the category pages.

The option “Any Category (for common query across all Category pages)” works only for common (the same) WP Query that presents on all Category pages. You have to experiment with the “And what to filter?” value in dropdown to find what exactly WP_Query works for you.

As option you can select “All archive pages for this Post Type” that also will work on all Product category pages.

Thanks, i’ll give that a try

Hi! We have a strange problem/bug with one of our filter. It don’t know if it could be a conflict with another plugin.

We have a filter set with 3 filters on a page (2 taxonomies and one custom_field).

The problem is that every time we add or update a post, the filter using a custom_field disappears.

The only way to bring this third filter back is to go in that “filter set” and save it again.

Any idea what could cause this problem? We use pods on our site.

I did a lot of trials, changing order, changing de type of filter, recreating the filter.

One thing to note: if I uncheck “Hide empty Filters”, the filter appears, but it is empty. So it looks like Filter everything can’t access the custom_field after some change in the website content (or database). But saving the filter again reestablish a connection?

Hi expomangersante

FYI – filter terms are stored in cache to make filtering work faster. This cache is updated every time when you update any post or product on your site. You also can refresh the cache if you add to your site URL special parameter.

For example your site is example.com In this case URL for refresh the cache will be example.com/?reset_filters_cache=true Add please this parameter to your site URL, open the page and cache will be cleared and your Custom Field filter should work as expected.

Thanks Stepasyuk,

I tried ”?reset_filters_cache=true”.

Yes, the hidden filter is back. So it works when I add your parameter to the URL on the pages that contains the filter.

But I don’t see how to integrate that in the website. Because I need to go on each pages that contains the filter to reload the page using those URL parameters.

There’s also the issue if someone get to our website with a direct link. That link doesn’t contain the cache reset parameter, so it wouldn’t refresh the cache.

The problem seems that the filter automatic update doesn’t work when updating a post. So I’d rather fix that problem.

Otherwise, is there a way (or a hook) to add something in function.php to update the cache automatically after updating a post?

expomangersante

FYI ”?reset_filters_cache=true” should be opened once to reset all filters cache on all pages.

From your words it seems you use a cache plugin that show you cached pages and you do not see correct filter terms after any updates on your site.

In this case my advice is to clear both – filters cache and your cache plugin cache after any changes on your site.

Hello, I ma having issues with my install. I did have it working but randomly it stopped. it does not show up on my shop page as I have assigned it to.

Hello justchris86

It seems you have to check your Filter Set configuration maybe you changed something in your Shop or site settings and current Filter Set config does not match to the Shop page.

Or maybe your Filters widget was removed from the page.

Hi Stepasyuk, everything works well, however I would have one question. I am using drop down filter type. The default value of the filter is ”- select filterName -” I would like to remove the select piece or completely override this text. Is it possible ? Thank you

Hi dvidh2

Thank you for purchasing the plugin.

Yes, sure. It is possible. You can override filter dropdown template in accordance with this article https://filtereverything.pro/resources/templates-overriding/ and change that phrase to your own.

Hello, I am using MyListing theme, which creates custom post types. I let users create their business page and inside those pages I place the Woocommerce [products] shortcode to display their products. 1- is it possible to place filter and sorting widget on all of those pages with the Pro version? how can I select those pages all together? 2- the [products] shortcode is placed inside a tab, might it be a problem for the filter to work correctly? (e.g. the url is myweb.com/page1/#products) 3- can I pass arguments to the filter shortcode in order to display only the products added by a defined user? it is like a post author filter, but I need to pass the author ID as an argument instead of adding a filtering field, otherwise users could display products by author A inside the business page of author B 4- in case the previous question is not possibile but I am able to pre-filter products (based on author ID), will the filter be only populated by terms of the displayed products instead of all the terms of all the products in the catalogue? and subsequently filter only among those pre-filtered products?

Hi, I have tried to add the post filter to my blog page and selected all wp_query in it but still the post filter didn’t work to filter the post in my blog page. It still showing all posts after I checked the category to filter.

https://siriusa.asia/supplements

Please help. FYI, I am using a customized post list to organize my posts, is it affected the plugin?

Okay, it seems it will be much faster if I check it myself.

Make please support preparations in accordance with this document and let me know here in comments that you did it.

Hi, I have sent you the credentials through email. Kindly check for it. Thank you.

Hi chrislee275

You had to select correct WP_Query for your Posts module. This query is Post query #4 in your case – https://prnt.sc/7KSk6pwLBbtK

Here is working filtering example – https://siriusa.asia/supplements/category-founder/

Super awesome plugin :) just wanted to say that!

Thank you very much!

I’m very happy to hear this :-)

Hi,

I have some questions before I buy this plugin.

1. Can I add a custom list of tags/taxonomy to show inside of all available(FREE)? 2. When you will add support for multi-select? I see you some replay from a year ago and still not added that feature requested by many users here.

Also, one more question. I see you have added wpc_filter_taxonomy_term_name. Are any hooks to change slug? I want to show something like prefixURL-customslug inside of prefixURL-tagslug.

Can I order the terms selected by custom order? Like IDS (ID1, ID251, ID213, and so on)?

Thanks!

Would you be able to share the css you used on your demo site?

Hello buzzinbilly

In general it is not private anyway, because if you are familiar with web development a bit you always can copy any CSS from almost any site. But let me know what exactly CSS and on what demo site page you are interested in? In this case I can provide you with needed example.

Hello, I just purchesed filter everything pro and it works fine so far. I have 2 questions right now:

1. I am filtering a custom taxonomy (tag) via ACF output = term object but it shows only the ID’s in my checkboxes, how can i change that to names?

2. is there a way to get a search field so i can search bij custom fields? or do you suggest a other solution for this?

edpeeters

You have to replace 'tax_object' with 'ingredient' if it is field key in your case. And also you have to replace 'product_cat' with 'post_tag' if you use Post tags.

thank you a lot, it works fine now.

Hello edpeeters

I’m glad to inform you that built-in Search Field compatible with filters, AJAX and that allows you to search Woo products by SKU was added to the latest plugin version 1.7.8. You can update it automatically if you have activated your License key or download zip here on CodeCanyon.

Thank you. Regards.

Hi,

is it possible to use the free/pro version of your filter plugin with woocommerce products component with manual selection ? It is very important to me to filter only upon products in manual selection. Thank you

Hi dvidh2

Thank you for your interest in Filter Everything PRO.

Yes, it is possible with PRO version of the plugin as only it allows you to filter custom WP_Queries. Note – this implies that manually selected products relates to the WP_Query that receives them from DB.

Thank you.

is this plugin is compatible with listeo and listingpro listing directory sites ?

Should be compatible. But as I said you have to ask about support for the free version on WordPress.org forum – https://wordpress.org/support/plugin/filter-everything/

Hi i have trying to get the filter everything to show in widget or elementor page showing nothing why is that. i tried in three website but it’s not showing i followed the documentation as it is

Hi basithibnukamil.

Thank you for your interest in Filter Everything.

This comments section is provided to support users who purchased the plugin. As I see you didn’t do that and I can only suggest you to ask about support for the free version on WordPress.org forum – https://wordpress.org/support/plugin/filter-everything/

My client have purchased and I’m working on it . I working on pro version only filter can not be view at any place widget or elementor

Ok, sure. I believe in this. But Rules are Rules, ask please you client to write question from its account and I will answer him. Otherwise I can not provide any support.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey