Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,670 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8957 comments found.

Hi there! We have purchased Filter Everything plugin with intention of implementing on our website, but there have been security warnings/errors flagged on the PHP code sniffer scan and we are hoping you can address, respond and/or fix these issues (is it possible to for us share/attach a screenshot to this comment?). It looks like a really long list, but the bulk of it relates to mostly these repeated issues: -Proper escaping function -missing third variables -Non-sanitized input variables

Thank you

Hi roberttavares,

We send you the response by email.

Best Regards,
- Victor

Hi Robert.

Thank you for sharing detailed information about the results of code analysis using the PHP scanner. We have reviewed all comments for this scanner and can answer the following.

In fact, there are many such scanners and all of them will show different results when analyzing the same code. Not always automatically found unshielded or unsanitized data actually is, because the code can be written in such a way that this data is cleaned and unsanitized at the time it is received by the code first time and is then used already clean and safe. Although the scanner will think that they are dangerous in all places where it found them.

When developing our plugin, we focus on the following things:
- errors and comments issued directly by the PHP interpreter
- security requirements from WordPress.org
- code security requirements from CodeCanyon

When we submitted a request to place the plugin on WordPress.org, we were advised to make changes related to the security of the code. We have made these changes and our plugin has been accepted into the WordPress.org repository.

When we submitted a request to put the PRO version of the plugin on CodeCanyon, we went through exactly the same security analysis procedure and made changes in accordance with CodeCanyon’s requirements. And only after that, our plugin was approved for placement on this service.

Moreover, if you take the code of the latest version of WordPress, your PHP scanner will give you a very long report with notes and errors related to security. I assume you believe that WordPress itself is perfectly safe to use on your site.

Therefore, our vision is that we do not see the need to change anything in the plugin and the security level of its code is sufficient in our opinion.

However, if you are really worried about the results of your scanner, you can always hire a developer and ask them to change the plugin’s code according to the recommendations of the scanner you used.

Thank you. Best regards.
- Andrii.

Great thanks for the detailed response Andrii, much appreciated!

Hi, used your free version successfully to filter news/Posts.

I used as tabs across the top, but was missing an ‘ALL’ button as well as the filters, to reset to beginning. Couldn’t see it did that?

I actually came to a good work around, by having a static ‘All’ button next to the filters which essentially just reloaded the page by linking to the URL already on.

Question – looking at using this plugin for a new Woocommerce project. Does the Pro licence work site by site, or is it a one time purchase for all use? Does that include future updates? thanks!

Hi paul_brad,

So what you are looking for to have a button to choose all terms in certain filter?

Best Regards,
- Victor

This is how I’ve used your plugin – maybe I’ve used it in incorrectly! News page, clicking each filter button filters posts, clicking All shows all again. https://snipboard.io/aND0tw.jpg

Now it is understandable. Usually the page with the post/products/news, etc., displays all of the items, and only when you choose any filter term from the filters widget it displays the results that match this filter term. So basically when you reset the filter it will show all news by default (when no filter terms are chosen).

Best Regards,
- Victor

I have a problem with filtering on a subpage where there is a custom loop with a specific taxonomy for the subpage. When I set in “And what to filter?” in the first loop, the total quantities of all products are displayed and sorting does not work, while when selecting the second loop, filtering works, but the filter does not detect any products and I cannot use the “Empty Terms” option as “Always hide”.

Hi ThisSPzooSPk,

We have checked the site and the filter set. The issue is that each Marka page has a unique query, we set the filter strictly on this Marka page – https://parys.dysissparta.pl/marka/plak/ with the second query, and everything is working. So settings like Marki + Any Marka Page won’t work and you’ll see an empty filter set. You can either rewrite the custom query and its realization or create multiple filter sets for each Marka page.

Best Regards,
- Victor

Hi, unfortunately I have to come back to this topic. I created separate filters for each brand page and everything works until I added a search engine. Unfortunately, when you search for something, it shows that 0 products were found and the filters disappear. Standard filters work. Example: https://parys6.dysissparta.pl/marki/plak/?srch=Silikon

Hi ThisSPzooSPk,

It is not compatible with Relevanssi at the time if you turn it off it will work correctly. We are planning to add compatibility with the future updates.

Best Regards,
- Victor

After entering the license code generated according to the instructions, I receive an error. I’ve tried several times and it’s the same every time. Error message: “Unknown error”

Hi ThisSPzooSPk,

Thank you for choosing Filter Everything PRO.

It seems that your server does not allow connection with our license server. We can activate it on our side, but we need the following things from you:

