Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,678 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8963 comments found.

Hello I have started to notice than the footer from my web started to appear on top of the body only on mobile. I think it was a theme related issue so i contacted Astra as i have VIP support. They have checked my site and concluded that filter everything is the root cause of the issue. As soon as i deactivate the plugin the web shows ok again. Is there anything I can Do to fix that?

Hi satmansur,

Here is support for accounts who purchased the plugin, and if you already did it, please write your request from the account where you purchased it. And considering the problem please provide the link to the page with the issue so we can check it.

If you are using the Free version, please write your request on the WordPress support forum – https://wordpress.org/support/plugin/filter-everything/

Best Regards,
- Victor

Hi,

Im wondering why the filter on the page https://bierkoerierzwolle.nl/alcohol/ is not working, when i use the price filter the page changes but not with correct products, is there a way to resolve this issue? Or is this a common issue?

Kind regards

Hi amandomm,

Try to go to the filter set settings and in the “And what to filter” dropdown choose another query and hit update, then check the workability.

Best Regards,
- Victor

Super, thank you, that worked

Hello. I would like to know how to create a filter step by step, exactly like the example https://demo.filtereverything.pro/step-by-step-filtering/ except mine will have 8 fields. I looked here and in the documentation and didn’t really find how to do it. Can you help?

Hi samucavirtualite,

With default styling, the filter in horizontal laying can have only 5 columns max. So if you want to add 8 you would need to apply custom CSS from the Filters -> Settings -> Experimental -> Custom CSS.

If you are using a filter widget from the widget area you can turn on the horizontal layout option and choose a number of columns. If you are using shortcode it should look like this [fe_widget horizontal=”yes” columns=”3”] horizontal represents horizontal layout and columns are the number of columns, please note as we mentioned earlier by default the max amount of columns is 5.

More about shortcodes – https://filtereverything.pro/resources/shortcodes/

Best Regards,
- Victor

Hi,

I am having an issue that is described by another user as well:

Jagabandhu Hello.

When trying to filter a variable products. Out of stock variations still showing.

For example. I have a shoe products archieve with shoe sizes as variation (And Filter item) When I select a size in filter variable products with out of stock variation still showing in the result.

I tried the code from your git. But not worked.

TQ.

The solution that you suggested was to make another filter where we can filter out of stock products. That is indeed a solution but it is not a UX friendly solution. There should be an option where by default the filter should NOT show products that are out of stock of this variation. That is the point of using the filters.

Imagine you as a customer trying to by a shirt and you want to filter by Size M and you use the filter only to find out that every product you click is out of stock.

I hope there is a solution for this.

Kind Regards

Victor,

After a little research I found that they might have fixed this in woocommerce. https://github.com/woocommerce/woocommerce/pull/27508

I have added the default filter from woocommerce and it looks like the filters don’t show at all when the variation is out of stock even if the property exist in the product as an option.

Regards, Elcorso

Hi Elcorso,

Does the filter (_stock_status) have an option for variations turned on? You can turn it on from the “more options” of the stock status filter. In other cases, it won’t show the correct information.

The solution that we were describing is to use this type of link – https://demo.filtereverything.pro/product-category/clothing/women/status-instock/ the ”/status-instock/” is responsible for the stock filter to show only in-stock status on this page.

“I really hope you can add this functioning as a default not having to find a workaround.” Well as we said it can be added with future updates but we do not have any exact date at the time. In general, it is not a very demanded function as maybe 5-10 users asked for it in the year or so. Also, there was a code that was hiding all out-of-stock products, which might not work correctly with the late Woo version for variations. That’s why it wasn’t on the development table yet.

Best Regards,
- Victor

Victor,

Cool! Thanks a lot for your time. Great support. I’ll check the solutions you mentioned and if the problem persists I’ll come back.

Have a nice day! Thanks again.

