Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,691 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8969 comments found.

Hello

I have set up filters using ACF and product custom fields.

How can I sort the drop down list to be sequential or size order if text numbers?

Thanks

Unfortunately, there is no such functionality, there is only the ability to hide empty filter terms and hide the filter if all of the filter terms are empty in the filter.

Best Regards,
- Victor

Thank you – is this something that might be introduced later?

Hi ianscottgrant,

Hard to say since this is the first request we get like that, if there will be more requests from the users for such functionality we might implement something like that in the future.

Best Regards,
- Victor

Hi, I created a product filter with filter everything plugin, the sample page is here: https://eyeconzmedia.com/ideali2/appliances/?currency=SGD. But I cannot link the filter with the products. How should I fix this prob? Thank you and wait for your reply

Hi eyethalics,

Then it can be two problems, one is that you are using cache and it is caching everything so you cannot choose any WP_Query try to clear it and check if there is the possibility to choose the WP_Query and turn it off for testing purposes (usually it’s object caching) and the second one is because the products were displayed without WP_Query, they are just a list of items from API or something like that.

Best Regards,
- Victor

Hi Victor, I tried to disable the cache but the problem is still exits.

The products on the page is added through woocommerce products. If they were displayed without WP-Query, how should I add it? Or do you have any recommended plugin which I can use to display products with WP-Query? Thank you

This is a strange behavior. Please provide the credentials to the wp-admin dashboard following this document so we can check it.

Best Regards,
- Victor

hi, Will it support SearchWP or Relevanssi for searching custom post type? I am planning to use it for Woocommerce.

Hi swzhai,

Thank you for your interest in the Filter Everything plugin.

Currently, our plugin is not compatible with SearchWP or Relevanssi search algorithms. However, we are planning to integrate it with future updates, so that the Search field in our plugin can use the advanced search capabilities of Relevanssi.

Best Regards,
- Victor

Dear Stepasyuk, I just purchased your pro-version of filtereverthing. I would like to have a filter on a post to select specific webinar registrations out of our video library. How can I do that? I read the documentation and watched the video. Can’t figure it out. Could you please help me with this? Please see some screenshots regarding my settings here: https://we.tl/t-QFtYBDpiFK If needed I can also give you access to the page.

Thank you. Kind Regards from Italy, Stefan

Dear Victor,

thanks for your help! I downgraded to php version 8.1. Unfortunately, as soon as I install query monitor we have problems to transfer our orders from woocommerce to our erp system. So can’t leave that installed. Can you help nevertheless?

Kind Regards, Stefan

We have checked the site, in tries to help you with the issue. However, to fully address the problem, we need permission to edit plugin files (/wp-admin/plugin-editor.php), which we currently don’t have.

It’s possible that the issue is related to a conflict with another plugin. You can try disabling plugins one by one and updating the filter set to see if the problem gets resolved or allows us to access /wp-admin/plugin-editor.php.

Best Regards,
- Victor

Dear Victor,

Got it to work. Thanks for your help!

Hi!

3 questions before the purchase:)

1) Does your filter plugin work withcustom Elementor Loop grids? 2) Is it possible to create a range slider based on product’s attributes? I need slider for price and “age” of the wine, something like this: https://prnt.sc/15Xjdn9lsqiM 3) Do you have any refund policy in case the plugin won’t work as expected?

I would be grateful for you reply;)

Yes, you can create a custom numeric field and in the filter create a range slider by your custom field meta key. Yes, it is possible to filter products by a simple custom text field.

Here you can check the demo – https://demo.filtereverything.pro/product-category/clothing/women/color-red/brand-hm/c-kind-dress/?max_price=100

Best Regards,
- Victor

Hey, I’ve just purchased the plugin, and I try to figure out how to make it work with custom elementor loop grid.. On my shop page https://digismart-development.ch/weinservice/shop/ I use the loop + the shortcode [fe_widget] https://prnt.sc/xjBWWBxsPPNx. But for some reason it doesn’ work.. could you please tell me how to “connect” them so filters would affect the grid?

Hi ziemo_as,

It seems like you already figured out how to make it work.

Best Regards,
- Victor

Is there a way to change the color ”#2c2d33” in the inline CSS to a variable? My website is dark themes and ”#2c2d33” is not accessible on my website. Is there a easy way to to this without overwriting everything manually?

Code I am referring to: https://bit.ly/3QnsOmS

How it looks on my website: https://bit.ly/3qetbWo

Hi samirankakoty,

