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.

8947 comments found.

It is kinda for help but I have a license and it stopped working on a website. It’s supposed to be on the production and development environment only, but I got a message saying it’s already being used. Not sure that I need to renew support for something like this, I don’t think it should have happened and I don’t have a place to look where the license has been activated so I can deactivate myself.

Purchase code: 72f086a1-77da-425a-a52a-b8f83af39f33

Hi abrcoelho

The license can be activated only on two sites. This means that the license has already been activated on two sites. What you can do is send us your license key via PM – https://codecanyon.net/user/fe_support so we can deactivate it across all of the sites.

Please follow the instructions on this page: https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key to get the license key.

Best Regards,
- Victor

Done! Now you can activate it on the needed sites only.

Best Regards,
- Victor

Hello,

I setup filters on my page and I have problem. I am sorting product by entered atributes, for example weight and if I click on dropdown menu and I want choose one option than options there is not sorted from low to high, but its there randomly. For example 26 14 22 35 7 etc … What I can do to see list in dropdown menu sorted like 7 14 22 26 35 ?

And if values are alphabets than I want have sorted it alphabetically … for example colours …

Anyway filtering works, I want to fix only this sort atributes issue. I think that it will be easy change somewhere, but I am not programmer :)

Thanks

Petr

Hi Petr

Thank you for choosing Filter Everything PRO.

Please create a sorting option not by a “Custom key” but by a “Custom key numeric”.

Best Regards,
- Victor

Thanks ! My mistake, I didnt see it before :) Next question, is it possible update Sorting widget to be able sort for Taxonomie Numeric and than choose one of Product Atribute (for example weight, height etc) ? = the same as I can do in filtering ? Or its there already and I only dont know how to use it ? :-/

Hi Petr

This will require custom coding. But it is also not as easy as it might look. The reason why it wasn’t implemented as the default option in the sorting widget is that you can apply multiple tags and categories on one product, thus this will cause confusion in ordering. As one post/product can have 20 and 200 applied to it, it raises the question, by which values it should be ordered?

So we’d recommend creating a numerical custom field, and applying the needed data there in order to create one more sorting option from this custom field data.

Best Regards,
- Victor

Hello … Is it possible to filter a custom field which is of field type ‘select’ I’ve created within a Field Groups section of ACF?

Because i’m trying this now but I get the message ‘There are no filter terms yet’

Thank you

Can you please send the credentials to the wp-admin dashboard following this document so we can check it?

Also, send the link to the page where you want the filter to be displayed and filter posts.

Best Regards,
- Victor

