Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,648 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8944 comments found.

Hi there, I get a 404 error when I try to filter products on this page: https://www.valeo.com/en/valeo-technologies-portfolio/. Example: https://www.valeo.com/en/valeo-technologies-portfolio/fe_domain-conventional-powertrain/.

I don’t think I’ve changed anything recently and it used to work fine. Any ideas?

Thanks for your help.

Yes, last time in the test environment you disabled the friendly URL:

“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.”

How can I do that in prod?

Thanks.

Hi Tiffanyvdhoven

You can place this code in the code snippet plugin or functions.php:

define( 'FLRT_PERMALINKS_ENABLED', false );

Then go to the filter set and hit update.

Best Regards,
- Victor

Thanks, it worked :)

Hi, I’ve sent you log in details following the instructions posted.

We’re having a problem with the filters on our site, as they will not show where we would like them to show. Are you able to please help us?

We have configured a widget on the page: https://www.encoder-technology.com/products/encoders/

From what we can see, this is set up correctly according to the instructions, but it does not display on the site.

TIA & look forward to hearing back from you. :)

Hi Victor,

An issue I’ve just noticed is that when the filter is active, the currently selected filters are not in the sidebar where they might be expected, but on the top left of the page. Are you aware of how I can adjust this?

Thanks again for all your help, much appreciated. :)

Victor, sorry to message again. We need to change the setup a little bit to use a layout selection, as it’s the only way to get the layout that we need.

When using this option, the filter no longer show.

The way we have it structured is the same as before, but now it’s using an Avada layout (found in the Avada tab under layouts), it doesn’t pull through the filter selection.

Are you able to help with this?

Sorry to have bombarded you with messages. No rush, please get back to us at your own pace.

Have a good one and speak soon… :)

Hi Fred8890

We can try to help, but please write to us about what you are planning to do this time. Previously, we didn’t know you placed the whole backend Avada Page Builder code in the category description in order to display it on the page. This is a bad practice, including the fact that the description field can sanitize some values and symbols, returning only text data.

If you want to apply some own templates, you can use archive templates, in the theme itself. Or use layouts like you mentioned, as you can apply them on the needed archive pages.

So what we need is a clear description of your plans, how you did it, the link to the page with this implementation, and the link to the layout/template where we can add it (the final level like in our previous case archive description not the post one which didn’t change anything on the page)

Best Regards,
- Victor

I found this message after trying to update the plugin.

“The plugin has been used for over two months without a license key and is now blocked.”

When I enter the license I get the error “This license key already used for two sites.”

The license has always been active on two sites. Now, on both, it doesn’t work.

I can send you the purchase code and the domains on which it was active.

Thanks in advance

Hi MattiaDP

You can send us the license key via PM – https://codecanyon.net/user/fe_support so we can deactivate it across all of the sites, so you can activate it only on the needs ones.

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

Thank you for your patience and willingness to help.

Hi, how can I show only Sale products with a checkbox in the filters? I have created one with meta key but it doesnt show me all sale products. Thanks

Hi deepcoding

You can try to enable for this filter from “more options” > use for variations.

Generally, there is no support for accounts whose support period has expired following the support policy.

We will help you once we have addressed all requests from accounts with valid support periods. Please note that this process may take some time, possibly days or weeks.

If you want to receive it faster, please extend the support period. We will prioritize processing the request for supported accounts.

Best Regards,
- Victor

Hi, When we apply the filter it reloads the full page. Is it possible to just apply the filter without reloading the full page? We are using a hero section so every time it applies the filter it goes back to the top of the page and customers had to scroll to go the section. This is not great user experience.

Website page for reference: https://oscartravel.ie/holidays/

Hi sundar5050

Thank you for choosing Filter Everything PRO.

You can use the AJAX for it, in order to not refresh the page fully.

Please check this page with the instructions – https://filtereverything.pro/resources/ajax-instructions-only/ make sure you will not skip any steps.

Best Regards,
- Victor

Thanks Victor, we will go through and let you know win case of queries

