Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,681 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8965 comments found.

In the Shop Page (https://pmediaweb.com/dev/meatholic/shop/)

“Australian Wagyu” is the sub-category of “Meats” but why it’s showing at the end of the filter. It should be under it’s Parent Category, which is Meats.

Yes, I have turned on this option. The problem is it shows the hierarchy to just one level.

https://pmediaweb.com/dev/meatholic/shop/

There’s a Category “Meats”, under Meats there’s “Australian Wagyu” and “Japanese Wagyu”.

then under “Australian Wagyu” there is “Chuck”, “Brisket”, “Flank” & so.

Also under “Japanese Wagyu” there is “Chuck”, “Brisket”, “Flank” & so.

It doesn’t show the sub-categories of “Australian Wagyu” & “Japanese Wagyu”

How to show those items as well?

Thank you.

Thank you

Hi ahmedtaha510

Seems like the issue was resolved as it is all showing now on your page.

Best Regards,
- Victor

Hello, I choose a sorting by name “a,b,c” for a filter that contains only numbers. It works correctly by 1, 2, 3, etc but the sorting is not correct when figure have several numbers. Examples : 110, 115, 11, 123, 129, 12… (11 and 12 must be at the beginning) 300, 30, 350, 35 (same problem) 12, 28, 46, 85, 9, (9 must be at the beginning) Can you help me to fix that please ? Thanks, Claire

Hi Claire

We need some time to check if there is the possibility of sorting it correctly like you need, and you forgot to mention that those numbers have a letter at the end, which is crucial in your case. And that’s why you get such unpredictable sorting, because with pure numbers everything is working correctly.

Best Regards,
- Victor

hello, yes you’re right ! but it’s pretty annoying… Let me know if you can fix it. Thanks a lot

Hi Claire

We created one testing custom field Field and tested on the Tonnage custom field as well, we added the code to your functions.php file where you can manually add custom fields meta keys and sorting order how you would like to see it, please note it is case sensitive so every term should be the same as it is in the custom field options:

// FE SORT FILTER TERMS MANUALLY add_filter('wpc_terms_before_display', 'wpc_sort_terms_as_needed', 10, 2); function wpc_sort_terms_as_needed($terms, $filter) { // Define custom sorting orders for different meta keys $sortingOrders = array( 'test_for_manual_sorting_fe' => array( 'Text1', 'Text2', '1', '10' ), 'filtre_tonnage' => array( '8', '12', '90', '8T', '8 T', '18T', '40T' ), // Add more meta keys and their sorting orders as needed // 'another_key' => array('term1', 'term2', 'term3'), ); // Check if the current meta key has a custom sorting order if (isset($sortingOrders[$filter['e_name']])) { $customOrder = $sortingOrders[$filter['e_name']]; // Create an associative array to store term objects $termMap = array(); // Populate the term map foreach ($terms as $term) { $termMap[$term->name] = $term; } // Sort the terms based on the custom order $sortedTerms = array(); foreach ($customOrder as $name) { if (isset($termMap[$name])) { $sortedTerms[] = $termMap[$name]; unset($termMap[$name]); } } // Add any remaining terms to the sorted array foreach ($termMap as $term) { $sortedTerms[] = $term; } return $sortedTerms; } return $terms; }


Best Regards,
- Victor

Hello, please activate my license. I have sent you my license key and the admin login through your Support contact form. Thanks.

Hi stephen434

Thank you for choosing Filter Everything PRO.

The license was activated and everything is working well.

Best Regards,
- Victor

Hi.

I1ve just bought your plugin, and it seems to work perfect. But I would like to change a little bit the way the Custom Field Numeric is displayed. Please look at the page: https://www.spatec.no/massasjebad-ny/. You’ll see the price slider on top (I haven’t styled the rest yet).

Is there a way to diable the the small keys up and down to change the price? And I’m having trouble to find the right targets (css) to style the size of the numbers, and the field where the minimum and maximum price is displayed. I would like it to be as simple as the checkboxes.

Could you please help me with this?

Hope to hear from you soon :)

Regards Christian Albretsen

Hi Christian