Hello. How can I remove preload from desktop version? When I change any filters it loads before even submitting the filters and then I submit the same filters and it loads again. I’d like to have it loading when I hit submit only.

Thanks

Hi investinkuwaitdevelopment,

At the moment there is no option to turn it off, as it is connected to the filtering logic. Yes, we are planning to have the ability to turn it off in future updates. But we cannot say any exact date, as currently, the team is working on another functionality.

Best Regards,
- Victor

The filter in demo is working perfectly, but on my page it loads very slowly. How do I fix this? You can take a look here https://invest.arnologyapps.com/projects/

Hi investinkuwaitdevelopment,

It’s important to consider several factors when it comes to the speed of your website. The key factors that can impact speed are:
- The CPU and RAM of your server
- The number of posts that need to be filtered
- The number of filters and terms being used
- The quality and quantity of plugins that are installed
- Cache adjustments on the server
- Code optimizations and internal caching within the plugins (which have already been taken care of for Filter Everything).
- Database optimization.

The main key is the server hardware, database optimization, caching, and OPcache. And the filter will work fast, as you can see on the demo site.

Best Regards,
- Victor

I’ve received a message stating the license is used on two sites. How do I unlink one?

I need to use the license on a live site, staging site and local site (part of the development process). Is this possible?

Hi centrable,

The license can be activated only on two sites, stage one and prod, or both prod, etc. What you are trying to do is activate it on 3 sites which is not allowed, as you already did it on two sites.

Best Regards,
- Victor

Is there anyway to activate on a third because two are technically for development (one local, one staging) and then obviously the ‘live’ site.

How do I deactivate the license and use on another site etc

Hi centrable,

You can buy another license to activate on more sites. Or you can deactivate it on some other site from here – https://prnt.sc/q3hXU6bcjXLG

Best Regards,
- Victor

Hi, is there a way to sort how results are coming?

We would like to always show product of certain brand first after filtering. Is there any way to do that?

Hi mrijnwal,

The plugin does not provide such functionality. You can use a sort widget to sort your products. For example, create a custom field and give the needed products “a” data and for others “b” and use the link to the shop page which will include the sorting parameter at the end. In this way, you can made what you are looking for.

Best Regards,
- Victor

Currently, we can have a filter show based on parent selection, but similar to this user: https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/31634508/comments?page=9&filter=all#comment_29953890

I would like to request the ability to load a filter only if the selection matches. This makes a lot more sense than parent.

Hi tradeinitiative,

Thank you for choosing Filter Everything PRO.

Yeah, it makes sense, and it would look great. But it will also drastically slow down the filtering. For example, we have hundreds of terms, then on each term, there should be an event to trigger and show the correct filter and each time check which ones are checked in different filters to make a correct chain. It’s not just a parent filter and child one. Taking into consideration, that most of the clients use below-average server hardware, it will make the plugin irrelevant.

We have it on our list and maybe with future updates such functionality will be implemented or become a separate addition to the plugin. But not in the near future.

Best Regards,
- Victor

Hi, I have my filter setup and showing on the left. On the right.. Which module am I supposed to use to make the filter actually filter through my products?

I don’t see anything obvious in “Product View Type” on the Woo Products module.

Thanks

Hi pacificwestflooringlv,

Thank you for choosing Filter Everything PRO.

“Hi, I have my filter set up and showing on the left. On the right. Which module am I supposed to use to make the filter filter through my products?”

Can you please provide at least some information about what are you referring to? What is the meaning of “showing on the left. On the right.” What do you mean by “Which module am I supposed to use”?

We need more information to provide any support on the issues. On which page do you want to place the filter widget, and some screenshots what do you mean by left and right and modules? So we can provide the answer to the issue because right now it is confusing.

Best Regards,
- Victor

Hello, does this plugin also work with projects and portfolios?

Hi lucabito,

Thank you for your interest in the Filter Everything plugin.

Well, if projects and portfolios are the custom post types, and they are displayed by the WP_Query then yes, without any problems.

