Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,183 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9141 comments found.

Dear Stepasyuk!

1) Could you please precise why filter doesn’t show all category products? Please have a look at this filter: https://ilmarsr3.sg-host.com/produktu-kategorijas/biologiska-augu-aizsardziba/dzivie-organismi/ . We see 0 for Tripsis, Laputis and Brunutis although I checked that products several products under this category have mentioned attributes. For example: https://ilmarsr3.sg-host.com/shop/biologiska-augu-aizsardziba/dzivie-organismi/orius-system-500/ https://ilmarsr3.sg-host.com/shop/biologiska-augu-aizsardziba/dzivie-organismi/adalia-system-100/ 2) Please precise how to change color of check box to theme default color?

Hello LiivR

1. As I see now all these terms have more than 0 counts of products. It seems the reason of the issue was cached data. It can be refreshed if you open your site page with ?reset_filters_cache=true parameter in URL. For example https://ilmarsr3.sg-host.com/?reset_filters_cache=true

2. If you do not use “Styled checkboxes and radio buttons” (can be activated in Filters -> Settings -> Experimental -> Styled checkboxes and radio buttons) the color of checkboxes and radiobuttons is default browser color. I think they can be changed via CSS but you have to try to find this on appropriate resources in Internet. If you will activate “Styled checkboxes and radio buttons” you can set color for them in Filters -> Settings.

Hello,

I am using ACF with Filter Everytihng Pro to filter woningen(houses). In the filter energielabel is missing something. There should be 2 choices: A and A+++ but only the choise A is visible in the filter. Could you help me make every choise visible in the filter?

http://drm.ontwikkelaim.nl/woningen/koopwoningen/

Best Regards, Lucas

Hello Lucas

Thank you for using Filter Everything PRO.

It is known bug and I’m already working on it. I will fix it soon and let you know here in this comment thread how to update the fixed plugin version.

Can I only display a certain main category (e.g. electronics) and its subcategories on a page? All other main categories should not be displayed. Maybe this can be done with an extra shortcode?

Hi Nettili

Sure, you can specify what exactly category (or another filter term) should be included in the filter. There are several ways to do this – via settings or via small custom coding in dependancy from details of your goal.

Hi, I am using Elementor and various other plugins to show products. but your free version does not show filtered product. So I want too know will this work on the pro version and also does it have the collapse option for PC/Tablet and mobile all three?

Thank you

Hi madhawaudawatta

Thank you for your interest in Filter Everything PRO.

Indeed, the Free version works only with native WordPress WP_Queries (called Main WP_Query) and that’s why it does not filter custom WP_Queries that Elementor and many other plugin use. So my answer is – yes, sure. The PRO version will filter products and posts on pages created with Elementor or other Page Builders. Here is demo example of filtering on the page created with Elementor – https://demo.filtereverything.pro/elementor/

Is there a way to add a collapse button on for pc also?

Yes, sure. It is possible. I can provide you with instructions under item support policy, if you will buy the plugin.

Thank you.

Hello. I use your filter plugin for a selling properties website. Is there a possibility to have some kind of sorting so that the custom field price can be used to sort from low to high price and from high to low? Thank you!

also, the second question: is there a possibility to have a search option filter for dropdown? I saw that for the checkbox, for example, there is that option, but for a dropdown exist? Thank you!

Hello kiklab

1. Sure. Just create appropriate sorting option in the Sorting widget. You have to select there “Meta key num” for the new sorting option.

2. If you enable “Improved dropdowns” in Filters -> Settings -> Experimental -> Improved dropdowns each Dropdown will contain a search field. But it is available only when you open the dropdown. Please see screenshot – https://prnt.sc/s7ldxv8w-scq created on this demo page – https://demo.filtereverything.pro/

How can your first question apply to hello elementor themes? I know on this theme there are no widgets :) Thank you!

