Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,726 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8980 comments found.

Hi there, strangely I updated the plugin and it broke the website. When I turn it on it breaks the whole website. I’m seeing this: https://snipboard.io/8clLmD.jpg

And the Error log says: “[30-Nov-2023 13:22:50 UTC] PHP Warning: Undefined variable $query in …/public_html/wp-content/plugins/filter-everything-pro/src/WpManager.php on line 734 [30-Nov-2023 13:22:50 UTC] PHP Warning: Undefined variable $matches in …/public_html/wp-content/plugins/filter-everything-pro/src/WpManager.php on line 737 “

Is there a possibility to have a previous version of it or does someone have any tips on how to solve it?

Everything is up to date; I use Oxygen.

With all the best, Grete

Hi, yes as soon as I turn it off, there are no problems.

As I turn it on it says “Warning: Undefined variable $query in /filter-everything-pro/src/WpManager.php on line 734

Warning: Undefined variable $matches in /filter-everything-pro/src/WpManager.php on line 737”

I’d like to try with the previous version or the one before serious changes.. Right now it’s 1.3.0

Thank you so much

Hi GreteMK

Did you try it with the latest version of the plugin (1.7.15) which you can download from this site? 1.3.0 was released back in 2021.

Best Regards,
- Victor

Hi Victor, It was something that simple. I really was convinced I had the latest version installed. It’s resolved, thank you :)

Hello, first of all thanks for this awesome plugin. I am having problem with the translation using WPML. The website is www.iiita.it and if you go for example to the shop page www.iiita.it/shop and then click the english flag, you’ll notice the filters only change the word select/seleziona but even if I translated everything else, it’s always in italian. Could you please help me fix this issue? If you need I can create an admin account so you can check the backend and wpml settings. Is there a proper guide that explain how to do so? I found a short page in your plugin website but didn’t help.

I’m also having another issue. When The meta value is just a checkbox, the filter appears YES or NO. is there a way to translate those? I didn’t find them anywhere. I just need “yes” to be “SI”. Thank you very much for your attention, hope you can help me as soon as possible because we are about to launch the website. Simone

Hi monchibord

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

Best Regards,
- Victor

Hello Victor, I followed the instructions and sent the credentials. Thank you for your time

Where are your translations of ACF fields? We only could find that in both filters it is using the same custom field “durata_tour” which was created only for one language and there are no translations for other languages. You need to create them then everything will work.

Best Regards,
- Victor

Hello,

I would like to change the text ”- Select %s -” with “Sélectionner le %s” for dropdown fields.

