Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,202 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9165 comments found.

Hi, I have a pre-purchase question.

I want to use your plugin for filtering posts. Is there an option to automatically redirect to post content, if the results from filters is only one post?

Thank you

Unfortunately extra coding is not provided in scope of CodeCanyon item support. I can only give you common advice how to do it in the best way, but you have to implement this by your own (yourself or hire a developer)

Hi Stepasyuk,

I purchased your plugin and i would like the following help please

1. can you provide your advice you mentioned to automatically redirect to post content, if the results from filters is only one post?

2. Also I have set the “Filter logic” to “AND” to all 4 filters and also set a parent filter for every filter. My issue here is that if 3 filters are selected, the options available on the 4th filter do not respect the “Filter logic” which is set to “AND”

Please advise, thank you

Hi Todos1985

1. I understand your position and your question but as I said before to redirect from filtering result page with single result to the post page you have to write some PHP code.

If you are not familiar with PHP I recommend you to hire a developer for example on Upwork and ask about this. This is small task and can be done up to 1 hour of work. Unfortunately I do not provide such paid services here.

2. Please, send me link to the page with example of this problem. Optionaly you can send it via PM if you click on my username. FYI logic “AND” in a filter specifies only logic between terms of the same filter. So if you set logic AND for example for Color filter and select colors “blue” + “yellow” you will see only products that have “blue” and “yellow” simultaneously.

Logic between different filters is always “AND”.

Hello, Is it possible to create a filter and have two ‘Filter by’ product tags filters? I have product tags I would like to group into two different filters but when I add the product tags filter it is no longer available to re-use in a second filter – the idea was to exclude some tags in one filter-group and exclude other tags in the second filter-group. Is there a workaround? Thank you.

OK and how do I modify the filters buttons to open in this manner for the mobile version ?

This can be done only via writing additional JavaScript/CSS code and if you are familiar with these technologies you can do that. If not you have to ask a developer to help you with this.

I would be glad to help you to achieve this, but unfortunately such customizing is not provided in CodeCanyon item support scope and also I do not have time for such paid modifications.

Thank you for the quick reply. If you do not have an additional method to suggest for producing the same outcome, the 2 category filters in one filter menu, then we will close this ticket. Have a great weekend!

HI, thank you for this very good plugin, that I use in a special way : in my website, it work as a correlation tool, between categories. Have a look here: https://www.chateaux-forts.org/category/69-a-pays-avec-synthese/fi-finlande/ But I can’t solve some details : 1.I would like to indicate the numbers of subcategories in a categorie (at the present time, it’s writton “0”, whereas there are sub-categories with posts inside 2.When the tree is developped, to press “reset” doesn’t fold the tree again. So you have always a big tree in a mess after filtering… If you could solve these problems, you will do something great for me and for the french archeological research ;-)

Hi chateauxforts

Thank you for using Filter Everything PRO.

1. In general number close to the filter term means how many filtered items related with this term you will see if you select this term. But if you want to show something another you can use hook 'wpc_filters_checkbox_term_html' to add your sub-categories count after term link – https://filtereverything.pro/resources/hooks/#term-html-hooks

But to avoid double numbers you have to hide for example via CSS current numbers for Checkbox view with enabled Hierarchy. You can investigate what specific CSS classes Checkbox view HTML has when you enable Hierarchy feature for example in Chrome console.

2. Tree uses function that remembers its status and if you wan to close it you can try to clear Cookie with name 'wpcHierarchyListStatus' every time, when page loads.

Of course all these manipulations expects that you are familiar with PHP/JavaScript development or you have to ask a developer to help you with this.

Hello, there!

First of all, we love this plugin! It has made our life much, much easier! Thank you!

Now, our problem:

Our filters are set to display the found post count. Unfortunately, this count is often incorrect. Our best guess at the moment is that your plugin does some kind of caching because the post count, after we update the filter set, is correct.

Some details:

- We only use the filter on WooCommerce’s product archives.