Ένα σφάλμα τύπου E_ERROR εντοπίστηκε στη γραμμή 50 του αρχείου /home/laviehome/public_html/wp-content/plugins/filter-everything-pro/pro/Api/ApiRequests.php. Κωδικός σφάλματος: Uncaught Error: Call to undefined function FilterEverything\Filter\Pro\Api\curl_init() in /home/laviehome/public_html/wp-content/plugins/filter-everything-pro/pro/Api/ApiRequests.php:50 Stack trace: #0 /home/laviehome/public_html/wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php(250): FilterEverything\Filter\Pro\Api\ApiRequests->sendRequest(‘POST’, ‘updates’, Array) #1 /home/laviehome/public_html/wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php(144): flrt_ask_for_update() #2 /home/laviehome/public_html/wp-includes/class-wp-hook.php(310): flrt_increase_count(Object(stdClass)) #3 /home/laviehome/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(stdClass), Array) #4 /home/laviehome/public_html/wp-includes/option.php(1986): apply_filters(‘site_transient_…’, Object(stdClass), ‘update_plugins’) #5 /home/laviehome/public_html/wp-content/themes/flatsome/inc/classes/class-tgm-plugin-activation.php(1938): get_site_transient(‘update_plugins’) #6 /home/laviehome/public_html/wp-content/themes/flatsome/inc/classes/class-tgm-plugin-activation.php(1796): TGM_Plugin_Activation->does_plugin_have_update(‘woocommerce’) #7 /home/laviehome/public_html/wp-content/themes/flatsome/inc/classes/class-tgm-plugin-activation.php(417): TGM_Plugin_Activation->is_tgmpa_complete() #8 /home/laviehome/public_html/wp-includes/class-wp-hook.php(308): TGM_Plugin_Activation->init(’’) #9 /home/laviehome/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 /home/laviehome/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /home/laviehome/public_html/wp-settings.php(617): do_action(‘init’) #12 /home/laviehome/public_html/wp-config.php(109): require_once(’/home/laviehome…’) #13 /home/laviehome/public_html/wp-load.php(50): require_once(’/home/laviehome…’) #14 /home/laviehome/public_html/wp-admin/admin.php(34): require_once(’/home/laviehome…’) #15 /home/laviehome/public_html/wp-admin/index.php(10): require_once(’/home/laviehome…’) #16 {main} thrown

Once i enable plugin i get this error. I just purchaced plugin and i get too many errors

It seems that plugin does not support Php 8.1

Hello GOGOULOS.

Thank you for using the plugin.

It is compatible with PHP 8.1, but it seems your PHP instance has no enabled CURL module. Please, ask your hosting provider support to enable CURL and it will become to work correctly.

I can’t get the plugin to work with post categories. You can help me?

Hello Giabobbe

Thank you for using Filter Everything PRO.

Please, let me know what exaclty problem you got when you tried to create filter by post categories? Did you see this short article about how to quick start with the plugin https://filtereverything.pro/resources/quickstart/ ?

Thank you.

Hi, Is it intended that on filter (with ajax enabled) whole page (document) is loaded in response? Not only the product container with filtered products?

I just saw also that when i edit products with filter everything enabled, i see in product attributes the visuals are changed. Also i am using sheet editor to create variations from single products. With filter everything enabled this doesnt work. This is really critical for me

Hello GOGOULOS

It looks like this problems were caused by the reason in previous your comment about CURL module in PHP. I hope you already enabled this module and now these issues have gone.

Hello

I am facing the exact same issue.

I hope this message finds you well. I wanted to take a moment to let you know that I am experiencing some issues with the AJAX filter option on my website. I have noticed that the product images are not being displayed when the AJAX filter option is enabled, but if I refresh the page, the images are then shown.

For your reference, my website URL is https://laviehome.gr and I am currently using the Flatsome theme.

Thank you for your time and I appreciate your assistance in resolving this matter.

Best regards,

Hello GOGOULOS

It is known issue when you use AJAX and Lazy load or other JS features that applied to dynamically loaded content should be reinitialized after this content was loaded.