Thank you for choosing Filter Everything PRO.

This code should remove arrows up and down:

.wpc-filters-range-wrapper input[type="number"]::-webkit-inner-spin-button, .wpc-filters-range-wrapper input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }


And this to make it somehow similar to the checkboxes:

.wpc-filters-range-wrapper input[type=number] { border: 2px solid #ccd0dc; border-radius: 6px; }


You need to place it in the Filters->Settings->Experimental->Custom CSS

Best Regards,
- Victor

Hi.

And thanks for your answer – it’s much appreciated. But the code regarding the arrows doesn’t seem to do the trick when using Firefox. They are still visible. Do you have a solution to this?

And another thing when viewing the page in Safari. The numbers in the price slider is smaller than the rest of the text in the filter. it would be nice if they where the same.

Hope to hear from you soon :)

By the way – I hoped I would get your answer to my mailadress. I checked the box for that when I contacted you. But it doesn’t seem to work.

Best regards, Christian

Hi Christian

The plugin inherits the theme styles, so if you want to make it look the same on all browsers you need to add specific styling, counting the Firefox and Safari nuances. Crossbrowser styling can be a bit challenging if you want to make pixel-perfect pictures across all of the sites.

You should check browser specifications, and how to get it all to work across all of the browsers the same.

Best Regards,
- Victor

Pagination is not working on my filtering: check example:https://santasementebr.com/loja/catprod-fast-buds/

ALSO why is not listing other categories on this cat page? https://santasementebr.com/categoria-produto/barneys-farm/

Hi hdeveza

Not all of the paginations are compatible especially when using load more or infinite scroll ones, but there is this plugin for Woo which is compatible with our plugin and applies load more and infinite scroll pagination – https://wordpress.org/plugins/load-more-products-for-woocommerce/

The filter just shows categories that apply to those products, so they simply do not have another category, that’s why you see only one category.

Best Regards,
- Victor

Good afternoon, I can’t configure the plugin on my website… it’s not filtering, look at the example: https://santasementebr.com/categoria-produto/barneys-farm

Hi hdeveza

Thank you for choosing Filter Everything PRO.

It looks like you already set up everything, because it is filtering the products now.

Best Regards,
- Victor

Hi,

We purchased “Filter Everything” last month, but suddenly the purchase code stopped working. When we try to use it, we get an error telling us that the key is invalid.

Can you help us asap?

Best Regards, Mathieu

Hi storytellingfirst,

Thank you for choosing Filter Everything PRO.

Please check this page to understand how to get the license key – https://filtereverything.pro/resources/license-key-issues/

Best Regards,
- Victor

Hi Victor, we have a key and we know how to download it, but when we try to use the key, we get an error telling us that the key is invalid.

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

Also, please send the license key as well via PM

Best Regards,
- Victor

I set the filter value to the “Label list”, but it still contains checkboxes, how can I disable them? https://i.ibb.co/wrz66fZ/checkboxes.jpg https://new.elmetro.co.il/product-category/men/shoes-men/

Hi bullshmaiser,

Here is support for accounts who purchased the plugin, and if you already did it, please write your request from the account where you purchased it. And considering the problem please provide the link to the page with the issue so we can check it.

If you are using the Free version, please write your request on the WordPress support forum – https://wordpress.org/support/plugin/filter-everything/

Best Regards,
- Victor

Heya, writing to you with yet another problem. Similar to the the other problem where some attributes threw a 404 error because they contain hyphens and partially match other attributes, now the issue is with terms.

I have a completely unique attribute with 5 terms: [one, two, three, test-asd, test-asd-qwe], which logic is set to work with ‘OR’ and checkboxes. As you can see, all 5 terms are unique as there aren’t exact matches, but due to how your system processes URLs – we go back to the 404 issue. 1) Example: I select term ‘one’ -> no issue I select both terms ‘one’ and ‘two’ -> no issue I select term ‘test-asd’ -> no issue I select term ‘test-asd-qwe’ -> no issue I select terms ‘one’, ‘two’ and ‘test-asd’ -> still no issue BUT when I select the terms ‘test-asd’ and ‘test-asd-qwe’ – everything explodes and throws a 404.