Thank you for choosing Filter Everything PRO.

Not sure what you mean by overwriting everything. All you need to do is just add the custom CSS code to chenage the colors of the buttons you can add that CSS to the Filters -> Settings -> Experimental and scroll to the custom CSS. Or you can add in this section additional CSS – https://prnt.sc/jwz5Q8L3tVQv

Best Regards,
- Victor

How can certain posts be excluded from being filtered if assigned to a certain tag?

Hi paragonitltd,

Thank you for choosing Filter Everything PRO.

Please add more detail what do you mean by “excluded from being filtered if assigned to a certain tag”? There is no such possibility to filter by some term and certain products will always be shown, it can happen if you assign all of the tags custom field and etc on that post so it will contain every filter term that you will see in the filter, but that’s also quite hard to achieve.

Best Regards,
- Victor

Hi Victor, ok no worries

I am having “unknown error” when trying to activate the license

Hi CreativePixelsUK,

Apoligies, we forgot to mention that we need a license key as well (not the CodeCanyon purchase code) please send it via PM.

Best Regards,
- Victor

Just replied to the email you sent from Support with it.

Thank you, everything is done, and additional information was provided via Email.

Best Regards,
- Victor

I created the filter to filter a category by the brand. I have the SEO rules set up to dynamically create a custom SEO title, description and H1 tag. However, it is not working. When I view the source of the page is says noindex/nofollow so there is something I do not have set up correctly.

https://www.overlanded.com/body/roof/brand-dv8-offroad/

My SEO rule is …/product-category/{any}/brand-{any}

Under indexing depth I have it set at 2. One thing I noticed is it only has Products ( product ) listed in there. I would think it needs to have categories in there as well right? So there must be something I am doing to block categories from showing in the indexing depth section but can’t figure it out.

Thanks for helping

Hi overlanded1,

We have checked the site, and either it is a conflict with some plugin or custom code, which adds its own “correction” to the request that chooses SEO Ruler for the current page.

The request was formed correctly and the SEO rule exists in the database, so it should be selected. However, the SQL request has been modified:

SELECT wp_posts.*
FROM wp_posts
INNER JOIN wp_postmeta istockstatus
ON (wp_posts.ID = istockstatus.post_id)
WHERE 1=1
AND istockstatus.meta_key = '_stock_status'
AND istockstatus.meta_value <> ''
AND wp_posts.post_name IN ('472af9ed55746da29681a051de6f6331','dbdaf147cc68e77b1a1f3eda34fc3146','ba1ec5e76d1f77073dae17f45cdef84f','53c61f38ecf52a817e74c1b0564e60dd')
AND wp_posts.post_type = 'filter-seo-rule'
AND ((wp_posts.post_status = 'publish'))
ORDER BY istockstatus.meta_value ASC, FIELD( wp_posts.post_name,'472af9ed55746da29681a051de6f6331','dbdaf147cc68e77b1a1f3eda34fc3146','ba1ec5e76d1f77073dae17f45cdef84f','53c61f38ecf52a817e74c1b0564e60dd' )

And this part breaks everything:

AND istockstatus.meta_key = '_stock_status'
AND istockstatus.meta_value <> ''

It seems that there is a custom code or plugin that requires selecting only “In-stock” products, but it was implemented incorrectly and without considering the post type.

You can either turn off plugins one by one update the SEO Rule and check its workability or fix the custom code.

Best Regards,
- Victor

The code was in place on our functions.php file to sort the products so that the out of stock products would show up last.

I removed that and the SEO rules work now. Do you have any idea how to put the out of stock products last without breaking your code?

Hi overlanded1,

Only by experimenting with custom code, we do not have any solution for that, as this functionality is not presented in the filter yet. Did you try to make a sorting by _stock_status and test it, maybe it will help you out to fix the problem. Unfortunately, we do not provide or debug custom codes following the support policy here on CodeCanyon.

Best Regards,
- Victor

hi i have a custom taxonomy with parent and child support. How could i make this work with 2 dropdowns? first, select the parent and then select the child. also, sort function works only as a widget? i added it as a shortcode and didn’t work.

Thanks for the reply. Is there any documentation about second part?

Also I use hello elementor theme. There is no widget area. How could I make the sorting works?

Hi chaosm,

Which second part? About category and rest filters by custom fields? To make a step-by-step filter like here – https://demo.filtereverything.pro/step-by-step-filtering/

Unfortunately, it is not possible to use a sorting widget without a widget area. This is because sorting options must be set up from within a widget area.