1. Credentials to your /wp-admin following this document
2. And your license key.

Please, send all these via PM.

Best Regards,
- Victor

The license is activated and everything is working as it should.

Best Regards,
- Victor

Hello. I’ve bought again your nice plugin Filter Everything PRO, made a setup for Filter Sets and some SEO Rules for a category but seo rules do no apply. I mean the seo title and meta description don’t change, but the filter itself works fine. The filter page has noindex, nofollow and the title is by default. In the Settings -> Indexed Filters all values are ticked. That is, it turns out that the title, meta description and heading h1 are not replaced by seo rule. Basically, I bought this filter so that I could index the filter pages and it does not work. At the moment, the site is on a test domain and the license is not activated, as it will be transferred to another domain and we will activate the plugin there. What could be the problem why SEO rules do not work? Help me please.

Filter Sets https://snipboard.io/sYpwXo.jpg SEO Rules for category “Водка” https://snipboard.io/ewsY1Z.jpg For example seo rule for Region …/product-category/vodka/region-{any} https://snipboard.io/vgDj8i.jpg https://snipboard.io/om1k5W.jpg https://snipboard.io/m93orB.jpg The category I’m testing is https://alkolove.seoom.ru/product-category/vodka/

Turn off this option – https://prnt.sc/YPoo2V7S3X6d and test the workability

Best Regards,
- Victor

Thank you very much. It works.

Hello,

I am having issue with translation. I am using the WPML for the translation.

First of I created a filter set in default language which is English for the taxonomy and I filter it on Page with (for common query across all the taxonomy page)

Now i want to translate this filter to use the title as different languages but however after i have translated and create a new filter set with different language, it is still showing me the same default language.

So i want to check inside the string translation to find any string to this title and I can’t seem to find it. I also can’t create each filter set for individual terms, there are quite a lot of terms to this taxonomy. Can you please list me any solutions or any way around on how this can be done ?

Thank you

Hi tbs_marketing,

You need to add to the translation filter sets – https://prnt.sc/Q0zApwMqIWKj you can now translate filter sets – https://prnt.sc/98pVWtCTgY6h

Then you enter inside the needed filter set and turn off this option – https://prnt.sc/BblfbUJXdgPZ and just click on the language you want to add a translation – https://prnt.sc/9QxZjTnOVqo8 and you need to create absolutely the same filter set manually and type the titles on the needed language and place the filter set where you need.

If you want to translate the filter terms as well, you need to translate them all on the site, if you are using ACF translate each ACF field for another language same with categories and so on.

Best Regards,
- Victor

Hi,

WooCommerce shop page is not loading on my website. When I am downgrading to php version shop page is loading . I have checked with support hosting team , they told me to upgrade the plugin version , only then it will work. I have downgraded the php version on live site, shop page is working but plugin is not showing.

Website URL- https://p95.f0e.myftpupload.com/ Filter Everything Pro version : 1.7.15

Hi Victor,

Shop page is loading after deactivate the plugin

It is working now

Hi manishsharmapetsolutionsintl,

We are glad to hear that everything is working.

Best Regards,
- Victor

Hi there, presale question: is it possible to hide empty categories with this plugin?

yes thats exactly what i meant:)

and one more question: is it possible, to change the filters dependin on the category that has been selection? lets say, we have tvs and cars for sale, they will have different filters/attributes. can i adjust this, for each category or have some control, what will be shown?

In that case, it is possible to manually exclude them or just set them to hide the empty filter terms in our plugin settings.

For example here if you choose any filter terms others are grayed out as empty – https://demo.filtereverything.pro/product-category/clothing/women/color-blue/ and here they are hidden – https://demo.filtereverything.pro/product-category/electronics/laptops/ram-1-gb/

You can create multiple filter sets with the needed filters and place them on the needed categories, and you will have a unique filter set in each category.

Best Regards,
- Victor

Hi Stepasyuk, We have your plugin installed on a WPML Woocommerce website. However, we have a new setup where we add the products only in 1 language (NL). WPML then handles the rest for the other languages. By that I mean it also shows the products in the other languages, because we have for example translated the categories. So it shows the products in category A, in all languages. However, the filter is only working in the language where the products are actually added, not in the other languages. What can we do to make that work?

Thanks a lot! Sander

Hi Sander,

The reason why Filter Set didn’t see WP_Query was because the Shop was translated into a couple of languages, and there is no need it that. WPML itself creates Shop page translations. We removed both translations of the Shop page in EN and DE languages and Web Filter started seeing WP_Query

