Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,655 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8949 comments found.

Hi, I have installed the plugin but i am having trouble in filtering the products. The price filter works fine but when it comes to filtering out the products based on category and attributes it does not work. And i am having trouble with Ajax feature as well.

Hi muhammadazimkehar

Thank you for choosing Filter Everything PRO.

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

Best Regards,
- Victor

Hi, I used the plugin for auto part web site with 5 filters: Brand – Model – Years – Category Type – Parts you suggested that I use the attributes, but the database is large, for example for the brand attribute I have two columns (Brand + brand name)

1- Is it possible to use tags products with the plugin?

2- Configuration with Woo-commerce: Is it possible to retrieve/display the filter details for each product in the order page (receipt) WordPress admin ?

3- does the plugin work for variable products?

Thanks

Hi Bluetreedigitaldz

1) It is already optimized, you can use OPCache, Redis/Memcache on your site to optimize it even more. But mostly it all depends on the server hardware, latency, and data optimization.

2) No, unfortunately, there is no possibility to mix 2,2,4, or more attributes and tags into one filter.

3) If you are referring to how you can do the custom order for filter terms, you can use the hook “wpc_terms_before_display” Here is an example with custom fields

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(
        'meta_key_goes_here1' => array(
            'Text1',
            'Text2',
            '1',
            '10'
        ),
        'meta_key_goes_here2' => 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;
}

And you can read more about this hook here – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

Best Regards,
- Victor

Hi

>> there is no possibility to mix 2,2,4, or more attributes and tags into one filter

I have 5 filters: brand (attribute) – model (attribute) – years (tag) – category (attribute) – part (attribute)

when you say one filter it is brand only for example? or all 5

for question 3

when I receive orders (in wordpress admin dashboard) I receive the item only (product name) / Qty / Price I want to display the attributes selected by the visitor in the order

Is it possible to retrieve them from your plugin and then display them in the commands?

https://imgur.com/wCTbts3

Thanks

What we mean is that you cannot combine two or more different taxonomies, attributes, tags, or any other entities into one filter. For example, you have a filter set named “Main filter set” where you can create all of the needed filters inside, you cannot make brand and model as one grouped filter. You can create two different filters from them.

If those are Woo custom fields, you can check meta keys for them here – https://prnt.sc/2EuJZ2vh19xJ in the filter set.

Best Regards,
- Victor

Is tabular dynamic filtration like this https://xfmrs.com/all/ possible with this plugin?

Hi ngrhd

Thank you for your interest in the Filter Everything plugin.

You can make it work like here it is simply live filtering when choosing the needed filter term – https://demo.filtereverything.pro/horizontal-views/

But, you would need to apply your own custom styles in order to create the same looks as in your reference.

Best Regards,
- Victor

Hello. Is it possible to make advanced filters in the menu with this plugin? Let me explain: I have 3 parent categories, Men, Women and Children and I want to put the brands that are for each category in the menu. An exact example would be the menu on this page for the brands section: https://www.bata.com/es/

Hi aurageller99

Thank you for your interest in the Filter Everything plugin.

Would be nice if you could provide a more detailed description with the showcases of what exactly you want to create at the ned process, as we visited the site and we are not sure what you are exactly referring to.

You can check some demos here – https://demo.filtereverything.pro/product-category/electronics/laptops/

If you want to create multiple filters from one taxonomy where you have different parent categories, we’d recommend using either separate attributes if you are using Woo or separate taxonomies in order to create separate filters from each taxonomy.

Best Regards,
- Victor

Hi For some reason the filter is not working properly when added as a short code to Astra site builder, when creating a custom archive page. Se this example: https://fitlife.se/aktivitet/

The problem is that all post are still showing after activating one or more filters. What could cause this?

I’ll send the same issue to the Astra theme, cause it might be theme related…

Thanks

Hi migge

We have checked the site, and it seems like the issue is already fixed. As it is filtering your posts.

If it is still not working, please provide more detailed information on the issue.

Best Regards,
- Victor

Hello team

My support has expired, if you could answer my question it would be much appreciated. Is there a way to remove “noindex, nofollow”? I want all my pages to be crawled by google engine I tried to change the code in plugin.php to the following but it did not work.