In case of Flatsome theme Lazy Load feature, you have to add next JS code somewhere on your site pages. The best way is to place it in JS file of your child theme, but also you can put it directly in footer.php and keep it there when you use Lazy Load.
function createObserver (handler) {
   return new IntersectionObserver(function (entries) {
       for (var i = 0; i < entries.length; i++) {
           handler(entries[i])
       }
   }, {
       rootMargin: '0px',
       threshold: 0.1
   })
}

jQuery(document).on('ready', function(e){
   var observer = createObserver(function (entry) {
       if (entry.intersectionRatio > 0) {
           observer.unobserve(entry.target)

           var $el = jQuery(entry.target)
           var src = $el.data('src')
           var srcset = $el.data('srcset')

           if ($el.hasClass('lazy-load-active')) return
           else $el.addClass('lazy-load-active')

           if (src) $el.attr('src', src)
           if (srcset) $el.attr('srcset', srcset)

           $el.imagesLoaded(function () {
               $el.removeClass('lazy-load')
               if (typeof objectFitImages !== 'undefined') {
                   objectFitImages($el)
               }
           })
       }
   })

   jQuery('.lazy-load').each(function (i, el) {
       observer.observe(el)
   })
});

I hope this message finds you well. I wanted to take a moment to let you know that I am experiencing some issues with the AJAX filter option on my website. I have noticed that the product images are not being displayed when the AJAX filter option is enabled, but if I refresh the page, the images are then shown.

I have created a short video recording of the issue which I have shared with you using the following link: https://www.loom.com/share/4f229c62c340419d9cfff749475143c5

For your reference, my website URL is https://lunettes.com.bd and I am currently using the Flatsome theme.

Thank you for your time and I appreciate your assistance in resolving this matter.

Best regards,

Hi Jayed_hasan

Thank you for using Filter Everything PRO.

It is known issue when you use AJAX and Lazy load or other JS features that applied to dynamically loaded content should be reinitialized after this content was loaded. IN case of Flatsome theme Lazy Load feature, you have to add next JS code somewhere on your page. Best way is to place it in JS file of your child theme, but also you can put it directly in footer.php and keep it there when you use Lazy Load.
function createObserver (handler) {
   return new IntersectionObserver(function (entries) {
       for (var i = 0; i < entries.length; i++) {
           handler(entries[i])
       }
   }, {
       rootMargin: '0px',
       threshold: 0.1
   })
}

jQuery(document).on('ready', function(e){
   //
   var observer = createObserver(function (entry) {
       if (entry.intersectionRatio > 0) {
           observer.unobserve(entry.target)

           var $el = jQuery(entry.target)
           var src = $el.data('src')
           var srcset = $el.data('srcset')

           if ($el.hasClass('lazy-load-active')) return
           else $el.addClass('lazy-load-active')

           if (src) $el.attr('src', src)
           if (srcset) $el.attr('srcset', srcset)

           $el.imagesLoaded(function () {
               $el.removeClass('lazy-load')
               if (typeof objectFitImages !== 'undefined') {
                   objectFitImages($el)
               }
           })
       }
   })

   jQuery('.lazy-load').each(function (i, el) {
       observer.observe(el)
   })
});

Thanks for the solution. I’ve just disabled the lazy loading feature and it resolved the issue.

Cool. I’m glad that your problem is already solved :-)


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 made a filter, but when I want to place the widget block on my shop pagen in Elementor, It does not show in the widget list.

Hello kasperdc1

Thank you for your credentials.

I’m not sure but it looks like you have to ask the administrator of the Multisite Network to change permission settings or something like this. Because on your site in admin dashborad there is no Filter Everythinng PRO plugin in the active plugins list.

But from another side [fe_widget] shortcode works on the archive page. If you will not find the reason in your Multisite Network settings as option you can use shortcode, which do all the same as widget – https://filtereverything.pro/resources/shortcodes/

Hi there! couple of months later. We have moved our part of the multisite to a single site. Now it asks for a license key, but when i press the button “Get your license key”, it tells me I have no key…

