Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,675 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8958 comments found.

Thanks for the plugin. I am trying to get the filters to display on the right side of the products page but an unsuccessful. I am adding to the widget section and all I am getting is the dropdown of the main categories and nothing to filter such as in the demo of the plugin.

You can see the example of what I am working on here: http://34.239.58.241/jpventures/product-category/custom-leather-goods/ Can you please advise as to what might be missing or needs to be added to get the desired outcome such as you have here: https://demo.filtereverything.pro/product-category/electronics/laptops/ Thank you very much!

Mark

@markstevens2 is my web developer

Hello Mark

Thank you for using Filter Everything PRO.

As i see it on frontend it looks like you didn’t select correct WP_Query in the “And what to filter?” field of the Filter Set. Please, try to experiment with other values in that dropdown and also I recommend you to add another filter in addition to the existing by category.

Kind regards.

Dear Stepasyuk,

The last update (1.7.6) rendered the checkbox filter items unavailable as in not showing them at all. It took me a lot of panic debugging the production until I somehow noticed that the working staging site was still running version 1.7.5

Overwriting the files luckily did the job, so I will leave this notice here if anybody else got stuck with this issue and if you need more information on this I will be happy to provide :-)

Hello gunterqb

Thank you for yuor report.

Indeed in the current version 1.7.6 I was forced to update template files and noted this in the readme.txt file in the Changelog section. Luckily, you’re only the second person who have worried about this so far :-)

how can I detect when a filter is set to specific, I want to put a banner when some filters are selected ?

Hello alinnovatr

You have to use the function flrt_selected_filter_terms(); that returns all selected filters.

Note: this function works correctly only if it fires after the Main WP_Query was fired. It means after hook ‘pre_get_posts’ was fired.

Thank you, I will try

Thanks for the plugin. I am trying to get the filters to display on the right side of the products page but an unsuccessful. I am adding to the widget section and all I am getting is the dropdown of the main categories and nothing to filter such as in the demo of the plugin.

You can see the example of what I am working on here: http://34.239.58.241/jpventures/product-category/custom-leather-goods/ Can you please advise as to what might be missing or needs to be added to get the desired outcome such as you have here: https://demo.filtereverything.pro/product-category/electronics/laptops/

Thank you very much!

Mark

Hello Mark

Thank you for using Filter Everything PRO.

Please, write your support request from the account, where you purhcased the plugin.

Thank you. Best regards.

Hello,

we’re trying to reduce the font size of the checkbox filters.

We’re using CSS with no results.

Could you please help us?

You can see an exaple of the filter set: https://www.pelletterieborghese.it/abbigliamento-pelle-uomo/

Thank you.

Hello antonioborghese2019

Thank you for using Filter Everything PRO.

The plugin does not set own font size, but only inherits it from your theme styles. But as option you can add in Filters -> Settings -> Experimental – Custom CSS next:
.wpc-filters-widget-main-wrapper, .widget_wpc_filters_widget{
font-size: 16px;
}

and this will reduce it.


If it is possible 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!

Hi,

I am using Collapse Filters Widget on Mobile devices, but by default they are open. How can I have it closed by default ?

TIA

This is very bad support! I have purchased the plugin and still no reply to this matter! I think its a bug on your version! Please I would really appreciate if you could check this out

https://flamingosl.com/tops-2/

Here on the mobile version the collapse does not work

Hi madhawaudawatta

It is not plugin bug or something like that because it is consequence of some configuration errors on your site. The CSS file has HTTP protocol instead of HTTPS and that’s why it was not loaded on your site. Please see – https://prnt.sc/MDCtEAMtC4gh You have to fix this on your site to avoid using mixed HTTP/HTTPS resources.

I’m sorry that you had such impression about the support. But from other side you have to know what is included in the support to avoid inflated expectations. Please, see this short explanation of the CodeCanyon item support policy. Also FYI support delay can be up to 2 business days. I can hire additional guy for support to make things faster, but in this case plugin will cost 60-70$ instead of 40. I want you to understand this.