Best Regards,
- Victor

Hello. I bought your plugin and I’m having trouble translating into Portuguese. I use loco translate to translate but the translated texts do not appear on the frontend.

https://nimb.ws/52UMK0 https://nimb.ws/vtU4Hh

Hi cigaai,

Thank you for choosing Filter Everything PRO.

The title of the sorting options can be specified in the widget section – https://prnt.sc/m26uNtKi_lpa

Best Regards,
- Victor

I hope this message finds you well. I am reaching out as a user of your “Filter Everything Pro” plugin to seek your valuable assistance with some issues we are experiencing on our website.

1. WPML Compatibility: We have successfully integrated the WPML plugin to handle translations on our site. However, despite creating translations for each filter, we are facing an issue where the filters only appear correctly on our default Spanish pages, but not on the English pages or any other translated versions. We would greatly appreciate your support in resolving this matter to ensure that the filters display consistently across all languages.

2. ACF Dropdown Filters Displaying Values Instead of Labels: We have observed that the dropdown filters for Advanced Custom Fields (ACF) are displaying values instead of labels. This issue is evident on the home page of our website. We kindly request your expertise in resolving this matter, as it impacts the usability and user experience of the filters.

3. Invalid License Key: Upon attempting to activate the “Filter Everything Pro” plugin using the provided license key, we encountered an error message stating “Invalid License Key.” Despite ensuring the accuracy of the key and verifying for any typographical errors, the issue persists. Your assistance in resolving this licensing problem would be highly appreciated to enable us to utilize the plugin’s features to their full potential.

As the functionality of “Filter Everything Pro” significantly influences our website’s performance, your prompt support in addressing these concerns would be immensely beneficial.

If there is any specific information or access you require from our end to better understand and troubleshoot these problems, please do not hesitate to let us know, and we will be more than willing to provide it.

Thank you very much for your attention to these matters, and we eagerly look forward to your valuable assistance.

PS. Is there a secure and confidential way for me to share private data with you, such as access credentials, URLs, or other sensitive information? I want to ensure that the information remains protected and does not compromise the security of the data. Please advise on the appropriate method for sharing such information with you. Thank you.

María

Hi María,

Thank you for choosing Filter Everything PRO.

1. You need t specify the new filter sets to the needed pages in the “Where to filter” for each language and choose the corresponding language for that on the right side to find your translated pages for each language.

2. If you wan to display labels instead of values in filter widget palce this code in the functions.php and specify your ACF fields meta keys:

// Add the filter hook
add_filter('wpc_filter_post_meta_term_name', 'wpc_acf_labels_instead_of_values', 20, 2);

// The callback function for the filter
function wpc_acf_labels_instead_of_values($term_name, $meta_key)
{
    //your meta keys goes here
    $meta_keys = array('my-meta-key', 'another-meta-key', 'third-meta-key');

    if (in_array($meta_key, $meta_keys)) {
        if (function_exists('acf_get_field')) {
            $field = acf_get_field($meta_key);

            if ($field) {
                $field_key = $field['key'];

                $new_choices = [];
                if (isset($field['choices']) && !empty($field['choices'])) {
                    foreach ($field['choices'] as $key => $value) {
                        $new_key = mb_strtolower($key);
                        $new_choices[$new_key] = $value;
                    }

                    $term_name_test = mb_strtolower($term_name);
                    if (isset($new_choices[$term_name_test])) {
                        $term_name = $new_choices[$term_name_test];
                    }
                }
            }
        }
    }

    return $term_name;
}

3. 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. That is the license key that we need.

4. You need to activate the plugin, perhaps with the license key you will activate it.

5. Yes, you can send it all via PM here, but we think we might solve the issue without credentials.

Best Regards,
- Victor

Hi, I’m using your plugin to filter ACF records on a website with Elementor. The plugin generates a Query that I have to add to my Loop Grid. So far so good. But I need to be able to add extra conditions to that Query to show me only the records of a certain relation field and a comparison that connects me to Memberpress.

How can I extend the functionality of the query that your plugin generates?

Hi codevent,

Thank you for choosing Filter Everything PRO.

- Plugin does not generate new WP_Query.
- It only monitors and displays existing ones on the page.

If you need to modify the WP_Query that is being filtered, there is a hook called ‘wpc_filtered_query_end’. This hook allows you to make modifications after adding the filtering parameters to the WP_Query.

If you want to use this hook, you either need to have knowledge about WordPress or seek assistance from a developer.