- The problematic filter happens on a custom WP_Query, which has a “meta_query” that compares two DATETIME (a custom meta key and the current date). This filter set filters by “product_cat”.

- In the archive page, we call the filter widget via the shortcode “[fe_widget]”.

- Our products are updated programmatically, as their data comes from an ERP.

This results in the filter saying that X has 5 products, but only 3 are displayed. We will send you the problematic archive URL via PM (however, because we just saved the Filter Set, the count might be fine at the moment).

If the issue is the cache, is there a way we can programmatically clear a filter set cache after we update/add a product that belongs there?

Thanks in advance,

Santiago

Hi Santiago

Thank you for your warm words about the plugin.

Indeed, this is cache problem. You can reset filters cache by opening any page of your site (for example Homepage) by the URL contains GET parameter ?reset_filters_cache=true For example – https://example.com/?reset_filters_cache=true

If you add to your import algorithm calling of such URL, cache will be updated immediately and every time after import products.

Hello,

I have a presale question about your Category Ajax Filter plugin.

I need to build a horizontal dropdown filter. It will have three dropdown menu woocommerce categories and a search button and I need it to get rid of the categories which are not crossed while the user is selecting what he wants.

For instance, imagine that I have category “red” for the first dropdown, categories “big” and “small” for the second dropdown and categories “M”, “L” and “XL” for the third dropdown. In my inventary there´s only available the product for “red”, “big” and “M” and “L”. So, If I choose “red”, only “big” should be available to select in the second dropdown and “M” and “L” in the third dropdown.Finally, the search button has to lead to a custom url where appears the result of the filter and more custom content.

I also need to be able to customize the filter, more or less as you see in the image.

Is it possible with your plugin?

Thanks in advance

Alfredo

Yes, it is possible in the PRO version.

Hello again,

1. My client has asked me to build a filter which has the shape you see in the image: https://the-cocktail.com/tck-sites/images/1/8/3/5/5381-1-esl-ES/Mockup-04.jpg. Is it posible?

From my last question, I want the filter to show the results in a _blank custom page or even in a hidden div below the filter which can show up after clicking the filter search button (custom jquery should be required, I guess).

Thanks for your help.

Alfredo

One more thing…Is to display the filter in a revolution slider possible? I mean, by pasting the shortcode as a text layer.

One more Question. I realize I can hide/show a filter based on if ANY Parent Filter has a selection made within it. But, can I specify a filter to be shown if a Specific Choice in that Parent Filter is made (but be hidden if any other choices in that Parent Filter are made)?

Hi Riceman

I provided you with the function and hook that can help you to achieve your goal under your previous comment. Please, try to do that and let me know if you will have any questions.

Hi, great filter! Question… is it possible to Exclude a whole filter if another filter is selected? I realize I can exclude terms within a filter, but if I have 3 filters: Filter 1 Filter 2 Filter 3 & Filter 3 only appears when something in Filter 1 is selected

Can I exclude Filter 3 if something if something in Filter 2 is selected?

Hi Riceman

Sorry for the late response and thank you for your patience.

In general it is possible but requires to make some code adjustments. You can use function /** * @return array|false all selected filters or false */ flrt_selected_filter_terms(); to get already selected filter terms and in dependancy from desired terms for example to include “empty” filter template file with this hook apply_filters( 'wpc_view_include_filename', $filter['view'], $filter, $set );

“Empty” template file means template that display nothing for desired filter. Of course it requires to be familiar with PHP code or ask a developer to help you with this.

It is not working with site origin plugin, once update with wordpress 6.0.1 it blocks all the pages content loading. please fix

Hi kapzaicom1

Sorry for the late response.

Please, update the plugin to the latest v 1.6.5 which is compatible with WP6.0 You can download it from your account on CodeCanyon and update via Plugins -> Add New -> Upload plugin -> Replace current with new. Do not forget to create a DB backup before that.

Hi,

I am wondering if your plugin is compatible with “directories pro”. Saw an old comment from someone that said it wasn’t.

Thanks in advance Bas