Hi kasperdc1.

Please, provide me with screenshot of the page, where you see the message that you have not License key. I mean that new tab that opens after you click on the “Get your license key” button. Optionally you can send it via PM.

Thank you. Regards.
- Andrii.

Filter Advanced Custom Fields

ACF – Select

Options:

1+1

2+1

3+1

In sidebar show right (3)

But can`t return result of search, said found zero.

Without + work good

i need to use plus… help me please

Screenshot https://disk.yandex.ru/d/Gp2HDhqJ-GHVSw

SELECT SQL_CALC_FOUND_ROWS nf_posts.ID FROM nf_posts LEFT JOIN nf_term_relationships ON (nf_posts.ID = nf_term_relationships.object_id) INNER JOIN nf_postmeta ON ( nf_posts.ID = nf_postmeta.post_id ) WHERE 1=1 AND ( nf_term_relationships.term_taxonomy_id IN (6) ) AND ( ( nf_postmeta.meta_key = ‘flat_plan’ AND nf_postmeta.meta_value REGEXP ’.;s:[0-9]+:\”3+1\”.’ ) ) AND ((nf_posts.post_type = ‘post’ AND (nf_posts.post_status = ‘publish’ OR nf_posts.post_status = ‘acf-disabled’ OR nf_posts.post_status = ‘private’))) GROUP BY nf_posts.ID ORDER BY nf_posts.post_date DESC LIMIT 0, 15

3+1 – problem with PLUS

Hello, Is there any implementation timeline?

Hello madweb1

This bug is already solved for the next plugin version, but I’m not sure, when it will be released. However I can send you direct link to this intermediate version that already contains the fix, but please send me message in PM and I will send you the link.

Thank you.

i write you on mail

Hi there,

i’d like to have two category filter sections within a filter set. How can i achieve this?

Let’s say one section would be “Gender” and below that i’d like to have “Product type”. I want them to be in two different sections with two different headings, not just the two parent categories one below the other. See brief example below.

Thanks! :)

Section A Gender

Men Women Unisex

Section B Products

T-Shirts Hoodies Tank Tops ...

Hi maksim_rvdiment

Thank you for using Filter Everything PRO.

You can not add two filters by the same entity in one Filter Set. But you always can create two Filter Sets, direct them to the same page, put two Filters widgets on it and you will achieve your goal :-)

You had replied to me due to issues im having with compatibility with my theme/ web build (bricks) and the filter everything plugin. Im a Wordpress developer, and without some sort of work around, this plugin doesn’t appear to work with bricks. Please provide a refund, unless you have documentation detailing how to get this to work with bricks. Info you sent via message is already among the things I have already looked into. Im 8+ hours digging into this already.

Hello davidkoenig23

Please, let me know what exactly does not work with Bricks? Because I have another customer who uses Bricks and FIlter Everything PRO and they work together. With one specific moment – Bricks theme uses copies of WP_Queries on every Category page and this requires to create individual Filter Sets for such Categories.

Hi davidkoenig23

I’m glad to inform you that I already fixed issue with Filter Set for common categories pages and Bricks Builder. Now the plugin works with Bricks Builder as with any other page builder.

If you need this update, please let me know here and I will send you direct link to the intermediate plugin version, that contains this fix.

First, i’ve read the manual looking for a solution to my issue. Didn’t found anything.

I just discovered your plugin today, tested the free version and straightly purchased the PRO to support such great plugin. But…

... now I discover that page with their contents made on Classic Text Editor doesn’t show up. They are just blank, I refeer to short pages incuding a shortcode (like contact form) or text only pages like “Privacy Policy”. Only header a footer appears, but no the content..

However, Woocommerce pages (like shop page, product page, cart, etc) show up properly, and also pages edited on Beaver Builder.

Here are my attempts to solve the issue:

- Unactivate Filter Everything plugin-> Pages show up again.

- Activate the plugin and send to bin the filter set I created -> Page content hide again

- READ THE MANUAL – > I didn’t found a solution but I got even more familarized with the plugin.

- Delete this plugin Widget on Theme Customizer > Shop Filters. Didn’t solved the issue.

- Tweak sidebar settings on theme. No results.

- Turn on Ajax -> didn’t solved the issue, just in case.

- Deactivate the plugin -> Text Pages show up again.

Really looking foward for any direction to go.

Hi i’m still waiting you to check the issue, it has been 9 days since today, and I still got no support.

Hi paquitonavas

Thank you for your credentials and sorry for the late response. In my author dashboard first of all I see comments that were published 1-2 days ago and when you add a new comment under existing it “refreshes” this date and your request may be postponed to additional 2 days.

I checked your site and realized that your pages also do not work when the Polylang plugin is activated and Filter Everything PRO is deactivated. It means that my plugin is not related with the issue. Thus you have to find the issue between Polylang and other plugins installed on your site.

Why did you decide that Filter Everything PRO causes the issue? Please, let me know.

I’ve checked what you sai, and it is right. One week ago, when deactivating Filter All Pro, pages were clearly reappearing, I double checked that before opening a ticket, but now it is acting different, as you have described. I can’t still give you an answer to the issue, but i will dig on it a bit deeper and I feel in debt to give you a response as soon as I get the issue.

1. Will it work with ReHub theme? 2. Can it search&filter Authors? Stores?

Hello michayu

Thank you for your interest in Filter Everything PRO.

1. Yes, sure. It works with this theme.

2. You can filter posts/products by Authors. But this plugin does not allow you to filter Authors by some criteria.

Hello, we have the PRO version and all is fine except that we want to only show “instock” products WITHOUT this term in urls. Is it a way to force it once for all ? I saw the wpc_filter_term_url hook, but it add it in the url and we don’t want that.

Best regards

Hi, I found the way to add “instock” without url by modifying the line 192 in your code in \src\RequestParser.php :

$pathSegments = $this->getPathSegments(); becomes $pathSegments = apply_filters( ‘wpc_filter_path_segments’, $this->getPathSegments() );

Tell me if you think you could do this change in the future, otherwise I’ll need to correct it each time the plugin will be updated.

Best regard

Hello lesdessouschicsinfo

Thank you for using Filter Everything PRO and for your suggestion.

I’ve already added this hook to the plugin and you will not need to fix it every time after update.

Thank you.

How can I do to translate the word “select” in filter dropdowns?

Hello forlanistudio

Thank you for using Filter Everything PRO.

You have several ways to change the string - Select %s - to your own:
1) To translate it with the Loco translate plugin or other software if you use not-English language on your site.
2) To use theTemplates overriding feature https://filtereverything.pro/resources/templates-overriding/ to override the dropdown.php template and replace the string.
3) To use hook ‘wpc_dropdown_default_option‘ if you are familiar with PHP development.

How to configure the search module to display car parts by brand, model, year and engine? Knowing that I created a custom taxonomy named “Cars” with the WCK plugin.

Here is the style I want to do on this demo: https://chromium.themes.zone/catalog/

Consider adding a new feature in your plugin that allows you to add filtering restrictions like the following open source plugin:

https://wordpress.org/plugins/ymm-search/

What do you think ?

Hello ImedZh

Thank you for your suggestion, but I’m not sure I understand you clear what exactly restrictions you mean. Please, explain it in details. Thank you.

Hello

My suggestion is to add data in CSV format in the product page.

Here is an example: “Dacia, Duster, Essence 1.6L, 2015, 2022”.

The search module will be able to automatically display this data in selectboxes:

_ Mark _ _ Model _ _ Year _ _ Motorization _ _ Product Category _

If we are going to follow your logic, we must create:

- A taxonomy for the mark

- A taxonomy for the model

- A taxonomy for the year

- A taxonomy for motorization

The problem with this logic is that when you choose the mark “Dacia” then the model selection displays all available models of all brands (including Dacia models).

So, I think you need to adopt YMM Search logic in your search module.

Did you get the idea?

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