Please note that we do not provide or debug custom coding following the support policy here on CodeCanyon.

Best Regards,
- Victor

I purchased the pro version yesterday. I have ACF for custom field and CPTUI plugin for custom post types and taxonomies.

The filtering is working great on custom post archive page here, that lists all custom post “kirpputori” posts: https://kirpputorit24.fi/kirpputorit/ But the filtering is not working on “city” taxonomies. The filters show correclty but when trying to choose anything it shows “no results”. Example: https://kirpputorit24.fi/city/kirpputori-helsinki/

Could you tell me why it’s not working and how to fix this?

Thank you in advance!

We have checked the site and fixed the issue by hitting the update button on the filter set. Now everything is working as it should.

Best Regards,
- Victor

No, it still doesn’t work. Try for example page: https://kirpputorit24.fi/city/kirpputori-helsinki/

and hit “itsepalvelut” checkbox under PALVELUT.

It brings this url with nothing found: https://kirpputorit24.fi/city/kirpputori-helsinki/palvelut-itsepalvelu/

After reviewing the site, we’ve identified the issue. The problem lies in the fact that the pages use different queries, as evidenced by the query to the database at https://prnt.sc/7gtmNYS_Zi68 (upper one is for the kirpputorit archive page and the bottom one for the city taxonomy) It appears that you’ve added custom code to include custom requests to the database, which differs from the default request. Alternatively, a third-party plugin conflict may be adding the request. In either case, you’ll need to address the issue on your end. This could involve fixing the custom code or removing it, or deactivating plugins to determine which one is causing the problem.

Best Regards,
- Victor

Hi, I purchased the fliter everything pro version to be able to display filters on each page. Generally, this option works, while there is a problem that on the custom archive product page from elementor pro, the filter path and the reset button are not displayed. On the phone it looks a little better, as it functions as a popup. By default, I would like to change the category pages to custom archive products from elementor pro natomaist, I would like the path to be displayed. Screens on imgur https://imgur.com/a/YLUhrJL and here is my page https://alfaspace.pl/kategoria-produktu/wszystkie-produkty/kategorie-produktow-kontenerki-pod-biurko/ if you go to another tab in the top menu you will see the default tabs I want to change.

and another thing that I forgot to mantion. The price boxes on pc are really small. Is there any way to make it bigger? The bigger price isn’t fit in them https://imgur.com/a/Ou5xo0E

Hi Feeri,

Thank you for choosing Filter Everything PRO.

By the path you mean “Chips? that display selected terms in the filter and reset chip? If you are using shortcodes you can check this page – https://filtereverything.pro/resources/shortcodes/ to understand better how to use them to display everything. If you are using the widget area you can set up everything there – https://prnt.sc/cYmD0vtJVsTo

About the price inputs, of course, it is possible and they are bigger by default, you just applied some Woo styles on those inputs, please check the screenshot – https://prnt.sc/O6rDaLX9c-hJ we turned them off and everything is looking great.

Best Regards,
- Victor

I have a recurring issue with the filter sets. Randomly, the selected filter on all of my filter sets reset back to the main query. To fix, I simply open all of my filters, select the correct query, and save. However, I don’t notice until my customers complain about the filters not working…so that’s no good. Any idea why this is happening? I thought it had to do with your plugin updating, but it did it again yesterday and there wasn’t an update. Help!

Hi bogaat,

Perhaps, the issue is occurring because of the caching you cache absolutely everything on your site and the query is disappearing at some point (reset it back to the main), because of that, try to turn off the object cache.

Best Regards,
- Victor

I use WP Rocket for caching and don’t see any option for objects. There are options to tweak, but I’m not quite sure what to adjust…any ideas? https://docs.wp-rocket.me/category/1230-caching

Hi bogaat,

So the WP_Query doesn’t disappear, sorry for the confusion with the previous answer, we thought that the queries disappeared completely from selectin, in that case, it would be the caching issue.

WP_Query can reset only in one case – which means it changes over time. Because it cannot just randomly be reset in the settings. Each WP_Query has its own unique fingerprint, which is stored in the database, and by it, the plugin recognizes which one was selected for the Filter Set. This can change only in one case – for some reason, the WP_Query itself changes, and its footprint also changes. Therefore, in the Filter Set, what was saved earlier is “misplaced” and it shows WP_Query by default.

This is some kind of conflict with other plugins or custom code. You need to figure out and debug the site in order to understand which plugin or code cause those changes to the QP_Query.