2) Second example – if I got the terms ‘test-asd’ and ‘test-qwe’ (note the difference), and even selected them both -> everything is fine.

Pls fix (:

Sent.

You can observe this issue @ https://os.etbcrm.art/product-category/апаратура-ниско-напрежение/миниатюрни-автоматични-прекъсвачи-м/

Check out filter ‘Крива на изключване (taxonomy_pa_kriva-izklyuchvane)’.

Glitch first observed in filter on page https://os.etbcrm.art/product-category/апаратура-ниско-напрежение/арестори-катодни-отводители/

The filter is ‘Цвят (taxonomy_pa_cvyat)’ and glitch is observed when you select terms ‘оранжев, черен’ and ‘оранжев, черен, син’ like so – https://os.etbcrm.art/product-category/апаратура-ниско-напрежение/арестори-катодни-отводители/fltr_cvyat-оранжев-черен-or-оранжев-черен-син/

Please confirm when you have verified access. Thanks.

Hi ickomcdevill

We have checked the site. Did you modify the plugin code?

Best Regards,
- Victor

Hello! In description of Plugin sayd that it have function to hide out-of-stock variation in filtering. I insert snippet code to my function.php BUT this not work.

Look screen: https://yourimageshare.com/ib/vMwEcvBSo0

1) There is a variable product with sizes (L, XL, XS) and one of variation if out-of-stock (for ex. M size) 2) I click on filter by size M and this product is showing in results How to hide from SEARCH if you filtered by param that out-of-stock in variation of variable product ?

They were written about half a year ago, and may not function properly after recent updates. However, we have included them in the list so that the development team can review them and make any necessary updates.

Best Regards, - Victor

In refund dispute you say: “If you configured your filter correctly and modified the code snippet correctly in accordance with the filter it should work properly.”

What do you mean? Previously you say that snippet NOT VALID! How to modify?

Hello grishagreen.

Please, be careful, in the refund conversation you got reply from me (Andrii), but not from Victor.

Hello,

1) I can´t get the sliders for numeric taxonomies and time values eg. “3:25”.Could you please tell me how to get it right? It is a webshop for downloadable music tracks with length values I´d like to filter as well.

2) When filtering, the product table disappeares for a part of a second before reloading. It is not too long but still a little bit disturbing. However on your demo page this is not the case. Do you have any solution for that?

Thank you for your help in advance,

Attila

I have submitted my refund request to Envato. I´m very sorry because otherwise the plugin works fine, it´s just not for me because of the missing feature which we have disussed above,

Thank you again for your help.

Regards, Attila

Hi attilajaki

In that case, you need to wait for the response of the author, as the support team is not responsible for refunds.

Best Regards,
- Victor

I´m waiting, thank you.

Hi guys,

I’ve send my credentials in PM for solve my license key and few other things.

Thanks,

Oliver

Hi Oliver,

The answers were provided via Email.

Best Regards,
- Victor

Dear Sir or Madam, I would like to use your plugin in combination with WPBakery. here I have some pages where I placed my WooCommerce categories. you can see all products in one category. please would you be so kind and help me to connect your filter with my WPBakery WooCommerce category product page?

Hi Amjex,

We are not sure what you mean by “here I have some pages where I placed my WooCommerce categories” as we do not see any screens or links or at least anything to check. Could you please provide additional information on the issue? So we can resolve it.

Best Regards,
- Victor

I just love your Plugin, but it is the very slow ing my site.https://Urbanopticon.com/Shop If i Filter for Sweatshirt i got zo wait Like 10 Seconds…

Hi kopf-und-stift,

Thank you for choosing Filter Everything PRO.

We could not find the FE filter on this page. But in short speed of the plugin depends on the server hardware and optimization techniques, like it is working on the demo page – https://demo.filtereverything.pro/product-category/clothing/women/ where both are configured correctly.

Best Regards,
- Victor

1)I have a problem with plugin when I use Mega menu (from Royal Elementor Addons) and when i choose one of categories on Mega Menu on opened page content is contract, only when Choose from Mega menu, if choose All products look good. I use such plugins: Elementor, Royal Elementor Addons, WooCommerce, Filter Everything — WooCoomerce Product & WordPress Filter, Elementor Header & Footer Builder