You needed to choose the correct WP_Query – not “Product query. Main Query.” but the “Product, Product_variation query” Then the counters work correctly.

Best Regards,
- Victor

Hi Victor,

That sounds good so far! However, I am unable to find the EN and DE version of the shop page? When I am on the NL version of the shop page, I am unable to switch language, because no translations of that page exist?

Also, when I visit an EN product category, the filters still don’t seem to work?

Thank you for all your help! Means a lot.

Kind regards, - Sander

Hi Sander,

In order to make a filter work in the product category pages you need to create another filter set and place it on the category page, because the WP_Query is different from the shop page that’s why you are unable to filter anything on category pages.

It may be helpful to seek assistance from WPML support in regards to switching on the shop page in another language. It’s possible that there was an incorrect approach used, as our plugin is widely used for multilingual sites and has been tested thoroughly.

Best Regards,
- Victor

Good morning,

I can’t activate my license key, is there documentation on how the plugin works please

THANKS

Hi zepek,

Thank you for choosing Filter Everything PRO.

Please, note that the License key and CodeCanyon purchase code are different things.

To set the License key, please go to Filters -> Settings -> License, click the “Get your License Key” – https://prnt.sc/-ehm9df3H_XT and you will be redirected to the new page.

Log in there with your Envato credentials, and you will see your License key for the Filter Everything PRO plugin.

If you are having the “Uknown Error” It is because your server does not allow connection with our license server. We can activate it on our side, but we need the following things from you:

1. Credentials to your /wp-admin following this document
2. And your license key.

Please, send all these via PM.

Best Regards,
- Victor

The license was activated and everything is working well now.

Best Regards,
- Victor

hello,

I have products that have tags which contains the shop name for example “whites”.

I want to know if it’s possible to filter only the categories whose products contains tag “whites”

Best regards , kavaldeep singh

Hi anjamihelicvucinic,

What you want to achieve is to filter categories if they have any products inside with the “whites” tag? Unfortunately, that is not possible, or you can add a custom field to the categories and add some values so they will appear in the filter.

If it is not what you wan t to achieve please provide more detailed information.

Best Regards,
- Victor

“What you want to achieve is to filter categories if they have any products inside with the “whites” tag? ” yes that’s what i want to acheive.

“you can add a custom field to the categories and add some values so they will appear in the filter.” This solution requires lots of input from my part since i have over 800 categories

Hi anjamihelicvucinic,

Unfortunately, that’s not possible out of the box. You can achieve it with custom coding, but it will require a lot of time to find the correct solution to make it work and not cause any workability issues to the rest functionality. Or you can hire professional dev, for example, using such platform like Upwork, to write the code for you.

Best Regards,
- Victor

Hello, I need a filter option on a page is this possible with your extensio?? On this site you can see what I want to build: https://aufschwungalt.de/ueber-uns/unsere-referenzen/

Please let me know if it is possible so that i can buy the pro version.

Absolutely the same as for products, just instead of products here choose the posts – https://prnt.sc/qCwLuvzVGAs7

Here you should specify the location of your page with posts – https://prnt.sc/zKCHstd9gXgd And right below it, you should specify the correct query on the page that is displaying all of those posts.

Use either the widget area to place a filter widget there on that page or use a shortcode [fe_widget] on the needed page to display the filter widget. More about shortcodes you can read here – https://filtereverything.pro/resources/shortcodes/

Best Regards,
- Victor

Hi Victor, I have now placed the filter and linked the posts. However, it always says 0 posts. What can be the reason for this?

Hi JeSchami,

Did you choose the correct WP_Query in the “And what to filter?” dropdown from filter set settings?

Best Regards,
- Victor

Hi,

