Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,829 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9015 comments found.

How can i speed up the plugin? Now the query time is almost 4 seconds (202k query rows), archives are loading very slowly. https://prnt.sc/1wu37fn

I understand it. But, 202k row query no too much for each load? In my shop only 3k products. And plugin have 202k rows in this query on any archive page, regardless of count of products in current category.

The cache helps to speed up page loading, but the loading of products through the filter is still too slow, 6-10 seconds.

Polskoy, I sincerely want to help you. But for the moment I can only give you advise to optimize tables in your DataBase for example with WP Optimize plugin. Also you can increase RAM and CPU as I told you before.

In fact there are no any limits for rows selected from DB. If you will add more products, more taxonomy terms and more relationships you will get over 1 million rows selected on the page. Potentially this number is not limited by anything.

Technically I can limit it for example on 100K rows. But in this case you will not get correct number of products in a filters So it could not be a solution.

In next plugin versions I will add caching of such big SQL-queries to make them faster. In general I know about this problem and it has almost highest priority in my development plans. This requires several weeks of work from me.

But also I have to say that I tested Filter Everything on live WooCommerce shop with more than 5K products (customer who bought the plugin and asked about support) and it works extremely fast on this store. Because he uses VPS and has enough RAM and CPU to handle such number of products and taxonomy terms.

So as I already said, filtering speed depends from several moments – number of products and taxonomy terms, server capabilities, site optimizations and of course from the plugin optimizaion. I can only solve one thing from this list and I will do it. But you also can optimize other things from your side.

I hope this will help you to understand how to solve the problem.

Hello Polskoy.

I have sent you link to the improved version of the plugin via PM. In this version problem with site performance is fixed.

Hello!

I purchased the Filter Everything PRO Version, because I’m working with WPBakery Page Builder. I’ve come across a problem with adding the filter on my page. I’m only able to see the Plugin as a widget and not as a drag-and-drop element in the page builder as I wished. Furthermore, I’ve read several guides and watched tutorials, but can’t seem to find a solution in order to add my range as an element. Is it possible to add this object as an element or do you have another idea that could help me?

Thank you for your help!

Thank you for the answer!

Yes I want to add a price range slider on a page, and I’ve added a new filter by Custom Field Num. The problem is that the regular WordPress widget doesn’t exist in my page builder after adding the filters in my Filters Set. I wonder if I missed a step?

Thanks!  

bytecontent, if you can’t add regular WordPress widget you always can use shortcode for Filters widget [fe_widget]

Read please this article for more information about shortcodes, that Filter Everything supports – https://filtereverything.pro/resources/shortcodes/

Okay. Thanks!

Presale question.. Is possible to show the filter on desktop and mobile? In the backend there is 2 widgets Sidebar (desktop) and OffCanva (for mobile) if i placed the filter there , doesn’t show . I’m using the free version and the theme is Blocky please check https://madamelunacandles.com/shop/ Thanks

Hello joffre2020.

I checked your site and realized, that your sidebar is hidden on mobile version. Try please to add in the Filters -> Settings -> Experimantal -> Custom CSS next CSS code:

@media screen and (max-width: 1000px) { #main #sidebar{ display:block !important; } }

In the next version of the plugin this problem will be fixed automatically, I think I will release it tomorrow or next week.

Thanks, it worked !

Super! I’m glad :-)

Hi, friend.

How can we exclude terms that do not match various search parameters?

For example, we have an age and place filter and the results show us all the results that match age and place, but it does not show those that match two or more terms. For example:

Age: 5 (3 records)

Place: (10 records)

We need to show the results that match two or three values, not all those that have those three values.

https://www.loom.com/share/b2394147e7d147658b04dd2b86ca51d3

We use the values from the filter, we have three values. We are not using other filters elements. The problem is with AND, because AND shows all the items in term 1 and all the items in term 2. Any way to show only items that belong to both selected terms?

Hello kafesys.