2) When I choose Categories in Mega menu and after (on this page) in filters (next to products) try choose another categories, appear error that No products were found matching your selection. I added Filter with the help short cod this Website – https://www.zevsmeat.com/ https://www.zevsmeat.com/product-category/brisket/ – example page with problem Link with Screenshots problem https://drive.google.com/drive/folders/18yKyqGybx24aKKQER1IIBF2SoqRpu63R?usp=sharing

Hi vevaxxx7772,

Here is support for accounts who purchased the plugin, and if you already did it, please write your request from the account where you purchased it. And considering the problem please provide the link to the page with the issue so we can check it.

If you are using the Free version, please write your request on the WordPress support forum – https://wordpress.org/support/plugin/filter-everything/

Best Regards,
- Victor

HI I’m looking for an ajax conditional filter with horizontal display for auto part. (Category +subcategory + attributes +Tag )

I want the user to be able to filter by category part – subcategory – brand vehicle – model – years with the possibility of entering (input) keywords in each section, example:

https://chromium.themes.zone/catalog/

Thanks

Hi Can I display two search engines, one horizontally in the home page (which redirects to the product page) and one vertically in the products page with more options Thanks

Hi yacineamotech

You can create a redirection filter set and place it on the home page. You can create another filter set and use it normally as a sidebar filter and place it on that redirection page.

Best Regards,
- Victor

Hi, the filter can combine with categories – subcategory and attribute thanks

Hello me again

license is – 63f24dd4-672b-4607-9c45-b57ebdd90e3e

I re-installed the plugin and still getting issues:

I have ACF with a post type of hosts – inside that there are field groups etc

I have a repeater in oxygen that shows the dynamic data

this is all working

for filter everything I have setup a filter set that looks for custom post type fields

I have set the main filter to NOT hide anything

the two main custom fields the filter should show are days of the week and genres

currently it only shows the labels for posts that contain a field of that type

wheras it should be showing all filters as I have set this to NOT hide them if they are empty

so filter everything is reading the filters from the posts its just not showing all of them when it should be

second issue is that when I click one of the filters it just shows a blank page and not the results

this is the website (staging site):

https://staging-incapablestaircase.kinsta.cloud/

everything was working yesterday and after I moved the order of the filters in the back end it all went wrong and even now after I uninstalled everything, cleared cache, re-signed shortcodes etc in Oxygen – even saved permalinks again like you suggest in docs

its broken

please help !

go to the website and click on Jelly Wobble – you can see that her day of the week is ‘Friday’ and on the home page it lists Friday as one of the filters – but when you click ‘Friday’ teh page goes to this url https://staging-incapablestaircase.kinsta.cloud/day-friday/ – and the page is blank

again – was all working fine and now completely broken

have sent that – FYI – I have a backup with my hosting provider as of 5 minutes ago

Have sent

Hi bitfunk001,

We have checked the site, and the issue in the way you created it. Actually, there are some script issues on your home page, and perhaps some other issues.

We created a new page and set your filter there, everything is working – https://staging-incapablestaircase.kinsta.cloud/test-page-for-fe/ places the posts using a query with your specific post type, and as you see you can filter them normally and everything is working. Again, a bit weird realization, because for some reason your home page is not the exact titles of your posts, but rather custom field data or any other data.

In any way, you have the example and you can examine it and make it in the same way on the home page to make it all work.

Best Regards,
- Victor

Hi,

How to make your plugin support date filtering with a date field created with ACF plugin ? Does it support date filter and date range filter ?

thanks

Hi osformation,

Thank you for your interest in the Filter Everything plugin.

Currently, the plugin does not support date filters. Of course, you can convert the data into a second and filter by it, and in the front convert it back into a date. But it would require custom coding. But date filters should be added soon with new updates.

Best Regards,
- Victor

Thanks for you quick answer. Can you tell me when you plan to release it ?

I need it asap.

Thanks

This feature should be released in the coming months, there are no exact dates for this release yet.