public function noIndexFilterPages()
   {
       if( flrt_is_filter_request() ){
           $robots['index']    = 'index';
           $robots['follow']   = 'follow';
           $content = implode(', ', $robots );
           echo sprintf('<meta name="robots" content="%s">', $content)."\r\n";
       }
   }

I have 6 filters and it is impossible to write 720 SEO rules to cover all the combinations.

These are examples of my SEO rules …/by-age-{any}/by-category-{any}/by-format-{any}/by-language-{any}/on-sale-{any}

…/by-age-{any}/by-category-{any}/by-language-{any}

…/by-age-{any}

Many Thanks in advance

Hi sjuneidiit

You can remove this action which applies all of the “noindex, no follow” tags on the filtered pages:

\add_action( 'wp_head', array( $this, 'filtersWpHead' ), 1 );

Then apply your own code which applies “indexed, follow” tags.

Best Regards,
- Victor

Filter is working fine, but I cannot use the AJAX feature. It is giving me this error:

https://prnt.sc/ZBZJS_1sTyxQ

Hi youngbossdigital

Please send us a message via PM – https://codecanyon.net/user/fe_support so we can reply to you by email.

Best Regards,
- Victor

Never mind, It’s working now! Thanks for your support!

Hi youngbossdigital

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

I have turned on cURL on my website and Filter Plugin Pro is not showing error on my website. But the other issue is still there that products are not filtering, it’s refreshing the page and showing all the products rather than filtering them out.

You already have my WordPress login details

URL is spike.youngboss.ca/shop for the shop where filter widget is setup.

Please help me fix this issue so, that I can finalize the website and finish the project. Thanks for your co-operation.

Hi youngbossdigital

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

Hi, I have a question about Search tool,

Is there a way to also bring products from Categories/labels which names match the searched word? (Besides only bringing individual products those match with the search.)

For example, if I have a category called “singers”. When searching for the word “singer” it brings up all products that are within the “Singers” category.

Hi leonardosalvioni

The search field uses the default WordPress algorithms. So it searches for the text in the title, content, and SKU.

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 ”posts_search” hook to apply the required conditions – https://developer.wordpress.org/reference/hooks/posts_search/ For the needed CPT and taxonomies.

Best Regards,
- Victor

Hi, I’ve set up my filter with Category A, Category B, Category C…

I need to include an ‘All’ button that will show all categories.

I’m not seeing an easy way to do this. Can you provide some guidance?

Hi Kite-Media

Thank you for choosing Filter Everything PRO.

You can create a category named “All” and apply it to all of your products, so when you click on it, it will display all of the products. But if you uncheck all filter terms from categories, it will show all posts, so not sure if you need this “All” filter term in your categories as it will only apply one more line in the query to the database.

Best Regards,
- Victor

Thanks for the response. For the sake of management moving forward I want to avoid creating a new “All” category. While you’re right that I don’t necessarily “need” the “All” Filter term, this is what my client wants so that it’s super clear to users.

Unfortunately, there is no other way to do it. You can try to use templates overriding – https://filtereverything.pro/resources/templates-overriding/ in order to add some custom functionality that will add “All” options.

Best Regards,
- Victor

I understand that it’s hard to keep the track of conversation by not replying to the same message thread, but there is no option to reply to the message. So, I have to write a new comment.

Anyways, I turned on the CURL and after that I activated the Pro version of the plugin from WordPress Plugins.

Now it’s giving me this error

https://prnt.sc/bCeDushWUezN

This is the same issue, as you can see it is saying “Call to undefined function FilterEverything\Filter\Pro\Api\curl_init()” – https://www.php.net/manual/en/function.curl-init.php

It is undefined because this module is still not turned on. You have multiple PHP versions there and profiles.

Maybe there are some general settings on the hosting, in any case, we really recommend contacting hosting support. We had such situations previously, and hosting support helped every time to provide information to their clients how it can be turned on.

Best Regards,
- Victor

I’ve sent you new hosting credentials again, please use these ones. It should work now.

