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.

8958 comments found.

I used default Twenty Nineteen theme and setup in Customizer next setting: “Category display” -> “Show subcategories”

So my parent category display subcategories only. But if apply default filters – it display filtered products.

Then I tried exactly the same filter from plugin Filter Everything – and I see only text “18 products found”, but no products. Instead I still see subcategories.

Why there are no filtered products like default filters and text only about amount of filtered products?

p.s. I know that if setup “Show subcategories & products” all works, but I need “Show subcategories” because when user applied filters I don’t want to show subcategories and only then filtered products it has no any sense, I need to show filtered products.

Hi destify-marketing,

As we mentioned previously it won’t work like that with our filter plugin. The built-in filter in WooCoomerce has its own abilities and functionality and it is working with WooCommerce itself. Our plugin works with the product_query that WooCoomerce is presenting to display the products so it won’t make products appear if they are not displayed by those settings where you choose to only show subcategories. So it will filter those things that you choose from the settings to be displayed.

Best Regards,
- Victor

Hi Victor,

in other words plugin ‘Filter everything’ has no full compatibility with default woocommerce. I beleave it must be said in plugin description. Because when default woocommerce setting (I mean customizer archive setting in this case which I described above) does not work with plugin – it means not 100% compatibility.

But in all other plugin is great, really like it :)

Hi destify-marketing,

To put it simply, Woo is a product factory and our plugin acts as a filtering machine that comes after it. The default filter is already built into the factory and has the ability to modify its behavior. If you choose in the factory settings to show only categories, our plugin will not alter the factory’s behavior to make it show products as well. However, the built-in filter can work seamlessly with the factory as it was designed by the Woo developers. We are only dealing with the finished product after it leaves the factory, we can only sort products and not make any changes to the factory itself.

Best Regards,
- Victor

Hi there,

I get a “There has been a critical error on this website.” message every time I activate the plugin – please advise?

Thank you.

Kind regards,

Hi Victor,

Thank you for the update. I have shared the FTP details via PM.

Kind regards, Juan Oliver

Hi Juan Oliver,

We have checked the site, and the issue is the PHP version 8.2.7. We would recommend downgrading to the older versions, such as 7.4, 8.0.

In the query monitor, you can see many PHP errors related to other plugins because of the PHP version. We added a quick fix inside the plugin file, but you can face other errors on the current PHP version.

Best Regards,
- Victor

Thank you for the update and clarification/fix Victor! This is highly appreciated.

I’ve downgraded the PHP version to 8.0, but can’t go any lower due to other compatibility conflicts that might occur.

Appreciate all of your assistance and updates. I hope you have a great weekend.

Kind regards, Juan Oliver

I have checked Collapse widget and show the Filters opening button – and it still has all the filters open on mobile. This goes for all filters on the website, an example page: https://audrasbridalgallery.com/jasmine-bridesmaids/

Can you help me try and figure out why it isn’t listening to that option? Thank you!

Hi erikakyoung,

The issue is in the custom styles. They weren’t created based on the original ones. Below you can see the styling that you get entering the mobile mode:
https://prnt.sc/f8MaDAaXZ4Cp

Here is what you see using default styling and entering in mobile mode:
https://prnt.sc/Q6C6CchhwS4I

That’s why you are encountering such an issue. To fix it, you need to rewrite your custom CSS and do it correctly.

Best Regards.
- Victor

So, just to clarify, I need to remove the custom CSS regarding the font-size?

Hi erikakyoung,

No, the issue is that you entirely changed styles with the media query as well, and instead of display none (when you enter in the mobile mode), it contains font size only. You made many changes. You can remove all your custom styling or at least experiment with them on the dev site to understand how better change it for your need without causing any issues. If you want to change the fonts only, you can do it from the experimental tab in the settings with custom CSS.

Best Regards,
- Victor

I am struggling to use the plugin. Do you have some documentation on how to use it please? thanks

Hi ctrlinternet,