I found this solution that you share (https://wordpress.org/support/topic/removing-the-select-text/) by translating the initial .po file but nothing changes on my site.

I tried to modify the dropdown.php file directly by creating a folder in my child theme, but it was impossible to find the line with ”- Select %s -” or to understand which element to modify in the .php file.

Do you have any more detailed information to help me modify this element easier than installing another plug-in ?

Also, it might be more “user friendly” to have an option to do this directly in the drop-down list settings :D

Thanks in advance, you’re the best!

Example : https://ibb.co/kXkcF7G

Hi Jaadra

You can use this piece of code in functions.php file to change it:

// Define a custom function to modify the default option text function custom_dropdown_default_option($default_option, $filter) { // Modify the default option text as needed if leave on %s will be pure name like Color/Size and etc $modified_default_option = sprintf(__('My custom text: %s', 'filter-everything'), $filter['label']); return $modified_default_option; } // Hook the custom function to the 'wpc_dropdown_default_option' filter add_filter('wpc_dropdown_default_option', 'custom_dropdown_default_option', 10, 2);


Best Regards,
- Victor

Hi, I am seriously considering to purchase your plugin. One question if I may before I do.

Let’s say that I have 2 products category: Laptop & Mobile Phones.

If user select Laptop, then only speficic filters for Laptop appear.

But if a user selects Mobile Phones, then only specific filters for Mobile Phones appear.

Can I achieve the above settings using your plugin?

Thank you in advance for replying to my inquiry.

Hi, thank you for your prompt reply, much appreciated.

I’m planning to use your plugin with WooCommerce. So, I will be using your plugin on one page where all the products are (WooCommerce Shop page).

Currently I’m testing the free version of your plugin. I can see the Filter Logic and can set it to AND. But how do I link it to child filters under Mobile Phones for instance? I don’t see any field in the plugin dashboard that might relate to it. Including those Available in PRO note in it.

By the way, what I want to achieve is similar to your demo here: https://demo.filtereverything.pro/step-by-step-filtering/

But what is required is only step 1 (like Category in your demo). For other filters, users don’t have to select them in sequence. Is this possible using your plugin?

Well, it is impossible to create for each filter term another filter set. For example, if you choose ‘clothing” show the filter set for clothing, if you choose ‘laptops’ show the corresponding filter set. It will not display the rest filters, as they have nothing to do with the laptops, and they are empty so they are hidden.

So it will work exactly like in the demo.

Best Regards,
- Victor

Hello, I purchased the extension and when I enter my generated license on the https://connect.filtereverything.pro/ website I get an unknown validation error.

Please note that I entered the license correctly by clicking on the “Get your licence key” button.

Could you please help me? Thanks in advance.

Thank you for the credentials, but we need full admin access. So we can access to the admin dashboard. Right now we cannot do it with current access.

Best Regards,
- Victor

The invitation has been sent to the e-mail address linked to the account. The person concerned will have to click on a confirmation link to be added to your site. Sorry for the omission, it’s a multisite :o

The license is activated and everything is working well now.

Best Regards,
- Victor

Hi, can we do somehtign on the speed of the filter on our shop https://www.petsolutions.be/winkel.

We have 12 CPU cores / 12 GB of ram memory but its not loading quick. All other pages load instantly but all related to the filter take some time. How can we improve?

Hi mrijnwal

Not sure what you mean by instant loading, because this is what we get – https://prnt.sc/gNSPMVBqabXT on average it takes from 8-12 seconds, on any page if there is a filter set or not.

Maybe it has something to do with those errors in the console – https://prnt.sc/3ie3oomOaXbj Ideally, there should be zero errors.

Best Regards,
- Victor

Hi, we have changed cdn the same moment but try now. You wont see any isues

Contact page – https://prnt.sc/01g01puJHj1K almost 9 seconds

Over on – https://prnt.sc/IYyFh-c3t6E6 8.5 seconds

shop page – https://prnt.sc/elSdTy27T_MM 5.6 seconds and it takes the same time to apply filter and update the products – https://prnt.sc/a9dvxbYsvrPx

Best Regards,
- Victor

Hi,

I have a question regarding the search bar. When we try to find a product, the search works correctly, highlighting the category it belongs to but without indicating the tick inside the checkbox. Is there any way to activate it?

Thanks in advance

Do you have any suggestions on this? The filter is good, but somehow I am missing some “features” that could implement it.

We are sorry, but we currently do not have any recommendations regarding this matter. As a support team, our main responsibility is to ensure that the current plugin functions properly. However, we are constantly exploring ways to improve the plugin and welcome any suggestions or ideas you may have on how to implement new features.

Best Regards,
- Victor

ok! thanks anyway

We have Filter Everything pro. I can see that the filters don’t appear one all of the pages I need. For example I have them all on the Shop page: https://mcdm.inventivewd.com/products. But when I go to an Archive page they don’t show up because they aren’t set in Where to Filter? field: https://mcdm.inventivewd.com/manufacturer/universal/.

This is because I have the filter set set to show on the Common WordPress Pages -> Shop page. If I change that filter set to show up on Common WordPress Pages -> All Archive pages for this post type it will show up on the Archive page.

How do I set a Filter Set to show up on both the Shop page and the product archive pages?

Do I have to create two of the same filter set (one to show on the shop page and one to show on the archive page). Is there another way to set it up (like in a sidebar) that would work better?

Hi mminten

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.

Best Regards,
- Victor

I have the plugin blocked even though I bought the license with extended support. This is my purchase code:

4c223496-4915-4fda-99c7-158cf0673862

Done! I just sent the PM

I sent another PM with the correct credentials. Please confirm if you received it.

Hi franciscomonroy

The license was activated and everything is working well now.

Best Regards,
- Victor

Hi, Im having an issue where i cant display filters for the shop template. I can only see filters i set up to individual product categories. Its very wierd, because the filter it does shows when when i have my admin account logged in. Here some screenshots: Logged in: https://snipboard.io/P1z749.jpg Incognito mode: https://snipboard.io/9QySq0.jpg Filter settup: https://snipboard.io/J2uhFm.jpg

Site: https://ceitsa.com/tienda/ Site with active filters: https://ceitsa.com/product-category/potencia-electrica/arranque-motor/arrancadores/

Hi ILEE0404

We have checked the page and it seems like the issue was resolved as we can see filter sets on this page – https://ceitsa.com/tienda/https://prnt.sc/GD1LXoW7OaGy

Best Regards,
- Victor

Hi there,

Please can someone assist. I have been struggling with various elements of this plugin since a bought it a few months ago. Creating pagination with Ajax – even my theme developers do not understand the plugin documentation or the explanation I received in my support requests and are going to need to create a staging site to attempt to edit the template code. If the filter is set up for shop pages then it wont work on the archive pages (tags, categories etc). If you set up the filter for the archive pages it doesnt work properly on shop pages and you cannot set up a filter set for each because there is only one shortcode that represents all filters, so you have to create a filter for all posts. Then if you want a pop up filter on mobile, and on desktop you want filters to appear in landscape along the top of the page, there is no documentations explaining how you can set it up, nor how to do it without changing the design of mobile filter? So I have to use a different filter plugin for desktop.

Support would be greatly appreciated.

Thank you

If in short, you can use a hook in order to place your custom canonical on the indexed page – https://prnt.sc/uo3664rukW3i or to place it on the page that is not indexed as well.

The rest based on each page or what type of SEO Rule and so on is a custom functionality that should be written by you.

Best Regards,
- Victor

Hi Victor, sorry I am not understanding. Can we take one example. This is the filtered URL that I need to place the canonical tag on but I cannot because it is a filtered URL (https://winedrop.co.za/shop/category-red-wine/), and it needs to point to the category page (https://winedrop.co.za/product-category/red-wine/) as the primary URL. How do I adapt that code you shared into the child theme functions.PHP editor? (I need to do it for all category URLs and all tag URLs etc.) Many thanks

Here is a simple example.

function modify_canonical_for_smartphones($canonical, $context) {
    if (function_exists('flrt_selected_filter_terms')) {
        $selected_terms = flrt_selected_filter_terms();

// prod_cat is a URL prefix for your filter you need to modify it
// smartphones is a filter term in the prod_cat filter you need to modify it as well
        if (!empty($selected_terms['prod_cat']['values']) && 
            count($selected_terms['prod_cat']['values']) === 1 && 
            $selected_terms['prod_cat']['values'][0] === 'smartphones') {
            return 'https://example.com/custom-canonical-url';
        }
    }

    return $canonical;
}
add_filter('wpc_seo_canonical', 'modify_canonical_for_smartphones', 10, 2);

Best Regards,
- Victor

Shoot! We purchased the wrong plug-in; the client wanted another.

Could you issue a refund?

607c913d-7fa9-4e0e-80aa-1af0151bbf6c

Disregard. Delete.

Hello, Can we use a range selector type filter with a field created for a variation of a product? We are creating filters for a shop but we cant build a range selector with the fields from the woocommerce variations. We use the function woocommerce_wp_text_input() to create these fields. Is there any way to use the filter with woocommerce variations fields?

Thank you.

Hi gothw

Thank you for choosing Filter Everything PRO.

Well, if you created Products -> Attributes some numeric values like 1/2/3/4/5.1/11/10.5 and apply those values on each variation then you can create a range slider by taxonomy numeric. If the values are something different, like 10m 20cm 1mm 1 ft it won’t work.

We haven’t tested it like that. But if those are custom fields, then theoretically it should work, you can create a filter by the meta key of that field. But in general better use attributes.

Best Regards,
- Victor

Hello, filters are being displayed on post single page where sidebar should be located and on post archive I get message “No one Filter Set is related to this page. You can configure it in the Filter Set -> “Where to filter?” field.” – text not visible when accessing as a viewer and not logged in into wordpress. Please see website here: https://auaa.world/resource/

We are a bit confused. So here is the thing, you place any sidebar with our plugin widget or shorcode of our plugin on your pages. You created one filter set and placed him to be displayed on the archive pages. Now you need to create another filter set and place it on a single post page in “Where to filter”. This is how it works.

You cannot just create one filter set and place it around the pages with shortcodes or widgets. The widget is just a setting, a container where the filter set will appear if you set it to appear on this page in “Where to filter”.

Best Regards,
- Victor

I got that thanks. My question was if I want to have let’s say social media buttons, recent archive posts, featured products listed in the single post sidebar – how to do that ? I do not want to have any filtering done on the single post page, but it automatically asks to assign filtering on the single post page. Thanks.

I want to have let’s say social media buttons, recent archive posts, and featured products listed in the single post sidebar – how to do that?

You just place them in that widget area (sidebar), and they will appear, on all of the pages pages where your widget area (sidebar) is displayed.

I do not want to have any filtering done on the single post page, but it automatically asks to assign filtering on the single post page. Thanks.

If you are referring to this – https://prnt.sc/pqkI7VYncigy you don’t need to place any filter set here, it is just a default message from the plugin widget. You just don’t need to pay attention to it, as you can have one widget area for the whole site. But it will display such a message on each page and only be visible only for admins. Simple users will see this – https://prnt.sc/KEyjf0J2vtz- absolutely nothing. If you want to remove it well, it is not possible. But you can place any other widgets and they will be displayed.

Best Regards,
- Victor

Hello,

I wrote to you a few weeks ago but haven’t had a response.

The plugin was working fine but when I changed domain names it stopped working.

Please can you help?

Thanks,

Hannah

Hi Hannah

If you are referring to this question – https://codecanyon.net/comments/30158377 then we didn’t get any message yet from you.

Also, please provide more information on what exactly is not working so we can help you ASAP. “Not working” Can mean a lot of states, like not appearing, not creating a filter set, not placing it on the page, not filtering posts on the page, and so on. Or as from the previous comment cannot activate the license key.

Best Regards,
- Victor

I have a filter with radio buttons, but the ordering isnt correct. These are my options: a_thisWeek : Deze week b_nextWeek : Volgende week c_later : Later d_always : Altijd

What ever i choose for sorting, it doesnt find its way to the order above. The ABC ordering is the only thing that makes sense, the rest doesnt :-)

The return value for the radio buttons are on the array option. I have send an message to you in private with the url.

Hi shroud

Yes, we checked the page and you have mixed content issues. You need to fix it and everything should work fine.

As to the filter term sorting, you can do it manually if you have coding skills, use the hook “wpc_terms_before_display” – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

Best Regards,
- Victor

Hello, There is an error in the spanish translation. Once you use the filter, it shows the number of available results and it says “XXX fundar”, it should say “XXX encontrados”.

I tried to fix this with “loco translate” and although I found it in the po file, it does not show the right translation.

Thanks

Hi Gekkota-Studio

Thank you for choosing Filter Everything PRO.

The loco translate should work fine, you need to sync the data and change it on your own one with the plugin. We will add the fix in other updates.

Best Regards,
- Victor

Hello there,

I have a bug with filtering and i will need your help. I have created a filter for stock status (in stock, out of stock, preorder) and it works just fine a category pages.

The problem is on search result page. If i make a search with a keyword, and select a filter on result page, it doesn’t filters the products so i can see the products that includes the keyword and the specific stock status.

Any ideas?

Thank you in advanced

Hi asynadak

Thank you for choosing Filter Everything PRO.

Can you please send the link to the page with the issue and step-by-step guidance on how we can see the issue? So we can check it ourselves and provide you with some information on it.

Best Regards,
- Victor

Hello,

Yes of course. You can go here: https://www.cosmicrealms.gr/

At the header, search a term, like “hardcover”, and hit enter. It will load you the result page. Now – exactly above the products in result – there is a dropdown with 3 option (Μη διαθέσιμο is Out of Stock – Σε απόθεμα is in stock and Σε προπαραγγελία is Preorder).

Select an option and the page will reload and “show” the filtered products. There is the problem. The products that are shown, belongs to every of these statuses and not only the selected.

If you go to a category like here: https://www.cosmicrealms.gr/product-category/manga/ the filters are working perfect.

Hope it’s helpful.

More likely our plugin cannot filter the search page that was generated by the search plugin that you are using. If you will use the Woo product search widget it will work normally like on this page – https://www.cosmicrealms.gr/stock-onbackorder/?post_type=product&s=a

Best Regards,
- Victor

I have different pictures that take you to different categories of my sales. The filter plug in only shows up on the shop (all) section of my website. How can I get the filter to apply to all of different category shopping pages of my website?

we have the same exact issues that we have been having, and nothing seems to have changed

if you go to our website, you will see that it only lets us filter by product categories, and that the only section that has them is the shop all section and not each individual category page that we mentioned so the filter plug-in only shows on the shop page and does not have all the categories that we need listed with the proper filter settings. Also, the blue filter magnifying glass logo on the mobile device was not changed so customer still will have a hard time knowing that that’s a filter button

Hi checkedappliances

If you want to place the filter set on each individual category, you need to create a filter set for each category which are:

1. Refrigerators (New and Preowned) 2. Dryers (Preowned) 3. Washer and Dryer Sets (Preowned) 4. Shop (Preowned) 5. Shop (All) 6. Shop (New)

So you need to create 6 filter sets and place them on those pages, and categories that you want, from the “Where to filter” dropdowns.

If you go to the products -> categories and open any product category by clicking the “view” below the name of the category, you will see that there is a filter set on each of the product categories page.

“the blue filter magnifying glass” is not our button, we do not know what plugin is responsible for it, but it is not ours. Or a filter button appear at the bottom of the page, as your widget area in mobile mode at the bottom of the page, but you can place the shortcode for a filter button whenever you want on your page. Here how it looks like – https://prnt.sc/C6a1ZnL9Py9S as you see everything is messed up. But it is all because of this CSS style in mobile, with set to position sticky, if you remove it it will be as it should – https://prnt.sc/JpbEsArjE5_W

Regarding the filters such as colors, brands, and others, you need to create those attributes and apply them to your products, or create custom fields, and so on. Your products are currently empty – https://prnt.sc/lmDg-UjuYkCP with zero attributes. How do you intend to filter by any attributes if you have none? If you have applied those attributes to your products, please explain to us where they are and how you applied them. So we can find them and create an example of how to create a filter by them.

Best Regards,
- Victor

Hello, how do I remove the scroll from the filter lists?

This page’s filter, for example, has two sets of lists (“Apparel” and “Brand”) and both of the lists get compared into a scrollable list – how do I remove this scroll?

https://mydressedit.com/fw2023/

Hi dresseditfb

In the filters -> settings -> https://prnt.sc/lqMwHGQyw5iH there is that option where you can write down filter container height.

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