Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,657 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8952 comments found.

Hi, I had a refund request and you have configured the range filters for me filter Latitude and Longitude. However, it was getting the value from ACF which I was only testing. The values are from WooCommerce product attributes. Can you please look at it again or let me know how to get the values from the attributes?

Hi souzahub

I would like to help you with this more, but unfortunately plugin configuring is not provided under item support license here on CodeCanyon. It expects that you have to configure it by yourself.

But in general it is not so complex. Please create Taxonomy Numeric type filter and specify your WooCommerce product attribute as Taxonomy for this filter. If your products have already attached these attributes, the filter should work.

License is telling us it’s not working. Please can you advise on how we can fix this? Thanks.

Hello drjpcsjohn

Thank you for purchasing the plugin.

Please, note that License key and CodeCanyon purchase code are different things. To set License key, please go to Filters -> Settings -> License, click on the “Get your License Key” https://prnt.sc/-ehm9df3H_XT and you will be redirected to the new page. Log in there with your Envato credentials and you will see your License key for the Filter Everything PRO plugin.

If you still get errors when you are trying to activate the license, please send me license key and your site URL via PM and I will activate it manually.

Hi Stepasyuk,

When putting a range filter to 0 it displays products that have no value in that field. It should not display the products at all. The value is not 0, its null. Any way to fix this? You can see an example here: http://164.92.167.52/led-belysning/?max_fargatergivning=0 Putting Färgåtergivning to 0 gives results for products which have no value in the Färgåtergivning ACF.

Hi smelinkab

Thank you for your credentials.

I checked your site and realized that this problem is rather related with your MySQL server settings or with data you specified in your posts. If you check final SQL query it contains main part:

...
WHERE term_taxonomy_id IN (9) ) )
AND ( ( wp_nhX2PWKu_postmeta.meta_key = 'teknisk_spec_0_fargatergivning'
AND CAST(wp_nhX2PWKu_postmeta.meta_value AS SIGNED) <= '0' ) )
...

And your MySQL server considers that if a field value is empty it is equal or less than 0. As option you can ask your hosting provider support to change settings or as another option to set values for these posts as 0.

About the second problem – you set your Filter Set to hide entire filter if all its terms are empty. If you range filter has 0-0 as values it will be hidden in accordance with this settings.

Hi,

First problem – From what we can see, we would have to modify parts of the plugin to not count null as zero. It’s risky to change settings in the database since there are multiple other plugins installed. Do you have other solutions?

The second problem – You’re right about that but the filters should appear because they have values on multiple products. I noticed that two fields do not get the values correctly and they’re both checkbox fields in ACF. Does it not support data from checkboxes or are the settings wrong?

Hi smelinkab

You have several options to solve the problem – to modify your posts data and replace NULL with 0 values. You can delete all meta keys with NULL values and these posts will not be filtered. You can optionally write your additional SQL condition to not consider posts with NULL values in filter via hook ‘wpc_filtered_query_end’.

In general I can not modify the plugin for one customer, because all other customers will have vice versa problem

Checkbox ACF field in general is supported by my plugin. And checkbox field with multiple values is also supported, but as it uses seralized data all your checkbox fields should have correct serialized data. It means that if you used this field as regular checkbox after changed to multiple choice checkbox and DID not updated all your posts, filtering may work not as you expected. In general you have to check data in post meta fields and make sure that these data are valid and have the same format for all posts.

Do you support the following plugin query loops? - Gutenberg - Greenshift - GenerateBlocks

Hello TAKERUMAEDA

Thank you for your interest in Filter Everything PRO.

It filters any loops/grids that use WP_Query. If posts are loaded by REST API (for example as many Gutenberg blocks) they can not be filtered with Filter Everything.

Hi Stepasyuk, I’d like to use your plugin to filter accommodation by city and other values (probably ACF). I understand I don’t need to use WooCommerce for this, and I can use a custom post type. Am I correct?