I can not understand why on your video you have one filter in the Filter Set, but you have 3 dropdowns on your filters form. And also you have the ‘OK’ button, but my filters plugin for the moment supports only autosubmission – it filters immediately after you select any filter term without ‘Apply button’. It looks like you modified the plugin and I’m not sure how it works for the moment.

I would be glad to help you, but I can only to check it on your site if you provide me with credentials or open it for public access, because now it is hidden behind maintenance page. Please, let me know what option would be better for you.

Hello kafesys

I’m glad to notify you that the feature “Apply button” (filtering mode when you can select several terms and click on the Apply button) with opportunity to redirect filtering results to desired page is already available in the Filter Everything. Please update it to the latest version 1.5.0 and try to use it.

Hi, I have a custom post type ex: product; On product page i select 2 other custom post type (sections) using acf relationship fields. Now i need to filter products by sections. Even if i set the acf field without _ , the products have sections (acf relationship) selected I get just the message: There are no terms yet. Thanks

Hello, saveas.

Can you please send me screenshot of the problem do you have? Because I’m not clearly understand what do you need. Optionally you can send it in PM.

Hello, here is the screenshot: https://prnt.sc/1wuy8hn

Hello saveas

Thank you for your screenshot.

In general Filter Everything was not tested with ACF relationship field. All ACF fields that are supported and tested for the moment by Filter Everything are presented on this demo page – https://demo.filtereverything.pro/example/acf/

But you can achieve you goal with a little coding if you are familiar with it. You need to convert your IDs to Post Titles using Filter term name hooks https://filtereverything.pro/resources/hooks/#term-name-hooks

I would be glad to write this code for you but unfortunately it is outside from support rules.

Hello!

Finally my clients have bought your plugin. It’s great, thank you very much!

Only 2 questions:

- Do I have to install all the .zip that I have downloaded or I have to install only a part of it?

- Do I need to have the free and the pro installed or can I deactivate the free one?

Thank you so much for your help!

Best regards!

Hello PatQuin.

Great, thank you very much. You should install whole plugin from zip you downloaded here on CodeCanyon. Activate it. And only after you can remove the free version from your site. BUT if you have ability to remove the free version via FTP, it is better to remove it via FTP. Optionally you can remove the free version with the “Delete” link on plugins page in /wp-admin. But in any case CREATE PLEASE DB BACKUP before deleting. You can do it with the free Updraft backups plugin, for example.

Awesome! Thank you so much! Have a good day!

Hello Andrii! Filter stopped to work correctly (seems that after last WC release, but not sure). Can you help please? (Site is https://xn--90aij5ap4a.xn--p1acf/shop/ and I had already sent you credentials)

Filter works this way: any change in filter cancels prvious filter setting. So that only one filter can be applied (impossible to apply two filters from set).

Sorry, the problem was because of caching plugin. After excluding filter from cache it works fine.

I’m glad that you solved your problem by yourself. I would be glad to help all my customers immediately, but this spent all my time last days and I have no it to develop the plugin.

Hi!

When I use a “drop-down list” filter, the items in this list are not links, unlike other types of filters. And some filtering pages do not receive inbound links. How can I make the menu items in the dropdown list as active links?

Hello Alchemistmr.

Nice question. Technically you can not put tag <a></a> into tag <option> in dropdown as it would be error due to the tag specification.

So Filter Everything contains in every option tag attribute “data-wpc-link” that contains URL to the filtered page. I’m not sure how Google or other Search Engines handles such URLs. Do they recognize them as link or not – I think it would be better to ask a SEO specialist about that. I think Google recognize such URLs.

Optionally you can enabled Select2 nice dropdowns in Filters Settings and if you are familiar with JavaScript code, you can put <a></a> tags in HTML elements generated by Select2 dropdown. But such <a></a> tags will be dynamically generated on the page and I”m not sure that Google recognize them as links.

Also you can use Template Overriden feature to rewrite Dropdown HTML to your own – https://filtereverything.pro/resources/templates-overriding/

Stepasyuk, thanks for the quick response! Template Overriden – that’s what I need.

Hey Stepasyuk, on this page https://wordpress.p594991.webspaceconfig.de/de/publikationen I have 2 Blog elements and just want to filter the second one. but when I select a filter the first blog element does not load its elements anymore….

It is not filtering at all, I see at the moment.

Hello diezwei.

If you open the result by direct link – https://wordpress.p594991.webspaceconfig.de/de/publikationen/filt-ma-trends/ you will see that posts in the second blog element are filtered correctly.

Such behavior is the evidence, that you have wrong configured AJAX. In general the AJAX option has notice, that you should use enable it only after you configured all filtering https://prnt.sc/1wqetek

How to configure AJAX correclty you can find in this article – https://filtereverything.pro/resources/plugin-settings/#ajax

Hey Stepasyuk, I changed the ” – Select” in the dropdown, as you explained in another comment with dropdown.php File

esc_html( sprintf( __( ’- Select %s -’, ‘filter-everything’ ), $filter[‘label’] ) ) to your own.

But how can I change it for english and german site seperately? Can you give me a hint please? :)