Hi bdebie

Thank you for your interest in Filter Everything PRO.

It should be compatible as Directories pro uses custom post type and custom taxonomies so it is possible to filter its posts with my plugin.

I seem to be experiencing a conflict between two plugins – Wishlist (https://wpfactory.com/item/wish-list-woocommerce/) and Filter Everything (https://filtereverything.pro/) I’m not sure where the problem is, so I’m reaching out to support for both plugins.

Wishlist works on the catalog page just fine – there’s a heart on each product, which can be clicked to add product to the wish list. However, when the list is filtered using the filters on the left, the Wish List functionality is disabled – no hearts.

The problem only manifests in AJAX mode. Seems to be OK without AJAX. Both plugins do use AJAX.

I tried to add a taxonomy in the Filter set, but grayed out, with this note “This filter is inactive because it is not related with the selected post type”. I use default category in Post type for our CPT custom post type. This should not be the case

Provide me please with screenshot where is visible opened the grayed out filter and Post type selected for the Filter Set. See example – https://prnt.sc/2Fh0AX_Qcuov

nevermind this. I just don’t use Wordpress default category and create a new one. it works fine

Hi. I’m trying to make this form have a specific item pre-selected in the dropdown (so not “Select.. item” But a specific choice in the dropdown. Can you point me to how i can best do this?

Hi SvP

There is only one way to make some filters pre-selected – open page with URL that contains filter terms.

hello, im using facetwp in several sites, your seo utility looks promising, so great job. My concern is that facetwp its really fast when indexing searches, id like to know if your works the same way, so it show instant results. For us its top important that when someone filter results they show inmediately. Also dont know if you can choose if result will drive to new page or stay in page depending on the facet selected thanks

Hello julioros

Thank you for your interest in Filter Everythng PRO.

Filtering performance/speed depends from several factors. Among them are next:
- number of posts to filter
- number of filters and terms
- number and quality of plugins you use

In general I can say that filtered pages will be loaded in the same time as your regular pages with producst are loaded. You can check plugin speed if you install Free version availbale on WordPress.org.

Hi Stepasyuk

Thanks again for a surperb filter plugin…

I have enabled folding to make filters collapsible in widget, but a cookie remembers when filters is opend by user.

Is is possible to “deactivate that cookie” or change CSS, so the filters opened state isen’t remembered on page refresh. (I would like them to be closed / collapsed on page refresh…)

Kind Regards Mogens

Hi MogensR

In general you can write short JS-code that removes cookie with name wpcContainersStatus or makes its value empty every time, when site page loads. In this case no one filter container will remember its opened status.

Works. Thank you! I just run a “setcookie” in functions.php

Hi, I am using Woocommerce and ACF for custom fields. I tried applying “Custom Field Num” and using the ACF field “capacity”. This is working, but each product has a capacity range, so i need to set a low and a high capacity. How can I get that to work with the range filter?

is there a specific ACF field I should use? or maybe 2 number fields?

Hi Riceman

It seems you have to use two ACF fields – one for MIN capacity and one for MAX capacity. In this case you can create two range filters and user will be available to adjust ranges for both these values.

aha, great thanks!

SUPPORT TICKET

Hi there,

I am using a combination of Elementor, ACF and CPT UI using taxonomies. My website is built using Elementor and the custom post types all have their own taxonomies. The problem I am currently facing is that the filters simply don’t work.

I have tried it in multiple ways, from simple post types to store products and more. Nothing seems to work. Of course, I am using the latest plugin version bought from CodeCanyon and have done some minor configuration. See screenshot: https://i.imgur.com/Js7DU0o.png

Further info will be provided via PM as suggested.

Thanks in advance :grin:

Hi lars_c

Thank you for using Filter Everything PRO.

It looks lke you didn’t select correct WP_Query in the “And what to filter?” field in a Filter Set. You have to experiment with different values in this dropdown field to find correct value. Also if you use WPML and you have products in different languages you should make Filter Set post type translatable in the WPML settings.

Please, try to make these steps and they should help you to make it work.

Hi, i have the pro version for both your plugin as well as elementor pro. However, I cannot find element when search filter. I saw this https://prnt.sc/26ntw55 but not on mine. Also i don’t know where to put the license key. I have try uninstalled, delete and install again.

Hi najibx

Thank you for using Filter Everything PRO

It is known problem with Elementor in its last verisons. You can not even find regular WordPress widgets in the Elementor search fied in its sidebar and I don’t know why. Just try please to scroll the Elementor sidebar to the bottom and select a Filter Everything widget.

You are right. Searching element cannot find widgets, but it’s there.

Hello, I haven’t found the answer to my question. I am working on an e-commerce website that sells food and wine. I would like to apply different filters to each category. For example I have about 10 different pages that sell wine, can I apply the same filters to those 10 pages (and not to others)? In the field “Where to filter? Specify page(s) where posts that should be filtered are located” it seems I can select only one category page.

Thanks in advance for the help

Hi chloeculinaries

Thank you for using Filter Everything PRO.

In general you are right – you can not select more than one category (or any other taxonomy) page and this restriction has its own technical reason.

But you can make a trick:
– to point both your Filter sets to the “All archive pages for this Post Type”

- to add two Filters widgets to common sidebar for both type of pages. They both will be shown on all your Shop pages.

- to hide unnecessary widget dependently from the type of the page. You can do this by CSS adjustments as every Filters widget has itw own unique CSS id and class. Also evrery page contains its own CSS class in body and html tags.

You can also use Filters widget shortcodes https://filtereverything.pro/resources/shortcodes/ instead of widgets and for example plugin Widget logic to determine what exaclty Filter Set to show on desired pages.

Hello, I have many custom taxonomies and I would like to know if it possible to filtered with this plugin on frontend. Thank you, m

Hi marcoatmac

Thank you for your interest in Filter Everything PRO.

Yes, sure. You can filter by your custom taxonomies with this plugin.

Hi. I recently purchased this plugin for a charity site which is both English and Spanish using WPML. I noticed I am get a lot of DB errors due to the interation between the two plugins, so I worte to WPML support. Their answer was as follows:

“Filter everything pro is currently not listed or tested by our team, however, they do mention on their product that they are compatible with WPML.

I’d suggest contacting the authors as they do know their code best and most likely need to adjust something to fix these database warnings.”

So here I am contacting the author as they state it is Everything Filter Pro casuing the errors. I am pasting in one of the many lines from my error log to show what is happening:

[26-Jul-2022 07:01:47 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT id FROM wp_icl_strings WHERE BINARY value=’lost-password’ AND context=’WP Endpoints’ AND name = ‘lost-password’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, FlrtFilter->oneTwoThreeGo, FilterEverything\Filter\Plugin->__construct, FilterEverything\Filter\WpManager->init, WP_Rewrite->wp_rewrite_rules, get_option, apply_filters(‘option_rewrite_rules’), WP_Hook->apply_filters, WPML_Endpoints_Support->translate_endpoints_in_rewrite_rules, WPML_Endpoints_Support->get_endpoint_translation, WPML_Endpoints_Support->register_endpoint_string, icl_get_string_id, WPML_ST_String_Factory->get_string_id

Please can you help me with this.

Many thanks in advance.

Hi sherbertspain

Thank you for purchasing the plugin and for your patience.

In general you are the first person who reported such problem between Fitler Everything and WPML. I’m not sure that reason is exactly in Filter Everything plugin, but I can guess that it related with the data you tried to filter by and your MySQL server capabilities.

For example you have too many posts with meta key or taxonomy terms by which you tried to filter. And your MySQL server was not able handle too many data at that moment. Because your log message says only that your web-server lost connection with your MySQL server. But what was the reason of the loosing of the connection it does not say.

As option you can ask you hosting provider support about this. Or as option try to use another tariff plan that provides more performance and capabilities (more RAM, more CPU and so on) and to test if all works fine.

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