Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,676 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8961 comments found.

I can’t find information about duplicate filter is this future is avilable or it’s comming?

Hi tdutkowski,

Thank you for your interest in the Filter Everything plugin.

We have exciting plans to incorporate this feature in the near future. However, we are unable to provide a specific release date at this time.

Best Regards,
- Victor

Ok, and is it possible to make a copy of the filter somehow through phpmyadmin? Or is it more complicated than that? I ask because I have a lot of filters to create and they differ from each other only in the place of occurrence and possibly some one parameter.

Hi tdutkowski,

The process of making a duplicate is rather complicated, and even if there are plugins available to make it, we cannot guarantee the absence of workability issues and errors. As such, we are unable to provide a definitive answer regarding its feasibility.

If you have strong development skills, completing the task may be possible. However, it is crucial to consider potential complexities that may go unnoticed.

Best Regards,
- Victor

Hi,

I use the PRO version and I tried with “Custom Field Numeric” but I can’t find any “meta key” or “numeric taxonomy” to fill the “Meta Key” field to build a price range slider. I have a real estate listings website where the price of each listing, in listing attributes, is written as Number and set to be displayed in the filter form as Number Range . I can’t set up the price filter with “Filter Everything — Product Filter & WordPress Filter”. Is something missing, something is not set correctly? What could I do to solve this problem? Can you give me some directions?

Thank you,

Hi alex14012005,

You can use links for the screenshot or you can PM us and we will send a respond so you can send it via email.

Best Regards,
- Victor

Yeah, it is more understandable now, could you provide credentials to the wp-admin dashboard following this document so we can check it, if it is possible or not?

Best Regards,
- Victor

New functionality?

I have a page with a map with CPT “X” and below I have a list of post of CPT “X”. When I put the filter, I have to choose between one of the two queries, the map query or the list query.

In the future, could both queries be chosen? So in this way, in the same filter of the same CPT it would serve to filter the CPT “X” of the map and the list of CPT posts at the same time…

Hi bcnmoda,

Yeah, in the future we might add anything like that. If you have the same filter sets you can place them both on the same page and choose different queries it might do the trick for you. But it wasn’t tested like that. The key here is to have the same filters in both filter sets.

Best Regards,
- Victor

wooow, it works!!! I have created the two equal filters, only one with query 1 and the other with query 2. I have put the two shortcodes on the page, one hidden, and with the other filter it filters both queries at the same time!!!

Hi, I just purchased the pro plugin but when trying to activate I get “Unknown error.” Best Marie

The license was activated. Also, we implemented a quick CSS fix for the mobile mode in order to display everything correctly. It looks like some conflict with theme styles or any custom CSS. You can check the fix in the Filters -> Settings -> Experimental -> Custom CSS.

Best Regards,
- Victor

Thanks a lot, great support!

Hi Marie,

I’m glad that your problem was solved.

If it is possible I would be thankful for a positive review about the plugin here on CodeCanyon – https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508

Thank you in advance!
Best Regards,
- Victor

Hi,

I just bought your plugin and it looks awesome but I have not gotten it to work just yet. Here is a link to see what happening: https://ontwikkelink.nl/hoc/shop/

Basically, the filter works in the sidebar but does not show the result in the product list.

Also, I do not get it to show up on mobile, did I forget something?

Hope you can help me :)

Hi qoqmedia,

Thank you for choosing Filter Everything PRO.

Please try to choose another query in the “And what to filter?” dropdown in the filter set settings.

Are you using a shortcode to display the filters widget? If yes you can use the [fe_open_button] to display the filter widget button. But in general, the filter button is there – https://prnt.sc/m-UPEQnB_8k6 it is just hidden.

Best Regards,
- Victor

I need to Disabled Ajax only on destop. Can you please help me on that.

Hi if (is_search() ){ add_filter( 'wpc_get_option', 'wpc_enable_ajax', 10, 2 ); } function wpc_enable_ajax( $option, $key ){ if( $key === 'enable_ajax' ){ return ''; } return $option; } I have try to disable the Ajax in desktop and I used this code in Function.php But it’s not disable the Ajax. Can you please check and do the needfull. https://emerituslearning.com/?post_type=program&s=data

Hi can you help me on above propblem

Hi logakarthikeyan,

Although this falls outside the support policy’s boundaries, We write the code for you:

function custom_wpc_get_option($value, $key) {
    if (is_page(233) && !wp_is_mobile()) {
        if ($key === 'enable_ajax') {
            echo "DESKTOPPPPPPPPPPPPPPPP";
            return '';
        } 
    }

    return $value;
}
add_filter('wpc_get_option', 'custom_wpc_get_option', 10, 2);

Best Regards,
- Victor