Best Regards,
- Victor

Hello there, I have been working on getting everything in order for your Filter Everything sidebar to work on the following page, and I can’t seem to get it functioning properly: https://tbss2023.wpengine.com/tv/

Specifically, I know that when I click the word OLED in the left sidebar, it should only produce 8 results (8 products have the Attribute “Display Type” with the value “OLED” attached to it). Please see the above link, and let me know if I can provide you with any other info, code or access to my products, taxonomies, attributes/values to help diagnose the problem. I’m using AND to accomplish this, as I want the results to narrow with each criteria choice, could that be the problem?

Sidebar question: Do radio buttons and checkboxes actually behave differently in filtering search results?

Sure it is right here – https://prnt.sc/vRtRLsHfBQKJ

Best Regards,
- Victor

And how can you be sure which query you would want to choose there? Ideally there should only be one option, correct? I wonder why I am seeing #1 and #2?

Only by trying which one is working with the filters. There can be many queries on the page and Elementor makes two, and in general, there were cases where one page contained 60+ queries. The plugin cannot know which one is correct and choose it by itself.

Best Regards,
- Victor

I recently purchased your plugin for my website and I must say that I am really satisfied with it. However, I have come across an issue regarding the compatibility with another plugin, Extra Product Options & Add-Ons for WooCommerce (https://codecanyon.net/item/woocommerce-extra-product-options/7908619).

When I activate the Extra Product Options & Add-Ons for WooCommerce plugin, the “FILTER” functionality of your plugin does not work as expected. Whenever I select an option in the widget, the page refreshes but the list of products remains unchanged and shows everything instead of filtering based on the selected option.

As both of these plugins are essential for my website, I was wondering if there is any solution or workaround to make them compatible with each other. I would greatly appreciate any assistance or guidance you could provide to resolve this compatibility issue.

Thank you in advance for your attention to this matter. I look forward to your prompt response.

To clarify, when I select an option in the Filter Everything widget, the stated number of results (e.g. 2) is accurate. However, the list of products displayed on the page remains unchanged and shows all products, instead of filtering them based on the selected option (e.g. showing only the 2 selected products), displaying the whole list of 12 products instead.

An update on the issue I was facing with the Extra Product Options & Add-Ons for WooCommerce plugin. The support staff provided me with a solution, and I am happy to report that the issue has been resolved.

Hi elaineqiu0216,

Thank you for choosing Filter Everything PRO.

We are happy to hear that the problem was fixed.

Best Regards,
- Victor

Hi, could you tell me how to enable the availability filter

In stock On backorder Out of stock

I can see it in this demo: https://demo.filtereverything.pro/product-category/clothing/women/color-red/brand-hm/c-kind-dress/?max_price=100

Thanks in advance

Hi aaronalbinson,

Thank you for your interest in the Filter Everything plugin.

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.

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

Hello, I have just installed the PRO version on:

https://idxsdev.wpengine.com/shop/

I am not using AJAX yet. I have created a Filter Set that filters Products by Tags (Brands) and Categories (Categories).

When I select anything in the widget, the page updates but the list of products does not change, and still shows everything.

I am using the Divi Theme, and the Divi Template Builder to override the WooCommerce Shop and Category pages. I am using the widget shortcode, and the Divi “Products” module that displays lists of all products, or on a category page, the “use current page” option to display just that category.

Please let me know how I can get this to work. Thanks.

Hi idxstores,

Please be advised that refunds may be granted in accordance with the CodeCanyon Refund Policy Rules https://codecanyon.net/page/customer_refund_policy

Best Regards,
- Victor

Thank you for sending me that link. It is surprising that Code Canyon doesn’t offer any-reason refunds like all the other marketplaces.

I see this refund reason: “Item is “not as described” or the item doesn’t work the way it should.”

On your plugin description page, your description says:

“Includnig singular pages created with Page builders like Elementor, Divi builder, Themify, WPBakery, Visual Composer, Oxygen builder, Beaver builder etc”

and,

“Tested with Elementor, Divi builder, Themify builder, WP Bakery composer, Oxygen builder, Beaver builder, JetEngine and others”

So since this plugin currently does not work with Divi (their fault, but your description), we would truly appreciate the refund of the small fee. I loved this plugin and hope I can repurchase and use it on a new project, but it will not work for this one.

Hi idxstores,

The most effective approach is to submit a refund request and await its processing. It is essential to keep in mind that refunds can solely be granted by the author and not by the support team.

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