Sure, you can check here the quick start guide on how to start working with the plugin and moving forward to more advanced features – https://filtereverything.pro/resources/quickstart/

Best Regards.
- Victor

Is this plugin is compatible with ‘Premmerce Permalink Manager for WooCommerce’ (this plugin is modifying category and product URL)?

Hi phrolovivan,

Thank you for your interest in the Filter Everything plugin.

We haven’t tested it yet, but you can give it a try using the free version of our plugin and see if it works properly.

Best Regards.
- Victor

It’s not possible to test in free version because filter URL could be changed by plugin in paid version only.

And the main question is: if this URL customization from your plugin and URL customization from ‘Premmerce Permalink Manager for WooCommerce’ are compatible.

Hi phrolovivan,

We add it to the testing list and try to test for its workability. It can take some time until we provide an answer about workability with it. But when we test it, we will leave a response here in this comment thread.

Best Regards.
- Victor

Hello,

You definitely should add automatic filter 301 redirection to the slash ending url

For example: https://www.example.com/category-shirts/red to https://www.example.com/category-shirts/red/

It would avoid content duplication with search engines. It’s bad for seo. And not all webservers easily support redirections. For example for nginx you have to write complex rewrite rules that sometimes brake /wp-admin/ and other parts of the site.

I know that your plugin isn’t deleting trailing slashes. And adds them when they are enabled. But sometimes search engines or user could check or try filter urls without trailing slashes and that would show them duplicate content.

Thanks!

Victor, you’re right Wordpress definitely handles non-slash to slash redirects for post and taxonomies. For example on your demo site. If user or some search bot accidentally loads Woocommerce category page without slash it would redirect user to page with trailing slash.

https://demo.filtereverything.pro/product-category/electronics

redirects to…

https://demo.filtereverything.pro/product-category/electronics/

Because it’s category and Wordpress handles this redirects properly. That’s absolutely right.

But if URL ends with filter and somebody types URL without trailing slash there would not be any redirect. And that’s is very wrong. Example from your demo site.

https://demo.filtereverything.pro/product-category/electronics/color-blue

not redirects to

https://demo.filtereverything.pro/product-category/electronics/color-blue/

In that case Wordpress doesn’t handle this redirection. Your plugin have to. It’s a very big problem at search engines perspective. Because now we have content duplication and two similar pages.

I really like your plugin. It’s incredible peace of work and widely appreciated it aim for SEO and Search engines optimization. But you left untouched a major drawback – content duplication. Which is not good practice at all for any search bot or user.

Hi 1jayfry,

Apologies, yes, you are correct. Sorry for the confusion. In general, for such cases, we recommend writing those rules on the servers.

But in future updates, we will try to fix it and implement such functionality to the plugin. We will let you know in this comment thread when we will add it.

Best Regards.
- Victor

Hi Victor!

Thanks for reply. Looking forward to for this feature!

Hello! I have a problem / request for the SEO rules. They do not seem to work. On the SEO rules I have setup {tip} {brand} {forma} for both SEO title and Meta description and H1 title and they just do not work. I also use Yoast SEO in the website so it shouldn’t clash with it. Please tell me how I can customize SEO for these filters OR give me a function where I can overwrite these SEO fields for a specific URL so I can do it programatically. Thank you!

Hi speedy200man,

Thank you for choosing Filter Everything PRO.

Make sure that you enable indexing in the WP Admin Dashboard settings. Second of all, check the page template that you are using. Displaying SEO entities depends on the hooks your active theme uses. Some entities may not be displayed if it doesn’t use standard WordPress theme hooks. We can only provide you with a list of hooks that are used for certain SEO entities:

// For SEO title
add_filter( 'wp_title', array( $this, 'wpTitle' ), 15 ); 
// For the Meta description
add_action( 'wp_head', array( $this, 'filtersWpHead' ), 1 );
// For H1 title one of these hooks
add_filter( 'woocommerce_page_title', array( $this, 'seoH1'), -5 );
add_filter( 'get_the_archive_title', array( $this, 'seoH1'), -5 );
add_filter( 'post_type_archive_title', [$this, 'seoH1'], -5 );
add_filter( 'elementor/utils/get_the_archive_title', [$this, 'seoH1'], -5 );

