Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,654 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8948 comments found.

Hi, there!

Great product, congrats! We are having an issue, however. Filters used to work flawlessly when we signed off the project to the client.

We just got a call that filters stopped working. We checked all settings, thought about Ajax css class, etc., but it seems this is not the issue. We turned off Ajax filtering and still – when you select the filter, it reloads the page and still all products are shown. How can we solve this?

Thanks.

Solved it ourselves. For anyone having a similar issue: Make sure that in your filter set settings the ‘What to filter?’ part is set to ‘Main product query’ or something similar.

Hi ptsilkov,

Thank you for choosing Filter Everything PRO.

We are glad the hear that the issue was resolved.

Best Regards,
- Victor

I have something really strange. When selecting multiple filters, the screen turns into 1 single column full width. The complete design is messed up. I can’t find the logic behind this. Here is an example:

Good: https://www.pizzastore.nl/product-categorie/pizzascheppenborstels/pizzascheppen/perf_fltr-nee/ Bad: https://www.pizzastore.nl/product-categorie/pizzascheppenborstels/pizzascheppen/perf_fltr-ja/afgeschuind_flrt-nee/

Hi consiglio,

It is all pretty simple, on the page where it is good page has styles:

display: flex
flex-direction: column

the “flex-direction: column” is crossed out which is not active and working as a default “row”

On the second page:

display: flex
flex-direction: column

the “flex-direction: column” is active, that’s why you see it in the column style. That’s not the plugin issue this is strictly theme styles.

Best Regards,
- Victor

Hi, Filter widget on mobile is not working on my website. I however see the filter button.

I’m using popular on Themeforest theme (so no doubt theme code is clean) and temporarily removed all modifications for now so that we can resolve the issue.

Add this code to the functions.php, and edit the breakpoint to your needs when the sidebar is disspearing:

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;
}

Best Regards,
- Victor

Hi Victor,

That worked for me. Thanks a lot.

I’m having issues with my shop page loading very slowly. I’m trying to use elasticpress and filter everything. I installed a query browser and can see that the main query runs (fast) and that there is a second query that runs but really slowly. I checked the arguments on each and the main query contains all the combinations of filters I’m trying to search, while the second has no filters and is set to retrieve all posts. You can see a screen shot of what I’m seeing here: https://prnt.sc/1lG9DlhARDxV The second (post) query only shows up when I’m using filter everything.

Also, I don’t know if this is related, the counters on the filters are not showing the correct number of products. The results are returning the correct amount of products but the counts are wrong. All of the filters are being run on my main shop page. I’ve gone through and selected main query as the “what to filter” as well.

Hi saratogawine,

Try it this way to test it, place the filter set on “Common WordPress pages” + “Shop” if you are using the shop page. Test it and see if the counters are correct. If they are then place the filter on the “Product Category” + “Any Category” and check if the counters are correct across different category pages. If they are also correct then you just need to create two filter sets, one for the shop page and the second one for categories. If it won’t work for categories correctly it means that each category is using a unique query, and if you place it on a certain category it should work and show everything correctly. There are some plugins that make such behavior that each category page has a unique query. Setting them on Any Category shows incorrect values in counters because of it.

Best Regards,
- Victor

Any insight in to what the extra query that shows up with Elastic Press? It only shows up when filter everything is activated. Otherwise without Filter Everything there is only the main query that runs / shows up in Elastic Press (and is the faster of the 2 queries)

Hi saratogawine,

We need more details on that query with the request and all other information, send a message via PM – https://codecanyon.net/user/fe_support so we’ll write you from our email, where you can send screens (full size) so we can check it all and provide an answer.

Best Regards,
- Victor

As we examine the future trajectory of this product, we’ve identified areas where improvements are necessary, particularly in the aspects of speed and some usability. We would appreciate your insights on the road-map for addressing these issues.

While the product currently performs satisfactorily with a large product inventory “but needs improvement”, we are keen on optimizing its speed, even when utilizing the most robust server configurations.

We’ve noted the absence of updates since August 2nd, 2023, and we are inquiring whether there is a planned update schedule in place. Your prompt response on these matters would be highly valued.

Thank you and best regards,

Hi ingenuitor,

“Even when utilizing the most robust server configurations” – can you please provide information on the server hardware that you are using? How many terms do you have and how many products do you have on the site? Server latency? Caching optimizations technique that you are using? How well-optimized is your database? How many plugins you are using on your site alongside page builders and so on?

The plugin is optimized as much as possible (of course there is always room for improvements), and data is taken from the database, that’s where the slow speed appears because of server hardware and latency and optimization techniques that were used.

Regarding the absence of updates since August 2nd, 2023, we apologize for any inconvenience this may have caused. Our development team has been hard at work behind the scenes to bring improvements to the product. We’re currently finalizing an update, there is no actual update schedule, the new updates are coming up when certain features are finished and tested and then added to the plugin.

Best Regards,
- Victor

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 :)

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