But I also need to display the filtered properties on a map, and I can’t find any info if that’s possible with your plugin. I guess I’d need to use some other plugin that can display posts on a map, maybe this one https://toolset.com/block-item/map/.

Basically, my goal is to achieve something like this https://demos.wpgridbuilder.com/map/. But instead of https://demos.wpgridbuilder.com/map/?_booking_city=nice, I need to get something like .../city-nice/, so I can optimize the content of the page for search engines. But with their plugin, it’s not possible to set up any SEO rules and create SEO-friendly landing pages.

Do you have any experience with this, is it possible? Or are you planning to add support for this?

Hi SlavekT

Thank you for your interest in Filter Everything PRO plugin.

In general it is possible, but requires additional coding work. If you can output on your page post_ids of desired posts and show them for example as JSON object you can achieve your goal.

With Filter Everything PRO you can filter such posts and every time get JSON object with new post ids in accordance with selected filters. After you can easily to use these post ids on your map to place markers. But the most important thing – these post ids should be received from DB with WP_Query.

Hello, thank you for this nice extension. I have a problem on some filters on ACF fields : filters is showing an amounts of items, but when clicking/selecting this filter I get no product found ! Can you help me ?

Hello yagoneto

Thank you for using the plugin.

Send me please link to the page with example of this problem. Optionally you can send it via PM, but notify me please here in comments about that.

Hi

Thanks fopr a great plugin.

I’m using elementor pro and the filter everything – filters widget https://www.ralingen.org/kommunestyrerepresentanter/

As you can see the filter returns post id, not title, when displaying what to filter.

The filter is bases on ACF custom fields

All the best, Lars

Hi larsjko

Thank you for purchasing the plugin.

If you need to display ACF field labels instead of values, you can add to the functions.php of your active theme appropriate code from examples below. You also have to edit this code in accordance with your ACF field meta key(s). Here are these codes:

1. ACF field is Taxonomy object – https://gist.github.com/wpserve/0634299bcc67d03bef77119dd20c86e7

2. ACF field is field with choices – https://gist.github.com/wpserve/48277fc0320239d05b1d6e2c4da3db20

3. ACF field is post object – https://gist.github.com/wpserve/a9a58cb8a37be1472ded53296147cc56

I hope this will help you.

Thanks a lot! That worked perfectly!

larsjko

Great. I’m glad that your problem was solved :-)

I would be thankful for a positive review about the plugin here on CodeCanyon – https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508

Thank you in advance!

Hello, My client is using your plugin and the setting “Display Price with Tax” is enabled in WooCommerce and it shows prices with Tax. Can we filter products with price including Tax? Thanks.

Hello Kahanit

If your customer prices have fixed percent of taxes or maybe fixed value I can provide you with technical solution of this problem. But you have to write your support request from the account, where plugin was purchased.

Thank you.

Hi! I tested my filter set and its working great! I would like to use the Ajax function, and after reading through your documentation and support replies, I don’t have any options for: “and what to filter?” -it only gives me the option of: product query. Main Query.

So, currently when I select: ‘Try to use AJAX’ the filtering no longer works on the front of the site.

Filter is on: http://erikay18.sg-host.com/bridal/

Can you help me solve this?

Hey! Thank you for your response, the page you directed me to, doesn’t mention anything about Lazy Load… and I can’t quite figure out how to interpret that information to solve the issue. Can you please provide me further direction?

One other question while I’m here – can I make the option to clear filters, without having the ‘apply’ button?

Hi erikakyoung

1. About Lazy Load – it is one of the JavaScript depended feature that should be re-init after AJAX loads a content. If you are not familiar with JavaScript you have two options – ask a JavaScript developer to help you to solve this problem or consider to disable Lazy Load or AJAX feature. Unfortunately there is no common way to solve this problem for all and it is something that should be resolved by customers on their websites himlself.