In general your question is out of Filter Everything plugin support policy :-) But Loco translate allows you to create *.mo and *.po translation files and after they works independently from Loco translate availability on your site. You can disable it after translations.

I’m not sure, but I hope that WPML can do the same.

I found a way. First I had to run the “Theme and Plugin Localisation” of WPML and then I could simply translate the string.

Hi Stepasyu, great plugin! Really the best there is! i’m currently testing on a local server how the filter plugin reacts on a plugin that makes all variations single products on shop. But i run into the problem that the filter does not make this transition.

For example, i have a T-shirt that has 3 colors (red, blue and yellow) and 3 sizes (Small, medium and large).

Now i see 9 Tshirts in the shop but when i filter on red it shows all 9 tshirts (it only filters the parent) Is there a way to let the filter cooperate?

Thanks for you reply

This problem is solved in the latest update (1.3.0)

But still the filter only counts the parent and not the variations. For example Red counts 3 shirts. In the filter it shows only 1

Sorry, it’s not completely resolved. You can only filter on the main product. Everything that is created with the plugin single product variations is not included in the filtering. If you hide the main product (so that you only see the variations as a product in the store), the filter plugin will not see these variations and you will not be able to search for them. Is there any other possibility that this is possible?

Hello stefan872.

Did you enable checkox “Used for variations” in the Color filter?

Hi my friend:

I need to create a form to search in a taxonomy.

1. May a create this url? website.com/page/?ecats=barcelona

2. Or something like this: website.com/?page_id=3893&ecats=barcelona%3Bdijous-18-nov%3Bdijous-25-nov

How to create a form to search?

Hello kafesys.

I’m not sure I understand what do you want. Bit if you need filtering URLs to be like website.com/page/?ecats=barcelona you have to use Free version of the plugin – https://wordpress.org/plugins/filter-everything/

If you want to use PRO version with URLs like ?ecats=barcelona you have to do modification of the PRO version. It is possible and requires 2-3 hours of work.

Filter button not work on mobile (chome). Any actions on touch. You can try it on demo preview.

UPD: sorry, i recheck it, all works

Thank you, Polskoy for your report. Let me know, if you will find something else.

Hi,

Is there a way of making the default woocommerce results count compatible with the filtering (when ajax is enabled?). Currently, it doesn’t update the results count when I have ajax enabled on the plugin.

Thanks

Hi itsjonesy.

Just set “CSS ID or Class for posts container” div that contains WooCommerce results count also. And it will be updated every time when you select a filter.

hello is it possible to add reset buttons for each select field in the search filter?

Hmm. But these buttons already exist. Example – https://demo.filtereverything.pro/example/dropdowns/color-red/brand-issa-plus/c-kind-dress/