Thank you. Regards.

Hi, I want to translate ‘yes’ to my own language on metafield exists. When I translate ‘yes’ with in POT file the labels for the field I have this on completely get changed to yes. For example on sale becomes just yes. Any solutions? BTW this also does not change the url. I hope this can be changed otherwise would be pretty weird to have english urls

Great, thank you so much for all your support.

Hmm I can only seem to get the current filter url, when I pass get_page_related_filters_function as the array. What I would like to do is get all urls based on a certain filter slug / filter custom field. I tried feeding ChatGPT the array and come up with a solution but no luck ;-). So let’s say my ACF field is called ‘brand’, then I would like to get all permalinks to these filters of the filterset id. Can you show me the right process? Thanks again.

Hello DannyvanderTak

In general this code example shows you how to convert array with filters to permalink. And if you need to get all permalinks for all filter terms it means you have to create appropriate arrays (for example in a loop) and convert them to desired links.

I would like to help you more with this, but unfortunately this is something out from the item support scope here on CodeCanyon.

Regards.

Hello, I am using translatepress on my website and when I deactivate the plugin I can select my query with Filter Pro but once the plugin is activated I lose my query selection. Do you have a solution?

Hello jsardin

Please, send me credentials to your /wp-admin in accordance with this document I will check it myself.

Thank you.

Hi, I just sent you the ids. Thank you

Hi, I updated woodmart and Filter everything to newest versions and get fatal error

Error Details

An error of type E_ERROR was caused in line 148 of the file /home/colorprint/public_html/prosignage.eu/wp-content/plugins/wp-all-import-pro/models/model/record.php. Error message: Uncaught Exception: Undefined field name. in /home/colorprint/public_html/prosignage.eu/wp-content/plugins/wp-all-import-pro/models/model/record.php:148 Stack trace: #0 /home/colorprint/public_html/prosignage.eu/wp-content/plugins/wp-all-import-pro/controllers/admin/import.php(2521): PMXI_Model_Record->__get(‘name’) #1 /home/colorprint/public_html/prosignage.eu/wp-content/plugins/wp-all-import-pro/wp-all-import-pro.php(810): PMXI_Admin_Import->process() #2 /home/colorprint/public_html/prosignage.eu/wp-includes/class-wp-hook.php(308): PMXI_Plugin->adminDispatcher(’’) #3 /home/colorprint/public_html/prosignage.eu/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(’’, Array) #4 /home/colorprint/public_html/prosignage.eu/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/colorprint/public_html/prosignage.eu/wp-admin/admin.php(259): do_action(‘all-import_page…’) #6 {main} thrown

Hello marc_hello

These error messages are not related with the Filter Everything PRO pluign, but with WP All Import plugin. As option, try please to update it also to the latest version or ask their support about the issue.

Thank you. Regards.

Hi, I just purchased Filter Everything and configure into my website. It works well in filtering product sizes. For our information, I’m using variation swatches on my shop page and all product archive page. So I also want to filter the available stock in each size/variation. For example, if I filter M size in shop page, I want all shirts that have only available stock in M size appear in filter result shop page, at the same time, all shirts with zero stock in M size will be hide. I can’t configure it. Hope you can help me to do so. Thank you.

Hi Stepasyuk, any update on this issue?

Hi affiqfadzil1

Thank you for using Filter Everything PRO plugin.

Please, create additional filter by Stock status as it is described here – https://demo.filtereverything.pro/example/by-sale/ Also if you want to fitler by variation stock status, please do not forget to enable “Use for Variations” checkbox for the filters by Size and by Stock status.

I just purchased filter and switched from free to pro version , i have added license .My only problem is that when i click on any category it keeps taking me to shop page .I want that when i click on main category then i see sub categories on display and related brands on filter keep changing dynamically .Is it possible or i have only done this exercise of switching from another filter to your’s in futile. Spent few hours but could not figure out .Please help.It is a big affiliate website with many categories and subcategories please. See it here if you want to check. www.p4y.co.uk