If you can please make responses in the same comment thread so it won’t be confusing for us (yes, it is possible here). It will be easier to provide support as we check one come thread what was the initial issue.

So now you need to turn on the CURL module in the PHP settings. More likely, you can find it under the “EasyApache 4” -> Customize your profile -> PHP Extensions -> search for curl and turn it on. We are not exactly sure as each cPanel has its own settings. And we do not want to play with it as we do not know how you set it all up. To not bring any harm, if you are not sure how you can enable it, please contact your hosting support and ask for information on how you can turn on the curl module in the PHP settings on your server.

After this module is turned on, you can go to the WP Dashboard -> Plugins -> And activate the Filter Everything PRO.

Best Regards,
- Victor

Hi, I’ve already sent the credentials in PM as you mentioned in the document.

Please review it and fix my issue! Thanks!

Hi youngbossdigital

We have completely removed the free version of the plugin and fully deleted the filter data, in order to install the PRO version absolutely clean.

But unfortunately, the issue was not connected to it. Also, we cannot log in with the FTP credentials, as there is something wrong, more likely the password is not correct. So the site right now with a fatal error.

Please ask your hosting support to enable CURL in PHP and this error will disappear. This is your issue.

Best Regards,
- Victor

Hi, We would like to display two filter sets simultaneously in the categories in our WooCommerce store. In the sidebar and in the topbar. Is that possible?

It is not possible in the free version.

Hi SteffenGeorgi

Thank you for your interest in the Filter Everything plugin.

Yes, this is possible with the PRO version of the plugin. The Free version has a limitation to display only one filter widget. In the PRO version, you can display multiple filter sets on the page, for example, if you have 3 filter sets, you need to place 3 filter widget widgets or shortcodes to display them on the page.

Best Regards,
- Victor

i purchased the pro versions and there are many problems i am facing: 1. i am not able to view filter everything widget on the elementor widgets section as shown in <https://www.youtube.com/watch?v=g1_qlJvNdsg> 2. Alternatively, i tried to install widget through appearance<widget<product sidebar<filter everything filter widget. then dragging the side bar in elementor and selecting product sidebar. But i get this error when i run it “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.”. To resolve this i also set where to filter condition in filter set to Pages < Shop but still i was getting the same error msg.

help me resolve this at the earliest.

Hi divyampatwari22

Thank you for choosing Filter Everything PRO.

1) The search won’t show widgets, you need to go to the WORDPRESS section in the Elementor, and there will be a Filter Everything – filter widget.

2) Go to the pages, and check what page is this, it can be a home page, a shop page, a blog page, and so on. In this case, you need to set it as “Common WordPress pages + Shop page or Homepage, etc.

Also, we’d recommend checking the Quick Start guide – https://filtereverything.pro/resources/quick-start/

Best Regards,
- Victor

Good day, I am trying to use the sort everything widget. It works fine on mobile: https://winedrop.co.za/shop/ , but when I try on desktop it has always given issues. As soon as I click the drop down, the contents of the dropdown either appears 3 quarters of the way down the page, or it doesnt drop down at all. Any idea what can cause this? I have the default sorting disabled. Thank you

Hi geoffreyb13

1) Please check it with the browser inspecting tool to understand why there is this margin or padding appearing. More likely it some custom styles.

In order to hide the selected terms you can use this in the filters -> settings -> experimental -> custom css

.wpc-filter-collapsible.wpc-closed .wpc-filter-selected-values {
display: none;
}

2) Those things aren’t meant to be crawlable, or else you will have multiple crawling bots on your site and overload your server with those requests. You can find such messages on any site online.

Best Regards,
- Victor

Hi Victor, thanks for the feedback. The CSS makes the selection invisible (none), but it still makes the dropdown box shift down as more options are selected. I have tried adjusting the CSS in inspect chrome but nothing can remove the padding from the selection. For the sort widget I will share staging details tomorrow. Many thanks

Hi geoffreyb13

For all of the custom styles please use the browser inspect tool to find the needed elements and their classes in order to use them for custom CSS, and to check what is still making that space so you can remove it.