Hi I have a presales question. On this page https://www.finler.nl/spaarrente/spaardeposito/ I compare all kinds savings accounts. Is it possible to make Looptijd > 1 jaar checked by default when people enter the page? So it must not affect the slug.

Hi scholtobos

Thank you for your interest in the Filter Everything plugin.

Please check this demo page – https://demo.filtereverything.pro/product-category/clothing/women/color-red/brand-hm/c-kind-dress/?max_price=100

For each filter you need to create unique prefix so it will be like this “mysite.com/shop/filter_prefix-red-or-blue/filter_prefix-s-or-m/filter_prefix-samsung/”

Best Regards,
- Victor

Sorry for some reason I can’t see an option to reply to your comment on my query! Here’s a link to the site I’m working on:

https://flankmarchstore.com/

As an example if you tick the filters for “WWII” and “Great Britain” there should be no results as there are currently no products that meet both those conditions.

Hi steffan8

Go to the filter set and choose the needed filter > click “more options” and choose from there “AND” logic instead of “OR”.

Best Regards,
- Victor

Hi, (Client brought the Plugin so we are using the pro version) When I apply the filter it reloads the full page. Is it possible to just apply the filter without reloading the full page? We are using a hero section so every time it applies the filter it goes back to the top of the page and customers had to scroll to go the the section.

Website page for reference: https://oscartravel.ie/holidays/

Hi search4anwar

Unfortunately, we do not have any information on which client/agency you are referring to, we kindly request that your client/agency submit the question from their account (where they purchased the plugin). In general we as a support team do not have access to the client base.

Additionally, please ask them to confirm your role as their developer for the projects, so we can continue with you and provide the answers to other requests.

We have encountered similar situations in the past and fully understand the circumstances. Thank you for your cooperation and understanding in this matter.

Meanwhile, please check our documentation – https://filtereverything.pro/resources/

Best Regards,
- Victor

Hi,

I’ve just noticed that on a filter I’ve created, if a user ticks a combination of boxes which should return no results this doesn’t happen. Instead all results are displayed as if no filter was applied. Is there a way to stop this from happening?

Hi steffan8

Thank you for choosing Filter Everything PRO.

Can you please send a link to the page with the issue so we can check it?

Best Regards,
- Victor

Hi, is there away to filter a product block that already has a preselection for a certain product category. I have a single page for a single product category, but the filter doesn’t seem to work when used on a block that is already being filtered.

Or could I already set the filter to only filter products of a certain category?

Hi digitalm134

It all depends on how you display your posts. If you have a query to display only products with categories, it should work fine. If you are using hooks to dynamically change the displayed category, it may cause some issues.

In general, you can send the credentials to the wp-admin dashboard following this document so we can check it, also please send the link to the page with the issue.

Best Regards,
- Victor

Hi Victor, I just sent all the credentials to your support email, including the page I’m have issues with filtering the prefiltered product block. Currently the filter is set to invisible in Elementor because it wasn’t filtering the block at all.

Done – https://prnt.sc/AKvE1nyBp2Zy please check it.

Best Regards,
- Victor

Hi, I’ve same problems with multiple filter set in custom search page template. I’ve created 4 filter set and I’ve set priority, but last filter set not appear. I’ve changed priority, inser shortcode with ID, but nothing. Now, I’ve two questions: 1. There are alternative methods to show filter set in custom template? 2. It’s possibile to edit search field to search in only in title and acf fields values? Thank you so much.

Hi ideaGrafica

1) No yet, at least not with the default plugin functionality. But it will be presented in future plugin updates.

2) We are not exactly sure what you mean by the “limit search field on the title and ACF value”

By default, the search field in our plugin uses the WP search algorithms, it does search in the Post content, Title, Excerpt, and Woo product SKU.

If you want to extend it with the new entities or limit it only to certain ones, 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 (custom field). Here is the SKU search code in case you can’t find it in the plugin(this is the code from the plugin as an example, not a code that gives what you are looking for):

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

Hi Victor thank you very much. Last question: In this page: https://carratelli.4madein.com/all-properties/ I’ve insert [chips] shortcode to display selected filter. Now all filter chips are displayed except Typology filter. This filter not displayed. Why? Thank You