I am considering purchasing PRO version of your plugin, but first I need to understand will it work for my website. For now, I have free version installed on staging copy of the website. I have made Filter Set for custom post type “tutor” with few filters for its custom taxonomies. However, on the page where it has to be shown (https://mathemastaging.wpengine.com/tutors/) it shows:

No one Filter Set is configured for this post type pages. You can create a new Filter Set for them. The Filter Everything Sorting widget only works on pages with filtering posts.

The way filters were added to this page (which uses theme custom template):

$args = array(
    'post_type' => 'tutor',
    'orderby'  => array(
        'date' => 'DESC',
        'menu_order' => 'DESC'
    )
);
$tutors = new WP_Query($args);
query_posts( $tutors );
echo do_shortcode('[fe_chips mobile="yes" reset="no"]'); 
echo do_shortcode('[fe_widget id="18227" show_selected="yes" show_count="yes" horizontal="yes" columns="3"]');
echo do_shortcode('[fe_sort id="2"]');                
if ($tutors->have_posts()) : 
     while ($tutors->have_posts()) : $tutors->the_post();
    $tutor_categories = get_the_terms($post->ID, 'tutors'); 
$post_id = get_the_ID();
$featured_image_url = get_the_post_thumbnail_url($post_id);

I suspect that the reason while it isn’t working is the “Where to filter?” setting, unavailable in the free version and that everything will work with PRO version. Can you tell me please – am I correct? Will it work with pro version after setting this setting? Thanks in advance!

Hi, I have purchased plugin, but still can’t make it work. In “Where to filter?” setting I have chosen “Common Wordpress Pages” and tried all 3 options for it (All archive pages…, Search result pages…) but result is the same. Can you tell me please what I am doing wrong? https://mathemastaging.wpengine.com/tutors/ is just a page, built on the basis of custom template, it is not an archive or search results…

Hi maksymogurtsov,

You should choose in the “Where to filter” “pages” + “tutors” if this is a singular page. Let us know if it worked out for you.

Best Regards,
- Victor

Hi Victor,

Ah, now I got the logic, thanks! It worked.

Hi,

I would like to setup a filter where it displays a parent category and a sub category. I can’t figure it out. There’s an option to select a parent filter (that says I need to create/add a filter first. I already created one but dropdown’s still not showing anything.

Hi markee1426,

Thank you for choosing Filter Everything PRO.

You can turn it on for a filter with the option “Show Hierarchy” – https://prnt.sc/myVHxC7M-QvO

Ad you will see it like this – https://prnt.sc/J9rx289kEjgf

Currently, it is supported only by the checkboxes, but we are planning to implement it in the dropdowns in future updates as well.

Best Regards,
- Victor

Hi, I am trying to be able to filter a Woocommecre product attribute as a range due to the fact that it is only made of numbers (my attributes terms https://imgur.com/SUJVG39), is their any way to do that? If not could you maybe include it in the next update?

Thank You

Hi nicolass82,

Thank you for choosing Filter Everything PRO.

Unfortunately at the time, it is impossible, and not sure if we’ll add such functionality as each attribute has its own unique slug, it’s not just a number like when you create the custom numeric field. And it can contain mixed data, so it will cause a lot of errors and issues.

You can create a custom numeric field and apply it to the products but you cannot write something like 10-25 and expect it to work like a range of numbers from 10 to 25. As it should be speeded into two values minimum and maximum.

Best Regards,
- Victor

Hi nicolass82,

We get back with an update. Apologies for the previous answer it wasn’t full and not fully correct.

The ability to create a range slider filter by attributes is possible by the “Taxonomy Numeric” option, but the attribute terms should contain only numbers, so if you remove this type of term “1-10, 2-40” you could create a range slider.

Best Regards,
- Victor

Pro Support

1 – When the filter is performed on Woocommerce products, it shows the quantity in parentheses, but it lists all, shouldn’t it show only the filtered product?

2 – I’m using ACF with a select field (repeat) and it doesn’t show the filter, am I doing something wrong? Where can I send you a print or group of fields used in ACF? To find out what’s wrong.

Hi samucavirtualite,

Please send the link to the page with the issue.

The filter terms show the number of products in each filter term, for example, brand apple (10) means that there are 10 products with such brand and if you apply it you will see 10 of those products. But if you choose any filter term and nothing changed on the page most likely you choose the wrong query in the filter set setting “And what to filter” Change it, hit update, and test if everything is working.

Here you can check 100% supported ACF field types – https://demo.filtereverything.pro/example/acf/

Other ACF fields are partially supported or not supported at all. For example, the repeater is not an ACF field, but a list of dynamically generated ACF fields. And you can create filters by repeater subfields, not sure if it will be useful for your case. Also, you can not combine several ACF subfields in the single filter as in fact, they are different Custom Fields combined in a single repeater field.

Best Regards,
- Victor

First congratulations for the plugin, very well built. And with very good support. Congratulations, I know how difficult this job is. About what I need, the website is this one https://loja.tylco.ind.br/categoria-produto/tomadas-de-forca/

- About showing only what was filtered, it worked. OK - But the filter using ACF field select (repeat) still doesn’t work. Even though I indicated the meta key of the subfield.

See how the field creation and plugin configuration is going.

ACF fields: https://prnt.sc/JLMSVg1g-TST

Config plugin: https://prnt.sc/gvNwT-c1b3Ey

I’ve tried using the friendly name of the ACF meta key and it still doesn’t work.

Site problem: https://prnt.sc/nU9piH63MtOa

Can you help?

Hi samucavirtualite,

We are very grateful for your kind words, they mean a lot to us.

Can you check in the database if there is at least any data by that meta key? that you are placed in the filter set? it looks like there is simply no data at all by that meta key in DB. That’s why you see that there are no filter terms yet.

When you apply any value to your custom field on a product and update it, it will be saved in the DB and our plugin will get that data by that meta key from DB.

Maybe it would be better to switch to the simple ACF select field without a repeater, as it is not fully supported. At least you would be 100% sure it will work as intended.

Best Regards,
- Victor

Hi, we have 2 licenses for both of our marketplaces but our senior developer is having some troubles:

**ps: our main marketplace URL is www.atlantikos.com.br (give it a look).

1. We use the WCFM marketplace plugin and it creates 2 template pages: the store page and the store list page. The store page (ex: www.atlantikos.com.br/loja/naveia/) agroups all products from 1 seller/vendor; and the store list page (www.atlantikos.com.br/todas-marcas/) is a list of all our vendors/sellers. They both have sidebars widgets!

We wanted to use a similar filter set used in the category page in these pages, but we cant duplicate the filter set. We even tried using the “duplicate page” plugin, but it didnt work.

Also, these pages have different HTML IDs from the category page, and that need to be filtered, but the plugin only lets 1 ID to be selected in the settings.

How can we create a filter set for each of these pages?

2. The sales filter is not working in the category page. We tried it many times and it doesnt create any URL.

Thanks!

Hi raphaelschaffer,

Thank you for choosing Filter Everything PRO.

There is no duplicate function yet but we are planning to add it with future updates. You can specify in the filter set settings in the “Where to filter” product category + all categories. And if you need the same filter set somewhere else you need to manually create another filter set and place it on the new location where you want to see it.

You can specify in another filter set the needed “HTML ID or Class” for AJAX. That’s why you need to create a couple of filter sets. One for categories and another for other pages.

“The sales filter is not working on the category page. We tried it many times and it doesn’t create any URL.”

Please send the link to the page with the issue and a screenshot of how you set up that “sales filter”.

Best Regards,
- Victor

there’s a way to have the number of posts WITHOUT brackets ” ( ) ” in the checkboxes list ?? I managed to find my way with radio using the template override , but there’s nothing to override in the checkboxes.php file

Hi mastahtheboss,

You can rewrite it globally in the plugin file wpc-helpers.php here – https://prnt.sc/y0_Ri3b3aP-t or rewrite the checkboxes.php template in order to change the flrt_filter_count() function to your needs.

Best Regards,
- Victor

Thanks Victor, i didn’t want to modify globally because of future updates , and on the checkboxes.php template there’s not much i can modify , I just went with CSS hiding the brackets, not the best solution, but it works .

Thanks a lot :)

Yeah, as an option, we would say it is the best way out of it. Great job!

Best Regards,
- Victor

Hello,

I hope this email finds you well. I recently purchased Filter Everything Pro and encountered an issue when trying to activate my license. The problem is that, when attempting to add the license key, I receive an error message that simply states “Unknown error.”

I’ve double-checked the license key for accuracy, but the issue persists. I’m eager to start using Filter Everything Pro for my projects, so I would greatly appreciate your assistance in resolving this matter.

If you require any additional information from me to diagnose and resolve this issue, please let me know.

I look forward to your prompt response and assistance.

Thank you,

Hi favr91,

Thank you for choosing Filter Everything PRO.

It seems that your server does not allow connection with our license server. We can activate it on our side, but we need the following things from you:

1. Credentials to your /wp-admin following this document
2. And your license key.

Please, send all these via PM.

Best Regards,
- Victor

Hi there,

I have created a sale “category” by changing the query parameters in the Woocommerce product query. I have used the snippet here: https://www.businessbloomer.com/woocommerce-sale-category-automatic/

That gives this page: https://rosalinda.dk/sale-test/

However, the filtering is not working on that particular page. I guess, the filter plugin needs something to recognize which products, that are shown and manipulated into the category.

Any ideas on how to get the filtering to reflect the shown products?

Hi Meldgaard89,

Thank you for choosing Filter Everything PRO.

If the filtering is not working on the page with that code snippet then it is a problem of a snippet realization or the code itself without WordPress standards. Unfortunately, we do not provide or debug custom codes as it is out of the support policy here on CodeCanyon.

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