Best Regards,
- Victor

I have set my first level categories to show only subcategories. The plugin is set to only filter by product attributes, yet there are still filters visible on the categories with “Show only subcategories”. What do?

1) A couple of words on how this (show only subcategories) is working under the hood. In fact, those pages also contain WP_Query and select products from the database. They are simply not displayed in the template, only the subcategories are displayed, but the sampling itself is carried out. Therefore, the filters correctly show the numbers of the products on this page. So as we mentioned you can hide it with CSS.

2) We’ll explain it in a simple way.

Think of a URL as a web address. It helps your web browser find and display the right page on the internet. Now, imagine you have a website, and you want to create a new web page with a URL like “category-something.”

But here’s the problem: some other parts of your website or plugins already use the word “category” before the dash ”-” in their URLs. So, when someone tries to visit “category-something,” your website might get confused. It won’t know if they want the new page or something else related to the existing “category.” and you get 404.

To avoid this conflict, you need to be careful when creating new URL prefixes and make sure they don’t use the same words that are already used by other parts of your website or plugins. This way, your website will work smoothly.

We understand that it might look like, oh why they just don’t use the same thing over again, it would be logical. No, it is not working in this way. It is crucial to understand how each piece is working together without conflicting.

Best Regards,
- Victor

About the 404 and naming issue:

URLs get matched with exact text, not partial text. It will never ever, in an adequately designed system, match with expressions such as SQL’s ‘LIKE’, ‘SUBSTRING’, ‘LEFT’, ‘RIGHT’, aka partial match. I tested some more cases, and it looks like your validation is not working!

1) I have a filter with slug ‘barcode’, if I try to create a new filter with the slug ‘barcode-another’ I will get an error, but now let’s try something else: If I had a filter ‘apples-bananas’ and tried to create a new one with slug ‘apples-bananas-carrots’ – there will be no error I but when using the filter/visiting URL – it will cause a conflict and return 404. So no, the naming scheme is not the problem; your matching is! It’s good that there is such validation, it’s not good that it doesn’t work.

Check this snippet from PLUGIN_DIR/src/Admin/Validator.php:
*// @todo fix bug, when $prefixesList is not array*
public function validatePrefixHyphens( $prefix, $prefixesList )
{
    if( strpos( $prefix, '-' ) !== false ){
        if( is_array( $prefixesList ) ){
            $pieces = explode('-', $prefix, 2 );
            $firstPart = $pieces[0];

            if( $exist = array_search( $firstPart, $prefixesList ) ){
                return false;
            }
        }
    }

    return true;
}

When you explode the string, you set a limit ($limit = 2 argument) so you only get the first part, but you compare it to a list of entire prefixes, so to put it into an example: $prefix = “apples-bananas-carrots”; $pieces would become: array( [0] => “apples”, [1] => “bananas-carrots”) $firstPart would become: “apples”

And inside the array search you’re searching for “apples” inside [“apples-bananas”, “apples-another” ... ] – essentially never matching and returning false in the cases where the prefix contains more than one hyphen.

2) Matching substrings left and right like that can and will cause a lot of other problems for no obvious reason and this makes the plugin a huge compatibility risk. Could you please explain to me why the hell is your url matching working like that?

3) Why are filters’ slugs saved as options in the WordPress system, rather than using the values in the post object? Every filter is a post and is listed on the WP_posts table, why is it’s prefix ultimately stored in WP_options?

Hi ickomcdevill,

Thank you for bringing this to our attention. Your input is highly appreciated, and we will ensure that your valuable feedback is promptly forwarded to the development team for review.

Best Regards,
- Victor

Hi, our plugin license is blocked, can you activate it, please?

code purchase 91e4d6e2-8f5e-47ab-a49a-fa5a1c74b58f

Alright, so the license is already activated on two sites, that’s why you can not activate it on the third one. We can deactivate it across all of the sites so you can activate it on the needed ones. Tell us when you are ready for it.

Best Regards,
- Victor

Ok, please, deactivate it from the sites and we will activate it wherever. Thanks

The license was deactivated across all of the sites, so now you can activate it on the needed ones.

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