Hi ideaGrafica

Please check if it is displayed now, there was an issue with one of the filters.

Best Regards,
- Victor

Hello,

I’m using the plugin on a website with woocommerce. I have the filter visible in the single-product tab of each product. The problem is that it filters the products that are on that page, i.e. only 1. Is it possible for that filter to filter through all the products and redirect to the /shop/ page where all the products are?

Thanks.

Hi Naftic

Thank you for choosing Filter Everything PRO.

Yes, you can place a redirection filter on the single product pages that will redirect you to the shop page. For more instructions please check this page – https://filtereverything.pro/resources/typical-problems/#redirection_filter_instruction

Best Regards,
- Victor

How can I filter within a group in ACF while in a loop?

For example, I have homes available within a portfolio element and I want to have an external filter where I put the number of rooms in the homes.

Hi onlinemente

Thank you for choosing Filter Everything PRO.

This is a bit complicated to understand what exactly you are trying to achieve. Can you please provide any reference so we can check it and tell you how it can be done?

Best Regards,
- Victor

Hello, I have portfolio items with several properties in a loop (https://www.canvaspropiedad.com/residenciales/atria/ – viviendas disponibles). I need filter them using this data at homepage (https://www.canvaspropiedad.com/). Thanks.

Hi onlinemente

You can use the redirection filter set on the home page by following the instructions from this page – https://filtereverything.pro/resources/typical-problems/#redirection_filter_instruction

Basically, when you choose the needed filter and hit Apply, it will redirect you to this page and display filtered results – https://www.canvaspropiedad.com/residenciales/atria/

But please note, that you should display your posts with one WP_Query, not multiple ones, as it will not work with multiple different queries.

Best Regards,
- Victor

Hi Victor, I’m Norman and I work for an agency that uses the PRO version of filter everything so I wasn’t the one who purchased it.

My concern is that my second filter doesn’t show on the front-end, only the error “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.”

I have followed the documentation and other advice to set it to the specific page which is the home page

Please see attached screenshots for clarification. Would like a response, thank you.

https://www.awesomescreenshot.com/image/52353387?key=102027f60b0e4508352936edb97289bc https://www.awesomescreenshot.com/image/52353396?key=63dd95fe3034c5ed5550eb3c6bd2187d

Hi norman100

Please check this page – https://filtereverything.pro/resources/typical-problems/#redirection_filter_instruction

Best Regards,
- Victor

Hi Victor,

Say I want to add multiple filters into one page, how can I do so. I can’t seem to find where the specific id for each filter is located. Do you know where is the id for each filter is located?

Much Appreciation, Norman

Hi Norman

As we agreed earlier, all other support requests are processed only after the client’s/agency’s confirmation. Thank you for your understanding.

Best Regards,
- Victor

Hi,

The plugin does not accept my license code:

e57b3d12-7085-4ac6-8c30-d3a721298f55

I want to activate this on :

https://blueluna.burovloed.nl/

After a while, this will be:

https://blueluna.nl

Can you help me out?

Thanks!

Kees

Hi Kees

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

Hi, I have installed your pro version of the filtering plugin but there is something funny going on with the display of filtered posts.

http://www.shecan.world I am using divi builder for my templates.

When i go to the page I have built to host the blog module, and the filter, https://www.shecan.world/category/our-women/ (or click on “ALL women” in the main menu, it shows the industries as a filtering option (ie post categories).

1. When I click on an industry, eg writers (with 8 items), with only 8 items, it refreshes and says it found 8 items and the chip is shown for writers however, Lucy and a large number of other people (who are not listed under writers at all) are showing in addition to the 8 writers. the url https://www.shecan.world/category/our-women/industry-writers/

2. If i stay on writers and I click on another industry, eg property development (12), the chips update, the items quantity (20) is shown, but the filtered results are still showing Lucy and all the others, plus the new category’s items I have selected. url is https://www.shecan.world/category/our-women/industry-property-development-or-writers/

3. If I go on the menu and click on writers directly there – this is a wp generated menu (so it goes to wp post category pages), the correct number of items are returned in the filtered results (8), but the category is not shown in the chips area, and the other industries shown in the filter is limited to only the industries (post categories) that these 8 results are also added too (ie shared categories). url is https://www.shecan.world/category/our-women/writers/

4. If I stay on this page and add more industries, and then remove one industry in the chips, the total number of results still remains 8, even though the quantity says 2 posts found.

5. If i go directly to a filtered page off the main menu – eg https://www.shecan.world/category/our-women/art-design/, it shows the right number and list of results, but when I click on another industry from this filtered page, the found number shows 6, and not the full amount, whilst the filtered results are correct. the industries listed are showing only the shared industries and the url is https://www.shecan.world/category/our-women/art-design/industry-environment/

I have tried linking directly to the slug /category/our-women/industry-art-design in the menu, but this is also causing the same as the above.

I have cleared cache, I have checked the filtered settings, I have changed the where to filter to other options, still makes no difference – I have them set as Categories, all categories. and the divi builder template is displaying tis template on all archive pages as well as category pages,

I am confused as to what is actually going on here. I cant figure it out. Why the wp category pages, and the filtering are not working hand in hand.

I tried to remove industry as the category name in the filtering settings, to try get the filter to work with the wp format for category slugs, category/our-women/writers instead of category/our-women/industry-writers, but it would not allow this to be empty.

Hi there, thanks for replying. Credentials for my support request have been sent as per your documentation and backups have been done.

I am not sure how to separate these items into separate items, as they all relate to the filter not displaying the results properly, and I am just giving different scenarios of the same problem, that I have tested.

Well, since you are using Divi for category archives, this is creating a unique query on each of the category pages. So you need to create a separate filter set for each category page, place them in the “Where to filter” as “category + name of the category” and choose from the “And what to filter” “posts query” not the main query.

Best Regards,
- Victor

Also, please use this code in functions.php file of your theme, to choose the default category (the parent category)

<php

function flrt_remove_default_category_location( $terms, $taxonomy ){
    $default_category = 0;

    if ( $taxonomy === 'product_cat' ) {
        $default_category = get_option( 'default_product_cat' );
    } elseif( $taxonomy === 'category' ) {
        $default_category = 0;// get_option( 'default_category' );
    }

    // Remove default category from the list
    if ( $default_category > 0 ) {
        unset( $terms[ $default_category ] );
    }

    return $terms;
}

?>

Best Regards,
- Victor

Hi Victor,

First of all, I would like to thank you for the great product that you and your team have created, along with your enthusiastic support throughout the time I have used FE.

Although I really appreciate the effort and dedication you have put into this product, I am sad to say that your product still does not meet my needs. What I need is a filter plugin that works fast, smoothly and has the ability to customize the interface. As I told you before, your filter currently does not separate the filtering of categories, and according to my programmer, the UI of your plugin has not reached the level I want (although I have tried all ways to intervene with CSS, it still does not satisfy me). In addition, the most important thing is that the response speed of your filter is too slow, it takes me more than 4 seconds to get the desired result. If you are an e-commerce business on the website, you will know that this waiting time of more than 4 seconds is a disaster for the customer’s shopping experience. It seriously affects the conversion rate on my store, thereby reducing revenue, which I think you also know that no business wants.

From all the above, I am very sad to tell you that I will not be able to continue using your plugin. And what I wish is to be able to receive a refund for my order. I know that your product has been used for a while and it may be past the time limit for customers to receive a refund from the seller, but your filter plugin has really affected my business. So I think it would not be too much if I received the money I paid for your plugin. I know this amount of money is not a large amount of money for you, but it is very meaningful to me during this time, it will help me fix a small part of the errors and compensate for a part of the lost revenue. In the future, if your product has improvements and fixes the errors that I encountered, I am willing to support you.

I really hope that my request will be accepted by you. Thank you again and wish you all the best.

Best Regards, dinhhuucong94

Hi dinhhuucong94

We are sorry to hear that you faced such an issue on your site.

As we previously mentioned, the speed can be influenced by different factors such as the server hardware, latency, the number of products, and the optimizations on the site.

In general, a refund is possible with the appropriate form from the account where the plugin was purchased and waiting for the response. Please note, that the support team is not working with refunds.

Best Regards,
- Victor

Hi Victor,

Thanks for your reply. Please give me the link to submit a refund request. I have checked everywhere possible in my account however I can’t find what you said, please send me the instructions. Thank you.

Best Regards, dinhhuucong94

Hi dinhhuucong94

Unfortunately, as a support team, we only provide support on the plugin itself.

If you have any issues with the marketplace, such as not finding the refund section, or something is not working with it, please contact the Envato support team, so they can help you and provide all of the needed information on this.

Best Regards,
- Victor

Hi, we have a problem with the ajax pagination of filters. When the user visits a list of items beyond the first page and selects a new filter, the system reloads the list keeping the page indication. For example: I am on page n. 10 and I select a new filter. The system reloads the filtered list items but keeping page n. 10 in the url and therefore does not display products because the new filter applied does not have 10 pages of items. How can we solve it?

This is the link of the page with filters: https://www.enextechnologies.com/products-list/?e-page-4e6adc6=10

Thanks

HI, we have restored the old credentials. Now they work

Thank you

We have added changes directly to your plugin, and the new update will include this fix.

Best Regards,
- Victor

Thank you Victor!

Hello, on woo result page the filter is not showing.

This is the settings https://tinyurl.com/2do8uaz5 This is the result https://tinyurl.com/2b2sn3va

Any idea how to fix this? Thanks

Hi rashkoff

Either you’re using an incompatible search plugin, or you’re using the wrong query with “And what to filter” – it’s designed to work with the default product search widget from WooCommerce.

Generally, there is no support for accounts whose support period has expired following the support policy.

We will help you once we have addressed all requests from accounts with valid support periods. Please note that this process may take some time, possibly days or weeks.

If you want to receive it faster, please extend the support period. We will prioritize processing the request for supported accounts.

Best Regards,
- Victor

Hello Victor. I’ve renew the support. So please solve this. Thanks

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

Best Regards,
- Victor

Hi

I made a custom archive page. I activated Ajax and place filter in a sidebar with Widget “Filter Everything – Filters” Filters work fine !

“Post found” and “Chips” option in widget works fine, they both are in sidebar but this is not ergonomic, I want to place chips and post found in my template over the posts so I used your documentation “Functions” In Ajax, I set ”.main-content” for field “HTML id or class of the Posts Container”

- Chips display using the function in my template - “Post found” does not display in my template (I placed ID of filter- post id 16)

Below my code, can you please help to have post found display via function, thanks

https://drive.google.com/file/d/1p_wTkHtxqv5Qq7lFknccOkcDfyrObZ5d/view?usp=sharing

All clear ! Thanks

I have 3 questions related to the shortcode post found, chips and archive page 1- “post found” shortcode display the number of post found with filters, if no filter count does not dislpay. I would like to have the count of posts when there is no filter, do you have a way to do it in plugin or I will need to create it and display it when there is no filter ?

2- I use function to display chips on my archive page. On mobile, the chips (from the function) is not included in slider if it is too long (I chaged the way chips display with css to have it on one line.) I have first tested the chips from the widget, chips is included in a slider on mobile if it is too long. Did you mean to do that ? Is there a way to include chips (from function) in slider on mobile if chips is too long ?

3- I am just testing al features, I haven’t worked on content and design yet. But I would like to have my archive page as infinite scroll, not with paginations. Can this be handled with your plugin or do I have to handle it on my archive page ?

1) This only works for filtered pages, to show the total number of posts on a page, you need to create a special functionality for this.

2) Just change your custom styles to something like this – https://prnt.sc/vyCmGEPCSa7Y then you can simply horizontally scroll them.

3) Infinite scrolling is a tricky one, you would need to add compatibility with the filtered query in your pagination, this is not something that easily can be created. There is no universal solution for infinite scrolling.

Best Regards,
- Victor

2- It works !

Thanks for your answers and support

Regards

Johan

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