Hi I have just purchased the pro version. However I’m expereincing setup issues.

I would like the filters to be on all of the category pages which I’ve setup.

1. The issue is that the button doesn’t work. When the filter button is pressed nothing happens.

2. The second issue is that all the filters are showing without having to press the filter button, I would like these filters to only display when the filter button is pressed.

Thank you.

Hi ovacreative1,

Thank you for choosing Filter Everything PRO.

Please fix this error first – https://prnt.sc/B_o8N0AWQ7q0

Mixed Content: The page at ‘https://v3builtytemplate.co.uk/product-category/perfume/' was loaded over HTTPS, but requested an insecure stylesheet ‘http://v3builtytemplate.co.uk/wp-content/uploads/cache/filter-everything/08ea94d06b25afc8eb9ddde6e5977258.css?ver=6.3.1'. This request has been blocked; the content must be served over HTTPS.

You can turn on “Apply Button” mode from filter set setting here – https://prnt.sc/8wSBWrKxgs_K

Best Regards,
- Victor

I have seen reading comments the different options for common WordPress pages (where to filter): https://prnt.sc/lYsMuzjz75YN

But, does it also support CPT? Because when I choose the CPT only the search results page appears, nothing more…

I have reviewed the documentation: https://filtereverything.pro/resources/filter-set/

Where to filter? You define a page or list of pages, where this Filter Set will be applied.

But it’s not clear to me if I can also filter CPT on the home page… (I created the CPT with ACF)

That’s it, I saw the answer in another comment. I had to specify a static page instead of the blog post.

1) You created a “Filter Set” and want to place it on the home page with “Apply Button” mode. (Quick note by ”Home” page you mean the page that you specified in the WordPress admin dashboard settings?) If yes, then in “Where to filter” you need to choose “Common WordPress pages” -> “Homepage”. If it’s just a page with the name ”Home” you need to choose “Pages” -> ”Home”.

Hi bcnmoda,

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

Hi,

We are noticing some duplication of the main category description appearing on new filtered pages.

For example, we have a main category, with a description of the category page (appears at the top under the title) at /category/furniture

When the SEO filter is applied it creates a unique page, and meta data which is great. However, it duplicates the main category description. An example of the filter being applied to furniture being: /category/furniture/color-black – both this page and the main category page have the same description at the top. Only the main category page should have this to avoid duplication.

Is there a way to stop or remove the duplicate main category text/description showing on new filter pages?

Thank you

Hi paulsf,

Plugin speed – is fully dependent on your server. If you are facing any performance issues it is crucial to understand that the filtering speed depends on the next parameters:
- server CPU
- server RAM
- number of posts to filter
- number of filters and terms
- number and quality of plugins you use
- cache adjustments on a server
- plugin’s code optimizations, internal cache (this was already done for the Filter Everything)

To enhance the filtering process, you can optimize any of the parameters provided in the list above. Utilizing OPCache and optimizing the database are some of the ways to achieve this.

Best Regards,
- Victor

Hi paulsf,

Update to the previous answer.

We would like to ask you to demonstrate the page speed with the plugin enabled. You can send a link to the test page of your site. Of course, you can do it privately if you don’t want to share it publicly.

The test results could tell what specific problem is present – whether styles, JS, or images, or maybe the response speed of the web server, but it also depends very much on the server and its settings, not the plugin.

Best Regards,
- Victor

Hi Victor,

Accidently posted this as a comment, as opposed to a reply.

The code moved the SEO description to above the products, however the original WooCommerce archive descriptions are still there too. The SEO descriptions now sit underneath the filter chips.

Is there a way to amend the code so that the new description simply replaces the original description on filtered categories?

The code supplied:

add_action(‘wp_head’, ‘wpc_add_filters_seo_description’); function wpc_add_filters_seo_description(){ if( class_exists( ‘FilterEverything\Filter\Container’ ) ){ $seoFrontEnd = FilterEverything\Filter\Container::instance()->getSeoFrontendService(); $your_new_hook = ‘woocommerce_archive_description’; }

remove_action(‘woocommerce_after_shop_loop’, [ $seoFrontEnd, ‘showSeoDescription’ ], 5); add_action( $your_new_hook, [ $seoFrontEnd, ‘showSeoDescription’ ] ); }

Hello,

I’m trying to set a filter for price but have tried the suggested meta keys and they don’t work. The prices are set in Variations and are listed under Regular Price – do you know if there is a different meta key for that?

Thanks.

Thank you for the credentials, but the provided credentials don’t allow us to use the admin dashboard. It is just some type of user credentials. Can you send the ones that will allow us to use the admin dashboard? So we can actually test the filter set setting and so on.