Hello p4ycouk

I already answerd you on email. As it realized all issues were consequence of the wrong configured filters. I hope now it works as you expected and your site visitors will be happy to use filtering to find desired products in your store.

Thank you. Regards.

Filter still breaking and can not hide irrelevant colors and brands and being a very big affiliate website they show in hundreds.Do you have solution please or do i have to shop elsewhere? If you can resolve i would love to continue.Please help.

Hello p4ycouk

I can help you in case if there is bug or something does not work as described. Please, let me know what exactly does not work as described. Provide me with link to the page, where the problem exists and let me know details, why do you think that it does not work as you need.

Thank you.

Hi,

I purchased your filter everything plugin, it was installed and the test filters are working as well as with ajax. However if i enable the special mobile popup option in the settings ( which i really want to use ) something is not right.

First, button that was supposed to appear on mobile only it shows on desktop too. I could hide it with css that’s not the issue but the button itself is not doing anything. On mobile when i press it, it opens an overlay but nothing else. I was wondering if you could take a look please? I have sent the login details by PM

Go to the shop page for a test

If you need anything else please let me know

Thank you

Hello shumo

Thank you for using Filter Everything PRO.

I’m not sure why the button is visible on desktop, but I disabled all buttons that were inserted automatically (appropriate checkbox in Filters -> Settings -> Experimental) and inserted the button via shortcode above the Filters widget. Now it works fine. Please, check it.

Hi Stepasyuk. Thank you it works now! Thank you for your help

Can I make a suggestion for future updates? Consider adding to your plugin the option to take over woocommerce’s pagination ( by allowing us to add the pagination selector like we do with the product selector ) and expand your ajax script to the pagination as well. The problem is that with your plugin and ajax active, i can no longer use my theme’s ajax pagination option due to conflicts. I tried using another 3rd party plugin for this but still it was in conflict with your ajax loading.

Perhaps you can consider it.

Thank you

Hi shumo.

Thank you for your suggestion.

In general if it would be possible, of course I would be glad to write code that is compatible with any pagination by default. But it is not possible because different AJAX pagination works in different way (from the code point of view).

But from another side for products I can recommend you this pagination/load more plugin https://wordpress.org/plugins/load-more-products-for-woocommerce/ that is compatible with Filter Everything.

Right now it seems the state of the collapsed filter (open / closed) is persisted. I have styled the collapsed filters to open a dropdown but now the behaviour I want is to close the opened filter if you open another collapsed filter, and also not save the state of the filters so that they are always closed if you go to another page or refresh, how do I do this?

Hello andufva

I would be glad to help you more with this, but it is somthing that is out from the item support scope here on CodeCanyon as it is customization of the plugin code.

I can only tell you that it requires additional JavaScript coding and to force plugin to forget opened/closed status you have to modify cookie with name ‘wpcWidgetStatus’

Hi! Could you help, please! I have purchased a plugin license for the site. The site has moved to a new domain, the license stopped working. When entering a license key, the plugin responds with an error. What could be the problem and how to activate the plugin license on the new domain?

Hi ogukrop

Thank you for using Filter Everything PRO.

First of all you have to deactivate the license on the old site. But if it is not possible for you, please send me your license key via PM and I will deactivate it myself from the license server side.

Regards.

Hi Daniel,

I just purchased the Filter Everything module. My need is to be able to filter a list of posts on pages based on custom fields (ACF).

I have 2 problems: 1/ when I insert the license key (wich I obtained by clicking on “get your license key”), I have this error “Unknown error.”. Note that I’m on a test server provided by Gandi and this server is accessible via password so it may be a problem. FYI, I temporarily disabled the password to access to the site but the problem is still there.

2/ I don’t know if it’s related but I don’t have the Filter Everything widgets available from Elementor, I don’t see them.

Best regards, Manu

Hi Macymed

Thank you for using FIlter Everything PRO.

Please, try to insert the license key now, maybe it was temporarily problem. If it will not work, please, send me credentials to your /wp-admin in accordance with this document and your license key I will check it myself.