And about the SEO description text on the page, you can read it here – https://filtereverything.pro/resources/seo-rules-troubleshooting/

Best Regards.
- Victor

Is there a way to use the wordpress default category urls? I mean currently with this plugin I have the following url: https://domain.tld/category-sneakers, but I’d like to use the following url instead that is provided by WP https://domain.tld/category/sneakers .

Kind regards

Hi toybelle_com,

Unfortunately, it is impossible, as it will lead to conflicts and workability issues. The URL should be unique and not repeat with WP or WooCommerce slugs.

Best Regards.
- Victor

Hi does your pluggin is compatible with Bakery Pagebuider ? I have wordpress,

thanks Joaquín

Hi Joaquín,

Thank you for your interest in the Filter Everything plugin.

Yes, it is compatible with WPBakery.

Best Regards.
- Victor

Hello. We have noticed that our filter by https://bootcenter.com/filter/ is displayed in the desktop version but not in the mobile version. Why? Thank you.

Hi bootcenterkonstanz,

We just enabled compatibility mode from the filters->settings, and it seems like everything is working well.

Best Regards,
- Victor

Thank you! One more question: why in the desktop version the filter appears so that you have to scroll down to see all the options? Can we make it completely without scrolling down? Best regards.

Hi bootcenterkonstanz,

That’s a good question, but those are your own CSS styling. Our filter does not have any scroll box styling out of the box. Perhaps, you need to change it in the way that you need.

Best Regards,
- Victor

Awesome plugin! We would love to edit the chips: Can you tell us how to add the top point to the chip which is shown? We use a custom taxonomy, which is hierachical. That is why the displayed values sometimes do not differ from each other. However they belong to different top points. Instead of just displaying a chip with the value “0.25” we want the chip to display “Accuracy: 0.25”. Accuracy in this case is the top point in the hierachical taxonomy.

Hi neovisionaachen,

Thank you for choosing Filter Everything PRO.

Well, you can modify the chips term name with the hook ’wpc_chips_term_name’

$chips_term_name = apply_filters( 'wpc_chips_term_name', $term->name, $term, $filter );
This expects that you are familiar with WordPress hooks – https://developer.wordpress.org/plugins/hooks/

Best Regards,
- Victor

Hey there! Unfortunately it does not work the way we expected. Can you take a look at it? https://pastebin.com/ejvsgcEn

Hi neovisionaachen,

We can provide a simple example of how it works:

function modify_chips_term_name($term_name, $term, $filter) {
    $modified_term_name = 'Modified ' . $term_name;

    return $modified_term_name;
}

add_filter('wpc_chips_term_name', 'modify_chips_term_name', 10, 3);

The rest is on you since providing custom codes that extend the plugin functionality is out of the scope of support policy here on CodeCanyon.

Best Regards,
- Victor

Hello, I have a filter where I have 5 filterable attributes. Last attribute has 2 values only and I need it to show custom H1 and be indexable if both values are selected. Basically the attribute is “Awards”, there are 2 of them and if both are selected I need to set H1 “Awarded products” while selecting only one of those would show “Products awarded with TERM”. Is it possible to force this with a filter?

Hi morvy,

You cannot select both values in the same attribute and apply the SEO Rule to them because it can confuse the crawlers and make it difficult for them to determine the page’s content and purpose.

You can use separate Attributes for that and create an SEO Rule when they are checked.

Best Regards,
- Victor