Best Regards,
- Victor

I am using filter everything to filter by an ACF field storing the manufacture data for the cart. It is pulling the acf field correctly however it is not showing a filtered list of the acf field.

I am using elementor addons to display the archive list.

Hi maryleeweir,

Thank you for choosing Filter Everything PRO.

It looks like you need to change the query, go to the filter set setting, and in the “And what to filter” choose another query hit update, and test the workability.

Best Regards,
- Victor

Is there an infinite scrolling/load more plugin that is compatible with Filter Everything? I am using the Filter Everything Pro with Flatsome theme, I don’t like to use pagination and prefers infinite scrolling. When I go to any filter page like https://labagatory.com/shop/product_type_main-bag/ and scroll till the bottom of the page, the items for the next page won’t show and the page will hang. I tried downloading BeRocket’s Load More plugin but the infinite scroll won’t show up. Is there any other plugin that is tested compatible with Filter Everything? If not, do you know how I can solve the issue?

Hi kbxiankode,

Yes, there is an infinite scrolling/load more plugin that is compatible with Filter Everything – https://wordpress.org/plugins/load-more-products-for-woocommerce/

Best Regards,
- Victor

That is the one I tried but it’s not working.

Did you follow the documentation – https://docs.berocket.com/plugin/woocommerce-load-more-products?utm_source=wordpress_org&utm_medium=plugin_links&utm_campaign=BeRocket_LMP on how to set it up correctly? It was tested multiple times and everything was working correctly.

Best Regards,
- Victor

apologies, quick follow-up, please use this link to see the filter in action https://www.busayonyc.com/shop-n/

Hello, I am so grateful for this plugin! It is such a lifesaver but after I purchased the tool, the plugin isn’t showing the any filter result for my woocommerce products, including the categories and other basic elements we included. I have attached an explainer video courtesy of my developer in hopes that it will further clear up the challenges we are having.

Please find explainer video link below, and thanks so muchin advance for your help.

https://progress4good.hippovideo.io/video/play/S2Ms32A6obFFJlAt0x5ncvQFBAUZRMwrUEGjN_gj6w4?org_tok=BhLgmbT5Bj1Y4KfQoPARLQ&utm_source=hv-campaigns&hreferer=private&hvre=false&_=1697308388863

Hi adcdp,

Yeah, we noticed that the presented pop-up solution on your site is not working stable. Unfortunately, we cannot help you with it, as we are responsible for the filter features only.

As a way out you can use the filter pop-up option for mobile, and use this code:

add_filter( 'wpc_mobile_width', 'my_custom_wpc_mobile_width' );
function my_custom_wpc_mobile_width( $width )
{
$width = 1180; // new desired breakpoint in px.
return $width;
}

To increase the breakpoint so you will always see only the button to open the pop-up widget with filters. You need to add this code to the functions.php and edit the breakpoint to your needs.

Best Regards,
- Victor

Thanks so much! I’ve added the code to the theme’s functions.php as recommended and also added the filter button to the page using the appropriate shortcode.

The filter button is visible however, when you click on it the pop-up does not appear.

Hi adcdp,

We edited your page of shop-n with Elementor and placed the filter button there, which is working on mobile and desktop all you need to do is just add some styles for desktop mode to make it look better. Also, we increased the breakpoint in the functions.php file.

Best Regards,
- Victor

Hi, I just upgraded to Pro so that the filters I had set up would show as a pop up on mobiles. I have two immediate issues:

1) Before installing the Pro version, the collapsible Filters button was only showing on the shop page of my site. This is what I wanted but it was at the bottom of the page and I wanted it at the top so bought the Pro version. Since installing the Pro version the Filters button is now showing at the top of EVERY page on my site when viewing on a mobile, but not on a desktop. I don’t want it on every page – just the shop page.