“I have tried adjusting the CSS in inspecting chrome but nothing can remove the padding from the selection.” As far as it is related to the CSS there’s nothing that cannot be done with the browser tools. For example, you can check this site, and do whatever you want – https://prnt.sc/Qqj2woFpWArM you can see the exact classes that those elements have, and their specificity in order to rewrite them. You can change already applied styles, to see if this class is responsible for it or some with a higher specificity. With a bit of practice, you can make any changes on any sites, themes, plugins, etc. This is a general practice, not specific to our plugin.

Unfortunately, everything that’s connected with the custom styles is out of the scope of the support policy here on the CodeCanyon – https://prnt.sc/DhdYTJPYBkYu

Best Regards,
- Victor

Hi There,

As we discussed earlier, I’ve purchased the plugin, but when I uploaded the plugin and activated it, it’s showing critical error on my website and I cannot access my WordPress Dashboard. When I went to my website’s File Manager and deleted the Pro plugin folder, it’s normal but I can’t use Pro plugin for some reason. Can you fix it for me please. I’m using Divi Theme and also with the free plugin the filters are not working on my shop page. When I choose the filters, nothing happens. It just reloads the page and shows all the products rather than filtering them.

Hi youngbossdigital

Thank you for choosing Filter Everything PRO.

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

Also, please provide FTP access so that if a critical error occurs, we can disable the plugin to continue to investigate the cause.

Best Regards,
- Victor

Good morning,

We recently changed the way we manage the taxonomies and attributes of our products on our website: instead of using ACF we now use the basic options offered by WooCommerce.

This means I have to redo the filters. So I more or less copied and pasted my previous work and made the necessary changes. After having validated them, I go to my page of products that I wish to filter and after more than 40 minutes of trying it is impossible for me to sort my products. Only the price seems to work but not the rest. I can’t understand why.

I tried in And what to filter? to put Product #1 or #2 and nothing changes. I have my page selected, the filter is displayed correctly (it still needs some adjustments from me). So I don’t understand what’s happening. We use Elementor as a builder.

Here there is the page to check : https://www.leshautsplateaux.ch/nouveautes/

Thank you for your clarification.

Hi vanni2600

This looks like the issue in configuring the filters themselves or conflicts with URL prefixes. Also, there can be a conflict with third-party plugins on your site. Hard to say what exactly, as it would need to check it on the place.

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

But we can help you later after all requests from accounts with valid support periods are processed. It may take some time – days or weeks.

If you want to receive it faster, please extend the support period, and we will process the request with the priority for supported accounts.

Best Regards,
- Victor

Good morning,

Thank you for your answers. Concerning potential conflicts it is not impossible but a while ago I especially deleted a very large quantity of extensions which were no longer useful to us. My old filters, which you can see here: https://www.leshautsplateaux.ch/categorie-produit/jeux-de-societe/ still work. If I put Âge 3, only games aged 3 are displayed. However, I doubt it would be such a conflict otherwise the previous ones would no longer work.

I tried to put the same filter that I just created for the product categories, with exactly the same parameters linked to the categories: the same problem persists, only the price works. I also just tried switching from list of labels to radio buttons, nothing changes.

On the other hand, I have just made a discovery which gives a new clue: I put an ACF filter, as before, in this new set of filters and it works. The problem therefore seems to come from the Attributes under WooCommerce. I use Taxonomy Filters => Product (WooCommerce taxonomy name). example : Product Auteur. If you want to try with ACF on the same page with WooCommerce attributes, I’ll give you the link: https://www.leshautsplateaux.ch/nouveautes/. The filter that works is the very last “Minimum Players”

We will see about the renewal of support, I cannot make this decision alone. If you can help me with these new elements that’s great, otherwise you can open a ticket in the meantime. If you need additional information let me know.

Can I show brands category as a separate category from the others (maybe as a dropdown)? So far it seems like I can only have one category section.

Hi nickyeager123

Thank you for choosing Filter Everything PRO.

No, there is no functionality to separate one category on multiple filters. Technically, you can apply two filter sets on one page, with the category filter, and use include/exclude functionality in order to leave only the needed terms. But they will work not like two separate filters.

You need a separate taxonomy for brands, or attributes if you are using WooCommerce. So you can create a separate filter from it.

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