Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,678 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8962 comments found.

Hi Stepasyuk,

My client has multiple webshops. Can i use 1 license for 2 or 3 sites or do I need to buy a license for every website?

Hi keeslina,

By default, you can activate the license on the two sites. Usually, it’s the dev and production sites, but you can activate it on both prod sites. You need to deactivate it on the unneeded site. You need to buy a new license if you want to activate it on more than two sites.

Best Regards.
- Victor

Hi, Is it possible to add a filter by sale percentages discount so you can filter by range slider or checkboxes for: Up to 20% discount | Up to 30% discount | Up to 40% discount | Up to 50% discount

Thank you!

Hi moshepc,

In WooCommerce, the meta key for the sale percentage discount is not predefined by default. They can vary depending on the configuration and customization of the store.

You can create a custom numeric field, apply it to the products with the needed discount number, and make a range slider/checkbox filter by its meta key.

Best Regards.
- Victor

Thank you for the information …. Is it possible to add a filter of the discount percentage like in the sale label 20% / 30% Without the need to go each product and set a ACF of up to 20% discount so it will automatically show it … I have more then 600 products so i’m trying to find an automatic way to filter by sale discount

Unfortunately, it is impossible. The sale labels you see, like 20% / 30%, are automatically calculated when displayed, and it is impossible to filter by them as they are not stored anywhere.

Best Regards.
- Victor

Hi, Got a console error:

Mixed Content: The page at ‘https://********categorie-filter-type/' was loaded over HTTPS, but requested an insecure stylesheet ‘http://*****wp-content/uploads/cache/filter-everything/2816eef8183e3e5e021860162b149231.css?ver=6.2.2'. This request has been blocked; the content must be served over HTTPS.

Hi Jurgen_Braem,

Thank you for choosing Filter Everything PRO.

This error is not related to the plugin.

The mixed content issue you’re experiencing is related to site migration. When you migrate a WordPress site from one domain or server to another, it’s important to update all URLs throughout your website to reflect the new domain or server.

If you have recently migrated your WordPress site from HTTP to HTTPS (secure connection), but some resources are still being loaded over HTTP, it can result in a mixed content error.

Best Regards.
- Victor

Hi Stepasyuk,

Just wondering when you’ll be finished the XML site maps feature?

Thanks, best regards, Yon

Hi Yon,

We are currently working on implementing this feature, but unforeseen delays outside our control have slowed down the work. However, it will be released at the closest time.

Best Regards.
- Victor

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.

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