2) Before installing I had a Categories and Brands section set up within my filter set. They are now empty and state ‘There are no filter terms yet’ below each. Only the attributes I set up in the filter are still showing.

Please help.

Thanks, Sarah

Can you please share with me the updated code so I can add it into code snippets? Thanks

We already added it to the code snippet plugin with a description. You can check it there it is the same just without the comment.

Best Regards,
- Victor

Thanks Victor :)

Hi, I have just purchased Pro and have a download. How do I ‘download’ it so it now works with my WOrdpress site please?

Please ignore – sorted

Hi sarahw1979,

Thank you for choosing Filter Everything PRO.

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

Hi, I bought the pro version so that the filter could be seen on any page, now it still doesn’t show the filters. I put the ‘Where to filter?’ value to ‘Common Wordpress Pages’. Please help me.

Hi roeslan_2000,

Thank you for choosing Filter Everything PRO.

Can you please explain in more detail how exactly you want to display the filter widget on all pages? There are common WordPress pages like archives etc and there are singular pages too, different post types, etc.

Best Regards,
- Victor

When I filter the price with a slider, the chips says “Max prijs_fltr 97”. How do I change this text? Or can I only change the filter name (prijs_fltr)? Also, how can I change the button text “reset all”?

Hi consiglio,

“When I filter the price with a slider, the chips say “Max prijs_fltr 97”. How do I change this text?”

You can use this code example:

function custom_chips_term_name($term_name, $term, $filter) {

//For example, meta key is my_cutom_nureic_field then you shound place min_my_cutom_nureic_field and max_my_cutom_nureic_field
    if ($term->term_id === 'max__price') { // add max_ to your meta key
        $modified_term_name = 'max my text: ' . preg_replace('/[^0-9.]+/', '', $term_name);
        return $modified_term_name;
    }

    if ($term->term_id === 'min__price') { // add min_ to your meta key
        $modified_term_name = 'min my text: ' . preg_replace('/[^0-9.]+/', '', $term_name);
        return $modified_term_name;
    }

    return $term_name;
}

add_filter('wpc_chips_term_name', 'custom_chips_term_name', 10, 3);

“Also, how can I change the button text “reset all”?”

You can use template overriding for EN language – https://filtereverything.pro/resources/templates-overriding/ chips.php file, for other languages you can use loco translate to translate it how you would like.

Best Regards,
- Victor

Thank you again Victor!

Hello, i wanted to ask i have implement a filter everthing to my site, but now i create my shop category with elementor pro template, and my filter everything is stop working, is there a way i can use the filter everthing in my custom template elementor ?

Hi Sarahmey,

Just got to the filter set settings and in the “And what to filter” choose another query and hit update, then check if it is working and turn off AJAX during testing.

Best Regards,
- Victor

tried to disable the ajax filter, and change the query still the same not working :(

Use the products element from Elementor on that page. And everything should work with it. Not sure what type of shortcodes you are using.

Best Regards,
- Victor

Hello. Let me start that I like your plugin really much! I have some little problems with it though. The first problem is that only 16 results are returned while there are at least 10 more. the seconde problem is AJAX related i think. Sometimes the page hangs on a white page when clicking on a filter. Then i have to reload the page. I need some help please! I use the plugin here: https://backpackers.nl/reisaanbod/

Hi raydegraaf,

Thank you for choosing Filter Everything PRO and for your kind words.

Well, you have very unusual functionality on your site. For example, each time we change the tab in the browser and get back to your site tab it refreshes the page, with multiple errors – https://prnt.sc/MKpLoZCWj0f7

“The first problem is that only 16 results are returned while there are at least 10 more”

This issue is related strictly to the pagination and settings of how many items show on that page, it looks like you haven’t added it to the page. Our plugin is not responsible for pagination, as it is only filtering products.

And for the AJAX issue, it looks like a conflict with the functionality that you have on your page “every time the page refreshes”. Try to turn it all off if everything will work correctly.

Best Regards,
- Victor

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