Hello Victor, I think we will have to agree to disagree :) I see many scenarios where one attribute can have more values selected and still be relevant. I understand placeholder for that specific attribute’s value won’t work, but it still could be useful. Like when you have “shoes” with attribute “Purpose” with values “Indoor, Outdoor, Running” and people want to filter Indoor Running shoes .. I know, not the best example as these should be 2 separate attributes, but in small shops many attributes are combined to make the navigation easier. For now I’ll replace the filter with single value so it’s indexable, but it’s not what I wanted to display to customers..

Yes, it is a discussable topic, and we may add this functionality in future updates. But currently, it is working only with one term from each attribute. The only way to make it is to use different attributes or create predefined attributes such as “outdoor/running” and “indoor/outdoor/running”. So you can use only one term and make it is a radiobutton or dropdown, so you can choose only one option.

Best Regards.
- Victor

Thank you for this excellent plugin. I have a question about the mobile widget translation. How can I translate the “Filters” and “Filtered” texts to Finnish? I am referring to the mobile dropdown widget.

I have used the plugin here https://oniaproduction.com/kuvat/.

Thank you very much.

Hi Make81,

Thank you for choosing Filter Everything PRO.

You can do it with the – Templates Overriding, more about it you can read here – https://filtereverything.pro/resources/templates-overriding/

For your case, you need to make changes in the filters-button.php file.

Best Regards.
- Victor

Thank you very much Victor. This worked perfectly.

Hi Make81,

I’m glad that your problem was solved :-)

If it is possible we 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

Dear,

I have been trying to fill in the license code API for the plugin in Wordpress for several days now. However, every time I get an ‘unknown error’. It seems that the license hasn’t been correctly set.

We have been using the plugin for the trial period. Everything is set, but to continue we must have a correct license.

Thank you in advance!

Best regards, Floor

Hi Floor,

The license has been activated, and everything is working well.

Best Regards,
- Victor

Hi Victor, Thank you! Can you confirm which license is working now? The one I have emailed you?

Yes, the one that you have emiled us.

Best Regards,
- Victor

Hello, I’m having trouble getting the filters to display on my woocommerce Shop page after page 2. It appears and works fine on the first /shop/ page but is not working when I go to page 2 onwards.

I am not using AJAX filters, and this is also the default woocommerce pagination for shop. You can have a look here.

https://staging.lux-r.com.sg/shop/ https://staging.lux-r.com.sg/shop/page/2/

Filters are set to: Where to Filter: Common WordPress pages > All archive pages for this Post Type What to Filter: Product query. Main query. HTML ID: .main-content

We have checked the site, and the issue is in how you add the shortcode to the shop page. We checked the workability with the archive-product.php file by placing the shortcode directly into the template for testing purposes and everything is working fine. So you can use the widget section to place the filter widget on the page or you can add this code in the archive-product.php template:

<?php 
echo do_shortcode('[fe_widget horizontal="yes"]');
echo do_shortcode('[fe_chips]');
?>

To make it the right way, copy the original template file archive-product.php file that is laying in the WooCommerce plugin directory (wp-content/plugins/woocommerce/templates/). Copy this file and paste it into your child theme’s woocommerce/templates directory. And add the code right after the header where the arrow is pointing – https://prnt.sc/QrOFDlSaaPLi

Do not make changes in the direct plugin file.

Best Regards.
- Victor

Thank you so much Victor, everything’s working as intended. Thank you for your solutions!

Hi wonderjellybean,

Great news. I’m glad that the issue 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 there. I have the Experimental feature activated for “Used improved dropdowns..”. It looks great and is a lot better functionality wise as well. I have an issue though that there is a gap in the border on the bottom right. I have tried playing around with CSS, but I can’t seem to isolate what it is: https://staging.gibsoncounselling.ca/our-therapists/ . I see it in both Firefox and Chrome.

PS if this is styling related to the theme, can I over-ride with a CSS snippet? As far as anything added by me, it’s all removed. I am having issues finding that class in your screenshot using inspector (I am ok with CSS, but no expert). Thanks.

Hi torndownunit,

We have checked the site. Check the Filters -> Settings -> Experimental and Custom CSS area.