2. To get separate “Reset All” button you can use a trick – you can place Chips widget or shortcode [fe_chips] wherever you need and add and edit in accordacne with your widget id next CSS on the page, where you use filtering. You can add it for example via Filters -> Settigs -> Experimental -> Custom CSS
#wpc_chips_widget-2 .wpc-filter-chip:not(.wpc-chip-reset-all){
    display: none;
}

In general this code hides all chips except the Reset button.

I hope this will help you.

There seems to be a bug with this plugin. When a user selects a specific tag and goes to another page the URL for this page change ends up becoming /recipes/tags-nightshade-freepage/2 instead of /recipes/tags-nightshade-free/page/2. This causes the tag filter to fail as it’s now looking for products with the tag “nightshade-freepage” instead of “nightshade-free” like it’s supposed to.

Hi, the theme being used for this website is Jupiter 6.9.0. I poked around a bit in Jupiter and a few other plugins to see if I couldn’t find any AJAX functionality but the only plugin I saw with AJAX options was Filter Everything Pro and your plugin warned against using it. Trying to turn it on to see if the problem would resolve failed, even after adding a container. WP Rocket is also turned on on this website if that helps diagnosis the issue at all.

Hi, after more testing it looks like the issue is definitely being caused by, at minimum, Jupiter. I disabled everything except for Filter Everything Pro and Jupiter related plugins and the issue persisted.

Hi ideaforge

As I told you before I recommend you to experiment and to find the pagination plugin that do not use AJAX and replace your current pagination links with such plugin. For example it can be WP-Pagenavi – https://wordpress.org/plugins/wp-pagenavi/ or any other.

In general all that I could do with this is only to make my plugin compatible with WordPress pagination and this is already done. All other things depends from the pagination plugin or theme feature and should be resolved on their level.

Hi, I’m struggling with “Sort Terms By”... there doesn’t seem to be any way to manually order these. The only three options that I see, Term Name/Posts Count/Term ID, do nothing to put things in the correct order, they only jumble items into other incorrect orders. Am I missing something?

Hi AllanEnGenius

Thank you for using Filter Everything PRO.

Provide me please with link to the page with this problem. And let me know details – what exactly filter you tried to change terms sorting – Custom Field or Taxonomy? What is Filter by value of this filter?

Manually you can order only terms for a filter by a WooCommerce attribute.

Hi, I’m sorting terms from Custom Fields (the four items under “ports”). I need to have the number of ports either descending or ascending. It’s filtering Posts.

Link: https://www.engeniustech.com/category/cloud-switch-filtering/

Hi AllanEnGenius

Thank you for the link you provided.

If no one from available sorting options is good for you, you always can try to sort them via code. There is hook ’wpc_terms_before_display’ – https://filtereverything.pro/resources/hooks/#terms-before-display-hook and it allows you to sort them as you need. Of course it requires to be familiar with PHP coding or you have ask a developer to help you.

Hi, I’m trying to filter the acowebs product table. I have added filters that attempt to filter by product category as well as the product table specifically. However, none of the products in the table are filtered. The number of products filtered is shown i.e “3 products found” however not the table of products.

I’ve fixed this now, it was a WP Query issue. However still not able to get it to work via ajax, any suggestions. Thanks

Also now fixed. For the table CSS class was required in the filter settings

Hello craig149

Thank you for using Filter Everything PRO and sorry for the late response – last time I have a lot of work.

I’m glad that your issues already solved. Let me know if you will have any questions.

Hi, I upgraded to version 1.7.1 with wordpress 6.1 but if I edit a page I get this console error. What can I do? Error: https://ibb.co/G9VnNXP Tks!

Hi Cliptheme

It seems it is conflict with some of your plugins that loads TipTip jQuery plugin too late or changes order of loading JavaScript files. As fast solution you can try to disable suspicous plugins that may be related with this and try to check if the error disappears.

After detecting what the plugin generates the error you can try to configure it in another way or even decide to use it or not.