Hi Victor – Sorry, I think i’ve now figured out the problem – I has a space just before the field in the ‘meta key’ field. Seems to be working now. Sorry to hassle you (-:

We are glad to hear that the issue was resolved. You did a great job noticing it!

Best Regards,
- Victor

Hi, we purchase the plugin recently and we been using it in conjunction with Elementor and ACF, but we been presenting some issues.

- We currently need to put a product filter in an archive page, but because this archive is for projects it doesn’t show, is there a way to display both filters in the archive?

- Is possible to use the hierarchy function that is available for the checkbox opcion but with the labels list?, the label style is more loyal to our original design.

- I have cards for products and with ACF we’re displaying the diferents taxonomies available, even though we didn’t fill the respective field of that taxonomy. This never happen to us before with ACF alone, may this be a conflict issue?

Hi sanitariasehidraulicassa

Thank you for choosing Filter Everything PRO.

- We currently need to put a product filter on an archive page, but because this archive is for projects it doesn’t show, is there a way to display both filters in the archive?
So you want to place a product filter on the project archive pages? This is actually very confusing.
- Is possible to use the hierarchy function that is available for the checkbox option but with the labels list?, the label style is more loyal to our original design.
Currently, the hierarchy is available only for the checkboxes. But with future updates, it will be possible for other templates as well.
- I have cards for products and with ACF we’re displaying the different taxonomies available, even though we didn’t fill the respective field of that taxonomy. This never happened to us before with ACF alone, may this be a conflict issue?
Can you please elaborate on this issue, as we do not understand what exactly is going on and what is wrong here?

Best Regards,
- Victor

Hi victor,

- in the first case, we want to implement a filter of “Find products related to the Project” but because the Archive page is connected to the post type for Projects it doesn’t show the filter, is there a way to work around this issue? or we have to change the page type?

Regards.

Have you tried to use the ACF Relationship field? Apply the needed values from the needed posts type on your products or projects, and then create a filter by custom field from this ACF Relationship field.

Perhaps this will help you with the needed filter.

Best Regards,
- Victor

I’m using the WooCommerce and Elementor plugins. I’ve created pages for my product brands using Elementor. I added the Loop Grid element to the page and filtered it using query > term > brand product tags. I added Filter Everything to these pages.

My filter settings: Where to filter? = Pages > for a common query across all pages.

I added the filters to the pages mentioned above, but they didn’t work.

If I change my filter settings: Where to filter? = Pages > (select specific page).

The filter works on a “specific page”

For the grid loop section on each brand page, the query will be: term > brand product tag.

Can I use 1 filter for these different brand pages?

Thanks. Is there an easy way to duplicate filter sets?

The development team is working on this functionality currently. However, manually duplicating it is close to impossible, as even for the development team, it is hard, and from time to time they make mistakes that cause very weird behavior and errors.

Best Regards,
- Victor

FE_support Author Team

Hi Sherlock_Ferdi

The update to add the duplication of Filter Sets will be released today in a couple of hours.

Import/export will be released in the next update.

Best Regards,
Victor

Hey,

I’ve recently just purchased another license for my website https://soharetreats.com/

I was using another license by accident, but now the filters don’t seem to be updating on the Elementor loop, I’ve tried everything but am unsure what to do next.

Could this stop working due to a license difference, I’ve added the new licenses I’ve just purchased but I still have the same issue of the filters getting populated but the loop itself just refreshes with all the incorrect results.

Hi adamgodfrey931

No, the license wouldn’t make issues here. Could you please send a link to the exact page with the problem and instructions on what it should and shouldn’t show?

Best Regards,
- Victor

Hi,

I display a filter of type “Custom field” as a drop-down list. The filter is displayed well but displays the slugs and not the name of the terms.

My ACF field is of type checkbox and the return value is on “Table”.

Thanks for your help.

We have to turn off the URL-friendly permalink manager from our plugin, the code is in the code snippet plugin, as it conflicts with one of the plugins on your site that changing permalinks.

Best Regards,
- Victor

Thank you. How can I clear the cache? I don’t see the option in the settings.

Hi cviale

Usually, when you update any posts or product it should clean it automatically, in order to display newly applied taxonomies or any other entities that were applied to the posts. Also, if you go to the filter set and hit update it should clean it as well. This is not always the case, so you can add the next get parameter on your let’s say shop page like ”?reset_filters_cache=true” so it’ll look like “mysite.com/shop/?reset_filters_cache=true”

Additionally, you can write a function from this example:

if ( class_exists( '\FilterEverything\Filter\Plugin' ) ) {
    $fe = new \FilterEverything\Filter\Plugin();
    $fe->resetTransitions();
}

Best Regards,
- Victor

Hi, I just purchased extended support for this issue – we got a project to make just and only a new filtration on the website. We made a developer website for it. Our client uses Elementor and have its own Templates and Widgets for everything. The problem is we cannot find the match with the Filter and the WP_Query that it allows to use. Can we kindly ask you, to look at it? We are more than open to send you all the credentials to dev web.

Hi Musilda

Thank you for choosing Filter Everything PRO.

Please send the credentials to the wp-admin dashboard following this document so we can check it.

Also, please send the link to the exact page where you want to display the filters, and what exactly you want to filter on this page.

Please note, that we need an exact page, and not the Elementor template link itself, as it can be used for any page.

Best Regards,
- Victor

Hi Victor, we sent the credentials.

We have checked the site, and there’s some issue with the default listing CPT that comes with the “listivo core” plugin for the theme functionality.

With every other CPT, it is working well, that were created for example with the CPT UI plugin and their taxonomies, but this CPT is somehow uniquely created. Perhaps to work with the custom fields that can be added to it.

It can filter it, but the counters are all (0) as those created taxonomies to this specific CPT are not connected.

Best Regards,
- Victor

Hi, great plugin. Is it possible to increase the resolution of the image that is output for the brands images? I know I can change the dimensions with the wpc_brands_width_height hook – but this changes it with css rather than changing the output image size – which stays as the 150×150 thumbnail – I’d like to use the ‘large’ image size for example. Thanks.

Hi goodbanter

Thank you for choosing Filter Everything PRO.

Unfortunately, there is no such hook at the moment. But you can go to the:

filter folder/src/wpc-helpers.php

There you can find this function:

function flrt_get_term_swatch_image( $term_id, $filter ) {
    $src = false;
    $image_key = 'image';

    if ( strpos( $filter['e_name'], 'pa_' ) === 0 ) {
        $image_key = 'product_attribute_' . $image_key;
 }

    if ( $filter['e_name'] === 'product_cat' ) {
        $image_key = 'thumbnail_id';
 }

    $image_key = apply_filters( 'wpc_image_term_meta_key', $image_key, $filter );

    $image_id = get_term_meta( $term_id, $image_key, true );
    if ( $image_id ) {
        $src = wp_get_attachment_image_url( $image_id, 'thumbnail' );
 }

    return $src;
}

Here you can change it from the thumbnail to the needed value, like full/large/etc:

$src = wp_get_attachment_image_url( $image_id, 'thumbnail' );

Best Regards,
- Victor

Thanks Victor

When there is a Category and Subcategory checked like this: https://i.imgur.com/7qVF9fE.png

Is it possible to clear all checked selections when the Top Category is unchecked? Right now, it stays on Dog Food when I uncheck “Dog”: https://i.imgur.com/q1XdndS.png

Thanks.

Hi shayatik

Unfortunately, there is no such functionality at the moment. We are going to add it to the development list so that the dev team can check it and perhaps it will be added to the plugin functionality in future updates.

Best Regards,
- Victor

I have 5 queries on a single page and I need each of those 5 queries to update based on the filter parameters but I am only able to select one query from the “And what to filter” dropdown. Can you let me know how to make it so ALL queries on the page will update based on the filter parameters? Cheers,

Hi bradley2083

Thank you for choosing Filter Everything PRO.

Unfortunately, the filter set can only work with one query at a time. There is no possibility to make it work with multiple queries at the same time.

But what you can do is apply 5 different filter sets on the same page, and if you have the same exact filters for all of them you can filter with one filter all of 5 of them after you apply 5 filter sets on different queries. However, please note that the counters will show numbers for only one query.

Best Regards,
- Victor

Hello,

I have purchased the Filter Everything Pro plugin. I created a set of filters based on product tags. For one product, I selected the tag “Hořčík.” The filter correctly shows one item with this tag, which is fine. However, I cannot figure out how to apply the filter to the product listing when using the Elementor “Product Archive” widget.

Could you please advise me on how to apply the filter to product listings in Elementor?

Thank you for your help. Test page here: https://hnojik.cz/domain-page/

We have checked the filter set, the issue is that you had turned on the hierarchy view. Hierarchy is very sensitive to the include/exclude categories as it is ruining the hierarchy chain and as a result not displaying it all.

We have turned it off and it and other category terms are displayed in the filter terms.

My second question is whether I can display only items from the main category Semínka on that page before I start selecting filtering options.
Do you mean like prefilter products, choose a certain category and display only products from this category before filtering? If this is the case, then the answer is no, not by our plugin. You can apply settings on the WP_Query in order to display that.

Or, if you want to open the page with an already selected filter, you can use the URL address when choosing the needed filter. This way the menu like shop/attributes/etc will lead to this page with an already selected filter.

Best Regards,
- Victor

Hello, thank you for your responses. I have one more question. Where can I set the number of items displayed on the page? I would like to show all the items that match the filter without having to navigate through multiple pages.

Hi rudolftyburec

If by that you mean where you can configure the amount of product to display per page – it is in the Elementor settings for the element that you are using to display your products. But we’d highly recommend leaving pagination, as if you display all of the products at the same time it will cause long page loading and more resources from the server.

Best Regards,
- Victor

Hi there,

Not a big issue but I noticed the apply button that I have in most of my filters has changed colour from blue to purple.

Maybe it happened during a resent update but is there a way to edit this? I never bother to change it so I have no idea where to look/start.

Hi matthewm174

Those styles are inherited from the theme itself, if they have higher priority, so perhaps there were some changes on the site that changed this color. Or it was changed here – https://prnt.sc/4qGKhVogU_qp which are general colors including the button as well.

Best Regards,
- Victor

You hit the nail on the head.

Someone switched the theme yesterday and switched it back. So that colour section you showed must have been edited.

All sorted now.

Great support as always. Thanks

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

we redesigned the website push staging to live the plugin not working And what to filter? Determines what exactly the Posts list (WP_Query) on a page should be filtered nothing showing on dropdown need urgent help how to solve it.

Thanks in advance

Hi casters

Please ask your site developer to check if the WP_Query is being used on the page. Also, ask him to check if the data is not corrupted, including any problems such as mixed content issues and any other possible conflicts on the site with the theme, plugins, or the object cache (or any other cache plugins).

Best Regards,
- Victor

Hello! We are currently using this plugin and have been for a while now and it’s working perfectly. However, now the client would like to have a page built with only specific products listed (around 10 products specific to ID, not category). How can we setup a product page with only these specific products?

Hi artefactdesign

We are not sure how this question is connected to the plugin itself. If you want to have a page with some products based on the IDs of these products, you can use your own WP_Query Template with parameters of the needed IDs in order to display them.

Best Regards,
- Victor

I have a multilingual site, the name of the filter is written in Ukrainian, in the Russian version it is also displayed in Ukrainian. We use WPML and WooCommerce Multilingual & Multicurrency . How to resolve the issue?

Hi teplospektr

Sounds like everything is working correctly. But perhaps you would want to check this documentation page – https://filtereverything.pro/resources/with-wpml-polylang/ and follow the exact settings, in order to create different translations. So for each language, you will have the ability to create a separate filter set, with the needed title names.

Best Regards,
- Victor

We created a listing with ACF (List and Detail Page) and want to extend the seach field searching for text in other fields than title. How to achive that?

Hi matandi

Thank you for choosing Filter Everything PRO.

The search field uses the default WordPress search algorithms.

If you want to extend it with the new entities, you will need to write custom code that will extend this logic with the necessary conditions.

For this, you can use the WP hook ”posts_search” to apply the required conditions – https://developer.wordpress.org/reference/hooks/posts_search/ For the needed post type.

Also, you can study the plugin code and check how the SKU search was added.

Best Regards, - Victor

Well, we already did that the wordpress search ist finding the fields, the plugin search field doesnt.

Please check how the SKU search is added to the plugin. It uses the custom field and works with its values. It will give you a good example.

Here is that code in case you can’t find it in the plugin:

add_filter( 'posts_search', [$this, 'addSkuSearchSql'], 10000, 2 );

    public function addSkuSearchSql( $search, $wp_query )
 {
        if( $wp_query->get('flrt_query_hash') || $wp_query->get('flrt_query_clone') ){

            if ( $wp_query->get('wc_query') === 'product_query' || $wp_query->get('post_type') === 'product' /* || $wp_query->get('post_type') === 'product_variation' */ ) {
                global $wpdb;

                $product_id = wc_get_product_id_by_sku( $wp_query->get('s') );
                if ( ! $product_id ) {
                    return $search;
 }

                $product = wc_get_product( $product_id );
                if ( $product->is_type( 'variation' ) ) {
                    $product_id = $product->get_parent_id();
 }

                $search = str_replace( 'AND (((', "AND (({$wpdb->posts}.ID IN (" . $product_id . ")) OR ((", $search );
                return $search;
 }

 }
        return $search;
 }

Best Regards,
- Victor

Hello.

Cookiebot finds thousands of pages that all need to be served the Cookie announcement. Thus the package that is needed from Cookiebot is heavily bloated.

How to stop the plugin from automatically forming urls for all possible combinations of filters?

Thank you.

If you have any other questions let us know.

Best Regards,
- Victor

Hey still,

Just for kicks, here’s a pretty search url for the project in question: https://www.intoo.fi/koulutukset/ala-digimarkkinointi

Which works, even though the pretty permalink is turned off via the define.

if you then, for example, use the filters to re-apply the “digimarkkinointi”-filter, the url gets updated to: https://www.intoo.fi/koulutukset/?ala=digimarkkinointi

Which, again, is completely fine.

Cheers.

We just contacted the development team about it. Indeed, the permalinks still exist even though the filters will generate the GET parameters. So far, there is no solution to turn them off completely, so they won’t work when using that code snippet.

Perhaps the development team will come up with a solution for it. When we receive any information on it, we’ll let you know right away in this comment thread.

Best Regards,
- Victor

Good afternoon.

1. How to remove darkening on a mobile phone (after filtering, the screen is darkened and you need to click).

2. Where to set the filter width (very narrow)

3. not displayed above the product grid

In widget settings set (Display horizontally. Columns: 3)

https://teplospektr.com.ua/product-category/teny-dlya-sushky-dlya-rushnykiv/

Hi teplospektr

Thank you for choosing Filter Everything PRO.

1) Please check this page for mobile mode – https://filtereverything.pro/resources/mobile-devices-new-approach/ it has popular issues and fixes to it.

2) Not exactly sure what you mean by that. The filter width is set to 100% by default, so if you place it in a container that is 100px in width, it will be 100px. If you place it in a container that has a width of 1000px it will be 1000px.

3) In order to display it above the product grid you should have either a widget area there, or you can use the shortcode, also you can use hooks from the page in order to place the filter shortcode in the needed area.

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