They called “Selected fitlers” or “Chips” You can Reset all selected filters in one click or remove any of them one by one.

Chips can be added as widget or as shortcode or even via hooks. More info is here – https://filtereverything.pro/resources/shortcodes/#chips

Is it what you asked about?

that’s exactly it…I missed it my apologies …

thank you for your quick answers

No worries, I was glad to help you :-)

3Q

3Q Purchased

Hello…

I have issue with plugin, im not able to find any colors for filtering… Can you kindly show me can i?

Secondly, how can i display category with subcategories? example; LIPS i want it has drop down subcategories, lipstick, lipgloss, lip balm, etc…

3Q

3Q Purchased

hello again!..

i have sent you an mail kinldy confirm if you have recived it.. thank you!

I received, I confirm. I will check this as soon as possible.

3Q

3Q Purchased

thank you! awaiting.

Hi I am just starting a small E-commerce website, I found your plugin nice. I would love to buy it, but before I need to clear something.

I am having a issue while trying the free version.

Everything is working fine. Ajax also, filter, everything OK.

Except one issue am having is that :

when I selects category from checkbox, the price filter slider moves to 0 and both min max shows 0

Is this my website issue ot in plugin I dont know.

Please if you could clear this to me.

Regards

Jitendra Khatri

https://www.khatriindia.cl

Hi Jitendra Khatri.

Thank you for your interest in Filter Everything. Usually range slider tries to be adaptive to filtered products and calculates Min and Max values every time when you select new filter term. In your case it looks like compatibility with 3rd party plugin issue. Do you use some plugin for product prices? What meta key you use for the price filter? Or maybe it is bug in my plugin related with variable products. After the last update I found several bugs and already fixed them, but I will upload new version on next week. Optionally you can send me credentials to your /wp-admin and I will check the problem more deeply. You can send them via PM if you click on my username.

UPD: I see that you also activated Yith filter plugin. I think the reason of the problem is conflict between my Filter Everything and Yith plugin. Or maybe “c” as URL var name is not better solution. Try to change it on “category” or something like that in Filter Settings -> URL var names.

Hi, I’d like to report you a compatibility issue with polylang. I’m using Oxygen + Polylang + your filter everything and as soon as I enable the translation of the custom post types and products, it all breaks down and goes blank with JQuery errors on the console. It could be directly Polylang problem maybe, but I think it’s a good idea to let you know :) Anyways, I disintalled the Poly and I’m going for Translatepress now.

Have a nice friday :)

Hi GreteMK.

Thank you for your report. I added this task to my todo list and will do it in future updates.

Hello GreteMK

I’m glad to inform you that now Filter Everything PRO supports Polylang plugin.

Hey, we use your plugin, and have a little problem , on filter on product category , i set to show by abc , and now some categories don’t show by abc , how to fix it ?

cicesk, can you please send me URL of the page, where you have the problem? You can do it privately via PM. Also you can send credentials to the /wp-admin, it would be much faster.

Hello cicesk.

I checked your categories and they are sorted correctly from the algorythm point of view. Categories that begins with “J” character are first because Latin characters always are first before Cyrillc characters.

But if you need to move these categories in other place, you can select value “Menu order” for the “Sort terms by” option in the Filter and specify desired order for Product categories manually on their admin page.

Will this support WC variation custom fields for adaptive filtering on category archive pages? We display all variations in the loop so if the color (for example) isn’t available it will not show that filter option.

Hello studioleland.

Good question. For the moment it works in next way: for example you created filter by Color. You can enable in the filter options “Used for variations” it means that you have variations created by Color. And in this case if you select Blue color in the filter, you will see only that variable products, that have at least one variation with color blue. If you don’t enable “Used for variations” you will see all variable products that have blue color attribute.

All this make sense for variable products. Simple products will be filtered as usually independently from this checkbox.

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