How do I update without removing all the filters? If I remove the plugin and add the new version all filters were deleted on the production site I tested on.

Where do I set my license key, because alternative 1 removed all filters.

Hi kingboa

If your current plugin version is prior than 1.6.5 it does not support License keys and automatically updates. You have to update it manually via uploading zip with the new version.

But please in any case create a DB backup before any updates. You can do it for example with the Updraft Backups plugin.

Hi kingboa

I’m sorry that you were not able to get it to use with WPML. But okay, I have the offer for your situation. Please, write me message in PM to get more details.

Thank you.

Hey, i want to add a filter to my site but it always says: Note: if you will modify the query on the selected page, do not forget to update the current Filter Set.

i tried chanching the where to filter options but i wont work. Please help!

Hello tonifritscher

Thank you for using Filter Everything PRO.

In general this is notice for the situation, when your change your posts/products list (for example change taxonomy or meta query in such list) but it is relevant in the case when you already have working fitlers.

If you are trying to configure them at first time, this message is not relevant for you. But it looks strange that you get it. Please, provide me with links to screenshots with the error message you get and with your Filter Set edit screen with settings. This should help to understand your problem.

Hello,

I have several filters on the “category” page. All your filters are working, but the category filtering is not displaying correctly.

Front: https://prnt.sc/hIWYI0ehJBuE Admin: https://prnt.sc/h_a4N7UeAMar https://prnt.sc/8nC8FdLf8zmD https://prnt.sc/AChBxbUJfyRn https://prnt.sc/f39FdmG6EqQM

What is the cause please?

Thanks

Hello razvanemarc

You selected “Empty terms -> Always hide” and you are on a Product category page and it seems this is the reason, why you don’t see all your existing categories. But if you change this option to “Never hide” you will see your categories with “0” products within them and it will be expected behaviour.

FYI filtering is process of narrowing of products that you see on the page before filtering. In other words you can not add new products from another categories if you already opened a category, but only narrow products list with selected criteria.

Hi, I just purchased your plugin and encountered a problem with the filter for mobile device. I have enabled “Collapse Filters Widget on Mobile devices” and “Special Pop-up Filters Widget for Mobile” however it is not working as it should be. Screenshot shows a mobile view on desktop and another is screenshot on my actual device. https://ibb.co/8McgrDk https://ibb.co/XsG42Rt

When I click on the “Filter” button the filters did not pop up. Kindly assist me thank u!

Hi marlynteo

Thank you for using Filter Everything PRO.

Send me please link to the page with this problem I will check it myself. Optionally you can send it via PM.

Thank you.

credentials sent for ita*.tech* Need to create a range filter for GPS data but the Range option is grayed out. Thank you.

Hello souzahub

It seems this question is not actual as I already answered you in another request. I see your next questions, I will process them soon in order of priority.

Hello!

First I want to say thank you for this plugin!

On the store page, I display subcategories before the products. Is it possible to hide subcategories before the products if any filter is selected?

For example. https://krypa.ru/category/hookahs-etc/tobacco/citrus-apelsin-2/?min_price=161 If you clear the price filter subcategories will be shown again. But I want the subcategories to be hidden because the “citrus-orange” filter is still selected.

Thanks!

Hello egorsergeev

I have no access to your site and as I guess because of anti-russian sanctions. Unfortunately I can not provide you support because of technical reasons. I recommend you to create refund request and to get your money back.

License key activation doesn’t work. When I try to activate the license I get an error message that is just saying “Unkown Error”. I used the license key that you get when authorizing my envato account and redirected to the filterverythingpro website.

https://prnt.sc/NyFp9_Av4ThF

Hello knagtherese

Thank you for using Filter Everything PRO.

Usually this is related with security settings on your hosting and maybe the server connect.filtereverything.pro is blocked on your hosting or you have blocked outer connections on your hosting.

Please, ask your hosting support if there is any restrictions related with outer connections on your server.

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