Best Regards.
- Victor

Thanks again for the great support.

Hello,

Thanks for the great plugin, I’m wondering that is there any filter or action that we can use to change the meta field query before showing the filters?

the goal of this is that our website has two currencies and I want to change the meta value on a pricing filter based on customer’s currency choice. so let’s assume that we are going to show the pricing filter based on “price_CAD” custom meta field for customer’s using CAD as currency and I want to change the meta field to “price_USD” for customers using USD as currency dynamically.

if there is an action or filter that we can change the meta field programmatically it would be really awesome. thanks

Hi RelianceFoundry,

Currently, the plugin is compatible with two popular and free Multi-currency plugins WOOCS and CURCY. But you can go to the code and find the realizations for those plugins as examples which will help you to make custom ones. You can find it in the “wpc-third-party.php” file around the 465 line.

Best Regards.
- Victor

thanks for the reply, is there any way to programmatically hide one of filters? as an example I’m going to filter based on a “custom meta key” and I want to hide/do not show the filter based on a condition.

Hi RelianceFoundry,

You can make a filter that goes step-by-step by using the parent filter option. There is a demo that shows you how it works – https://demo.filtereverything.pro/step-by-step-filtering/. You can hide other filters until you choose something from the first one.

But creating conditions when specific terms were chosen would need only custom coding and a deep understanding of the plugin itself to apply such functionality and not cause any issues to the plugin’s workability.

Best Regards.
- Victor

Hello Stepasyuk. I have already searched the comments looking for a solution to my problem and unfortunately I did not find a suitable answer. I have the following problem: I have built a filter by tags (condition, price, brand, length), please see this page: https://bootcenter.com/filter/ The filter shows all boats that contain these tags. However, it also shows boats that do NOT contain any tags. I would have expected only the boats that contain tags to appear in the filter. How can I exclude the boats without tags (for example “Bayliner VR4 Bowrider OB”)? Thanks a lot for your help.

Hi bootcenterkonstanz,

Thank you for choosing Filter Everything PRO.

Just to clarify the problem “is solver” or “isn’t solved”?

Best Regards.
- Victor

The problem is solved. It had nothing to do with your plugin, but with the settings of another plugin. Thank you.

Thank you for the clarification, glad to hear that everything is working.

Best Regards.
- Victor

Hi! I have a problem with combined options for my products. Im using ACF and one of the custom fields should have the ability to have multiple options checked at the same time since the products can have multiple variations.

In ACF I have the “Select Multiple” options checked but when using the filter on the front end, the products which have multiple options for the same Custom Field checked simply don’t show up.. here is the test URL. Thanks in advance!

https://www.rextil.se/testarkiv/

Hi maltebjorkman,

Thank you for choosing Filter Everything PRO.

Please, send us credentials to your /wp-admin following this document so we can check it.

Best Regards.
- Victor

I have now sent the credentials.

We have checked the site, and it seems that you were modifying the ACF field “struktur” meta key or some other manipulations; you need to go to the database and check by that meta key what values it is storing. Or delete it and create a new one to test. Because if you are modifying the name of the meta key, it is not changing in the database, and such issues are appearing.

Best Regards,
- Victor

Hi there, great plugin! Would like to ask your assistance regarding the plugin as it seems it doesn’t work for me.

URL of website: https://fabwebdesigns.ph/atalys/

Loom Recording: https://www.loom.com/share/fe3fdb06c6734a21a2c4bf1aae938886?sid=cbfb29e8-f6da-42be-952c-dabdb200bc60

Hi fabDesignsPH,

Thank you for choosing Filter Everything PRO.

We have a couple of questions, do you have something to filter there? Or is it just an empty space? You need to place the filter on the page with the elements you need to filter, and in “What to filter” you need to select the correct WP_Query that displays those elements.

If you are using “Apply Button” mode after choosing the needed filter terms you need to hit Apply button to filter the elements. The filter itself is not showing the items, it is just filtering them.

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