About widget in Elementor – it is known problem, when you can not find any WordPress widget through Elementor search field. Just scroll down to the WORDPRESS section and try to select Filters widget manually.

BTW, I’m not Daniel, I’m Andrii :-)

Thank you. Regards.

Hi Andri

Thank your for your answer. Sorry for the first name :) I sent you the credentials

Best Regards

Hi Macymed.

Thank you for the credentials. I’ve already activated the license.

Hi Just wondering if its possible to use the filter on a single (non WooCommerce) page and show products with a filter above. I’ve done it fine on shop related pages but not sure of the required settings if it can be done. Thanks

Hello timbonnett

Thank you for using Filter Everything PRO.

Sure. You can filter products on any singular page including custom created with Elementor or other page builder. But the one important moment – first you have to display these products on the page and after to add filters. Because filtering does not add new products on a page, but only narrows existing products list.

Hello, I am using this theme https://timber.github.io/docs/reference/timber-post/ , on the Woocommerce store page , when activating the plugin I get an error (I leave the error at the end). Editing the code of the product archive page, removing the action woocommerce_before_shop_loop, the plugin works but does not work for mobile. Do you have any idea why this is happening? I tried to add the shortcode [fe_open_button] to show the button on mobile, but it doesn’t work. Using the browser inspector, I see that the button appears with display:none (it is hidden), I have tried to show it but it does not work correctly. Is there any solution for my case? I leave you the link to the site: https://dinasti.ionserver.link/tienda

The error:

Fatal error: Uncaught Error: Object of class StarterSite could not be converted to string in C:\xampp\htdocs\dinasti\wp-content\plugins\filter-everything-pro\src\wpc-helpers.php:642 Stack trace: #0 C:\xampp\htdocs\dinasti\wp-content\plugins\filter-everything-pro\src\wpc-helpers.php(642): preg_replace(’/[^\\d]+/’, ’’, Array) #1 C:\xampp\htdocs\dinasti\wp-includes\class-wp-hook.php(308): flrt_filters_button(Array) #2 C:\xampp\htdocs\dinasti\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(’’, Array) #3 C:\xampp\htdocs\dinasti\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #4 [internal function]: do_action(‘woocommerce_bef…’, Array) #5 C:\xampp\htdocs\dinasti\wp-content\plugins\timber-library\lib\Twig.php(39): call_user_func_array(‘do_action’, Array) #6 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Environment.php(418) : eval()’d code(61): Timber\Twig->Timber\{closure}(Array, ‘woocommerce_bef…’) #7 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Template.php(182): __TwigTemplate_ce8f8dbf8c6aee32cb231ea2434733a7->block_content(Array, Array) #8 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Environment.php(418) : eval()’d code(52): Twig\Template->displayBlock(‘content’, Array, Array) #9 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Template.php(405): __TwigTemplate_b542e83015cb9d6ce65ddcd1000e7a25->doDisplay(Array, Array) #10 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array) #11 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Environment.php(418) : eval()’d code(42): Twig\Template->display(Array, Array) #12 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Template.php(405): __TwigTemplate_ce8f8dbf8c6aee32cb231ea2434733a7->doDisplay(Array, Array) #13 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array) #14 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\Template.php(390): Twig\Template->display(Array) #15 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\vendor\twig\twig\src\TemplateWrapper.php(45): Twig\Template->render(Array, Array) #16 C:\xampp\htdocs\dinasti\wp-content\plugins\timber-library\lib\Loader.php(79): Twig\TemplateWrapper->render(Array) #17 C:\xampp\htdocs\dinasti\wp-content\plugins\timber-library\lib\Timber.php(334): Timber\Loader->render(‘templates/woo/a…’, Array, false, ‘default’) #18 C:\xampp\htdocs\dinasti\wp-content\plugins\timber-library\lib\Timber.php(383): Timber\Timber::compile(‘templates/woo/a…’, Array, false, ‘default’, true) #19 C:\xampp\htdocs\dinasti\wp-content\plugins\timber-library\lib\Timber.php(410): Timber\Timber::fetch(‘templates/woo/a…’, Array, false, ‘default’) #20 C:\xampp\htdocs\dinasti\wp-content\themes\dinasti-ecommerce\woocommerce.php(57): Timber\Timber::render(‘templates/woo/a…’, Array) #21 C:\xampp\htdocs\dinasti\wp-includes\template-loader.php(106): include(‘C:\\xampp\\htdocs…’) #22 C:\xampp\htdocs\dinasti\wp-blog-header.php(19): require_once(‘C:\\xampp\\htdocs…’) #23 C:\xampp\htdocs\dinasti\index.php(17): require(‘C:\\xampp\\htdocs…’) #24 {main} thrown in C:\xampp\htdocs\dinasti\wp-content\plugins\filter-everything-pro\src\wpc-helpers.php on line 642