Best Regards,
- Victor

Hi, I’ve changed the user to Administrator now.

Hi TheWebWizz,

For the purpose of testing, we have created “variable products” and included them in the “group product”, as can be seen here – https://prnt.sc/jEVoAo9V1aFb

The group product’s price is determined by the minimum price of the “variable products”. But the price slider filtering mechanism appears to be functioning properly and displaying accurate information for this “group product price”. However, it appears that in your case, this feature is not functioning correctly. This may be due to the presence of additional plugins or other factors that are causing discrepancies in the values stored in the database for these products.

Unfortunately, we didn’t identify the exact cause of this issue on your site, as it would take turning off all of the plugins, checking the database fully, and so on. Nonetheless, we can confirm that our plugin works seamlessly with a clean installation of WP with Woo and our plugin, as shown here – https://prnt.sc/w8nxpVomX_GW

Furthermore, it should be noted that if the price range slider is set to more than 60, the group product will not be displayed, as indicated here – https://prnt.sc/WmbQsv0xwkvf So in your case this may be some type of a conflict with other plugins or custom code or messed up products data in the database (which is very common while doing site migrations or other manipulations).

In general, we would advise using “variable products” instead of “grouped products” in order to accurately filter products by price. Unlike “grouped products”, “variable products” display the full range of prices, allowing for more precise filtering.

Best Regards,
- Victor

Hello, I have an issue with random numbers on the filter that aren’t proper filter names. I can share some screenshots if that helps.

You should install it without deleting the free version. But if you deleted the free version then it deleted all of the filters.

Not sure if it will fix it, but more likely we would need to check it by ourselves to understand the problem But first create a filter set with the PRO version and test it.

Best Regards,
- Victor

I have kept the free version and install the pro version and now it’s removed the filter from certain pages. Also still have the number issue.

Hi littlebigbox,

Here is what can we do, please write a list of issues you are facing, and provide the credentials to the wp-admin dashboard following this document so we can check it all and fix.

Best Regards,
- Victor

Hi,

Is this the plugin that adds the following code in the .htaccess ?

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{2,5})$ RewriteCond %{REQUEST_URI} !(.)/$ RewriteRule (.[/])$ /$1/ [L,R=301]

It blocks page from being updated in the admin area. If i remove the code out of the .htaccess, it works. I tested with vanilla wordpress installation and storefront theme.

No error appears, just the page or post does not update.

Thanks

Hi DailyLost,

No, our plugin doesn’t add anything to the .htaccess file at all. More likely this is doing some other plugin or custom code or anything else. So you need to check on your end which plugin exactly doing it and try to fix it so it won’t cause workability issues.

Best Regards,
- Victor

In Mobile view Filter apply, cancel not working properly. For first time when We click on any Filter its asking to appy. When We apply only the Programs are dispalyed. But second time when we click on anyu check box its appling directly with out clicking the Apply Programs are appearing. Can you please help me on It. URL: https://emerituslearning.com/?s&post_type=program Check in mobile View

1. Click on FIlters 2. Select on Any Topics -> Click on Cancel (result(No topics will Appear)) 3. Select on Any topics -> Click on Apply (Result(Seleted Topics will Appear)) 4. Select on Any Topics Again – It automatically Bring the Program With outAppying the Apply Button.

Check and please Provide me the solution

Hi logakarthikeyan,

We have checked the page and followed your instructions, but everything is working well as long we don’t hit apply nothing is applying from filter terms. Not sure what is the issue you are experiencing. Maybe you did use AJAX and update the whole page which can cause such issues.

Best Regards,
- Victor

After clicking the Appy button program apperaing that the wat First time its working. But At the second time when click on the Check box. Its bringing the Program automatically. Without clicking the Apply Button.

We have clicked apply as you can check here – https://prnt.sc/mvYRQ0Ad5dOe

Now we will choose some other term but click cancel – https://prnt.sc/vQbECi8Xemwn As you see, nothing has changed, now we click apply – https://prnt.sc/PGuArmUATBe0

So a bit confusing. What’s going on? Maybe we just didn’t understand the issue you are facing. Can you please provide more details on it?

Best Regards,
- Victor

Hi how to Appy the Ajax only for the Mobile.

Hi logakarthikeyan,

If the “Apply Button” mode is enabled, it will work as AJAX on mobile devices. But it will also be in the Apply Button on the desktop.

Also, you can change it with a hook so that there is AJAX on mobile devices, but not on the desktop. The option is called ‘enable_ajax’ and there is a hook ‘wpc_get_option’ that passes through all the options there you can set the desired value depending on the device for the ‘enable_ajax’ option.

Here is an example of how you can work with the hook:

// For example you need to enable it on the page with ID 123
if( is_page( 123 ) ){
        add_filter( 'wpc_get_option', 'wpc_enable_ajax', 10, 2 );
    }
function wpc_enable_ajax( $option, $key ){
    if( $key === 'enable_ajax' ){
        return 'on';
    }
    return $option;
}

You need to write your own custom code to turn it on only in mobile mode and turn it off in desktop mode. If you don’t have enough skills in PHP and WP, we can recommend hiring a developer to do it for you, using such platforms as Upwork.

Best Regards,
- Victor

Hi, I would like to display the number of results like “xx documents available”, how can I do this? Regards,

Hi matdeweb,

Thank you for choosing Filter Everything PRO.

Sure you can turn on this option – https://prnt.sc/nAjbPB3TgSOE in the widget area and here is what you will see – https://prnt.sc/K99mCqWdLAm4

Also, please check the template override documentation – https://filtereverything.pro/resources/templates-overriding/

This description consists of several parts. The word ‘found’ is in the posts-found.php file. The name of the post type is taken from the post type object that was created when it was registered. If you have enough PHP skills you can rewrite it to your needs.

Best Regards,
- Victor

Hello, is it possible to use different Filters on different product-category sites?

Hi ProdbyDaan,

Thank you for your interest in the Filter Everything plugin.

Yes in the PRO version, you can create many filter sets and place then on the needed category page, so each page will have a unique filter set.

Best Regards,
- Victor

Hey, have a problem with filtering. Please check PM, credentilas sent.

That’s strange. It should work, because it is basic woocommerce template replacement.

If I add woocommerce/product-cat.php would it work? I’m not sure, but I’ll check and let you know

It doest not help. Still doesn’t work after creating files for product cat and content-archive.

I’ve checked logs, here is an error: `PHP Warning: Undefined array key “Product query” in /public_html/wp-content/plugins/filter-everything-pro/pro/PluginPro.php on line 1850`

Maybe this is a problem? I’m using the PHP 8.2

Hi Tuskotrush,

Well, it’s not recommended to use the latest versions of PHP, in order to prevent workability issues. But we created a test on our end and here are the filter set settings – https://prnt.sc/vd4kPnjPChnt with “Any Categorie” and here are some category pages: 1) https://prnt.sc/Hcqr8TKIqMyi 2) https://prnt.sc/w0pU7mUtKUnn 3) https://prnt.sc/LK0yQQZLxClK

As you see, everything is working well on each page without any issues. But on your site, it is working differently, you can drop down to the 8.0 PHP version to see if it helps, but more likely this is the cause of the theme and how it was created. Did you migrate the site from one place to another?

Best Regards,
- Victor

Hi, I tried do move my site from hoster A to B using https://wordpress.org/plugins/migrate-guru/

I tested 2 times and when I tried it on production I received

[error] 3024#3024: *484 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “Product query” in /home/wp/disk/wordpress/wp-content/plugins/filter-everything-pro/pro/PluginPro.php on line 1850”

In the backend on the Filter Sets page this message appeared: “This filter is inactive because it is not related to the selected post type.”

on the settings page, the url prefixes and index filters were empty

so something went wrong with products – any idea how to fix this? thank you

Hi robertklausner,

It can be quite challenging to transfer websites from one hosting platform to another. It’s important to note that any issues or errors that arise during this process are not directly related to the plugin. Rather, they may stem from the migration process itself and the settings in the database. And you are starting to see some type of errors and so on. Unfortunately, we cannot offer much assistance in this regard, as it would require a careful examination of the site to identify any migration-related issues. But this is far beyond the support policy here on CodeCanyon.

If migrating the site provides some errors, we kindly suggest that you consider configuring the filter on the new hosting instead. This will ensure that everything is properly set up and functioning as intended.

Best Regards,
- Victor

Hello, I have changed the options of an ACF and they are not reflected in the filter, the old options are still seen. Then I tried deleting the ACF and loading all the options again from the selection field, and now the filtering of these ACFs does not appear directly. What can you’re going through?

Hi Montecor23,

When you change the name (meta key) or ACF values, the old ones are not deleted from the database and ACF does not change the meta key in the database. You can manually delete everything/change it in the database or use a plugin for it. Alternatively, you can create a brand new custom field and avoid applying any changes to prevent affecting normal workability. That’s just how ACF works with the database.

Best Regards,
- Victor

Hi, I have problems with activating my license key. I have followed your instructions and pm’ed the credentials!

Hi tnhtnn,

Thank you for choosing Filter Everything PRO.

Thank you for following the instructions, please send the license key as well via PM.

Best Regards,
- Victor

Hi tnhtnn,

The license was activated and everything is working well.

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