Hello alinnovatr

Thank you for the credentials. But I don’t see any errors there. How I can reproduce the error? Please, let me know.

Thank you. Regards.

Hello Stepasyuk,

I sent you by PM the code I’m using for the store page of https://test-plugin.ionserver.link/tienda. As I told you before, I am using the Timber theme-plugin (based on Twig). I have two problems, I don’t know if one depends on the other:

1- My main problem is that the website does not show correctly the button to display the filters in mobile.

2- In the code of the Shop page, when I add “do action(‘woocommerce_before_shop_loop’)” and the plugin is active, the error I mentioned appears. Right now I added that function “woocommerce_before_shop_loop” and it is showing the error. If you deactivate the filters plugin, the page displays normally.

I don’t know if the plugin needs this function to work, if so, why is this error occurring. If the plugin does not need to run the before_shop_loop, what do I need for the mobile button to work correctly?

Hello alinnovatr

I’ve fixed the error by adding folowing code in the functions.php of your active theme:
add_action( 'wp', 'wpc_remove_filters_button' );
function wpc_remove_filters_button(){
    remove_action('woocommerce_before_shop_loop', 'flrt_filters_button', 5);
    remove_action('woocommerce_no_products_found', 'flrt_filters_button', 5);
}

It seems your theme uses Twig and maybe it pass though the hook ‘woocommerce_before_shop_loop’ something incorrect.

You can insert Filters button for mobile via shortcode [fe_open_button] or <?php echo do_shortcode( '[fe_open_button]' ); ?>. Please read more here – https://filtereverything.pro/resources/shortcodes/#open-button

Please introduce the ability to duplicate FIlter Sets! In every case for WooCommerce we have to create a set for Taxonomies and PAGES. They are exactly the same filters except “Apply filtering if page is:” is set to PAGES. Thank you!

Hello AP4571

Thank you for using Filter Everything PRO plugin.

This feature is planned and will be added to the plugin. But too high load on support slows down the development process so it may take some time.

My license key doesn’t work. After add the key in the license information, the license key is invalid? AJAX for Filters not working Pop-up Filters Widget for Mobile not working

Hello valdis3

Thank you for using the plugin.

Please, don’t worry. All these things can be solved.

1. 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.

2. Please, provide me with link to the page, where you tried to use filters. You can optionally send it via PM.

Hello if filter can do this before buy it: If i can create a dropdown filter for state [Florida] and the only show me all the Counties belong to that state like [Miami, Palm Beach, Martin, Broward, Lee, Hendry, Glades, etc.) THANKS FOR YOU TIME AND HELP!

Hello camus17

Thank you for your interest in Filter Everything PRO.

If you use two different entities for your State and County (for example States are categories, Counties are another taxonomy or custom field) you can create two filters – State and County. And to set State as parent filter for County.

In this case visitors will not be able to select County until they select State. And also all available Counties will be related with the State only.

If you use the same entity for both – States and Counties, for example parent and child categories as option you can create filter with Checkboxes layout and enable to show hierarchy for it. It will work like Category filter on this demo page – https://demo.filtereverything.pro/ (parents optionally can be opened or closed by default)

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