Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,187 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9146 comments found.

Hello,

My size filter was working fine until today, earlier there were some custom css which wa affecting my CSS, and I have changed them. And I have not added any new CSS. but my Size filter is not working properly, it shows out of stock items too. But the Colour filter works.

URL : https://flamingosl.com/tops-2/

Am I doing something wrong here?

Would love to hear a suggestion soon.

TIA

Hello madhawaudawatta

Thank you for enabling “Show count” option. But I still do not see any problems. Please, provide me with link to example, where the filter works incorrect and why do you think so.

Also check please next moments: - if the checkbox “Use for Variations” enabled or disabled for the filter by Size.
- if you enabled “WooCommerce -> Products -> Inventory -> Hide out of stock items from the catalog”. This may affect on the filter.

Thank you. Regards.

Thank you for yhe reply, I have enabled “Hide out stock Items…”.

Also I when a product size reduces it will still show the same count in the filter here : “https://flamingosl.com/tops-2/”

I have 62 Tops in my inventory, it shows that count here in the filter.

I am really stuck here.

TIA

Hello madhawaudawatta

As I understood the main problem is that when you use filter by Size you still see products that are Out of Stock. I have to say that by default Filter Everything PRO does not hide them from the products list. And if products with Out of Stock status are shown when they are unfiltered by the plugin, they also will be shown when they are filtered. In other words Filter Everything PRO does not hide them until you create filter by Stock status as in this example https://demo.filtereverything.pro/example/by-stock/ and filter product by stock status.

But if you need to hide Out of Stock products by default, I can send you link to the intermediary plugin version that allows to do that by adding specific code in the functions.php of your active theme. This feature will be available in the next plugin version 1.7.7 but it will be release later. Please, send me message in PM and I will send you link to that intermediary plugin version.

Thank you. Regards.

Hi, looks like there is a styling conflict for the Woocommerce Export product page.

i tried to disable all plugins, and turn them on one by one and found that Filter Everything plugins cause this issue. so I tried just enabling 2 plugins only, woocommerce and filter everything, and this issue happened. could you help to check it ? thanks

https://ibb.co/cJKWrLg
  • I use Google Chrome

Hi runix

Ok, sure. I can check and fix this if you will provide me with credentials to your /wp-admin in accordance with this document

Please, let me know.

Thank you. Regards.

Hello again. When using the sorting widget, I get don’t get the correct sorting for one of the fields. If you take a look at https://www.ralingen.org/listekandidater/valgar-1928/parti-liste-arbeiderpartiet/?ordr=mplassnr Here the numbers to the right in the list grid are supposed to be sorted by ascending order 1,2,3,4,5,6, etc but the plugin sot based on 1,10,11,12…2,20 etc The acf_field being used is numeric. How can I get the posts sorted by 1,2,3,4,5 etc?

Hello larsjko

Please, try to remove this sorting option and create a new one and select “Meta key numeric” instead of regular “Meta key” sorting option. This should help you.

Thank you. Regards.

Thanks. What an embarrassing mistake on my end :-)

It’s okay, no worries :-)

Each of us makes such mistakes from time to time.

Hi, Im starting a new ecom plumbing spares website. Is there a tutorial on how to setup the filter by brand? All this talk of attributes and toxonomies is all a bit new to me.

Hi mikeey

Thank you for choosing Filter Everything PRO.

In general this question is out from the item support scope here on CodeCanyon. But shortly I can say that you have to create new attribute and call it “Brand” if you use WooCommerce plugin on your website. If not, you can install the plugin CPTUI and create new taxonomy and call it “Brand”. After you have to create brands (i.e. Apple, Samsung, HP etc), attach them to your products and after to create filter by this Brand.

If you are not so familiar with WordPress I recommend you to ask somebody experienced or watch some online lessons about WordPress.

Thank you. Regards.

wtf did you change in your update?, my custom css is so messed up

Hello aldhydheriz

I’m sorry for the inconvenient.

Please, let me know about details what exactly happened. Please, send me link to the page with the problem or screenshot or optionally credentials to your /wp-admin in accordance with this document I will check it myself.

Thank you.

no need. thank you for fast respond. i will fix it myself

Ok, sure.

Thank you for using the plugin.

https://ibb.co/gRfY0fs im wondering how i can collapse all categorys so customers dont have to scroll ( see image )

I need it done on this page: https://a-webdiensten.nl/avada-themas/

Is this possible?

Regards

Hi amandomm

Sure, it is possible. You have several options for that:

1. Simply to increase the maximum height of a filters container in Filters -> Settings -> Filter Container max height, px

2. Enable hierarchy for the Category filter. Open your Filter Set edit screen, open your Category filter, click on More options and find there hierarchy checkbox and activate it.

Hi,

Multiple filters sets on the same page not working with flatsome theme.

Any idea ?

Thanks

Hi DailyLost

The best way to check the reason of the problem is to provide me with link to the page, where this issue exists. Please, send me it here in comments or optionally via PM.

Thank you. Regards.

Item Purchase Code:78159417-bde9-487e-a7a1-b72c48c1c27f

Hi, unfortunately I am having problems configuring the filter button in the mobile version. Simply entering the shortcode [fe_open_button] displays the button but nothing is displayed. I later read that I have to indicate which filter to use in the format [fe_open_button id=”77”] but I couldn’t find the id of my filters… Thanks for your feedback!

Hi baalpid7

Usually the main reason is that there is no Filters widget is displayed on the page. If yo do not specify Filter Set ID, the button should open first existing on the page Filters widget anyway.

Are you sure that Filters widget exists on the page? Do you see it in desktop mode?

Please, let me know.

Hi! In the desktop version everything works perfectly while in mobile mode I can see the button but nothing appears after clicking. I wanted to try specifying the ID of the filter set but I don’t know where to retrieve this information. Even in the extended view mode I could not display a column or any mode that specifies which ID is assigned to a specific filter. Thanks for your support

Hi baalpid7

Ok, please, send me link to the page with this issue I will check it. Optionally you can send it via PM.

Thank you. Regards.

Hello, I have problem on product archive page Filter Everything works only in case I logged in as Administrator and doesn’t for any other user and guests, just shows blank categories and not possible to filter. I also use Woocommerce B2B plugin on my site and it looks Filter Everything has conflict with it and doesn’t work correctly. I don’t understand why. I checked another filter plugins and they work good. But I need to use Filter Everything. Is there any way to help to find solution. Could you please help fix this problem! Thanks in advance!

Hello ravolar

Thank you for choosing Filter Everything PRO

From you description of the problem I think you have situation, when you show different content/different WP_Queries for your logged in and logged out visitors.

When you configure a Filter Set and select the WP_Query that should be filtered in the “And what to filter?” field, Filter Everyrthing PRO “catches” targeted WP_Query on the page. But it does it when you are logged in (because you are in the /wp-admin area) and it “see” only WP_Queries that are visible for looged in users. If your WP_Query appears on the page only, when visitors are not logged in, you have to display it at leas one time for logged in users also and “catch” it for Filter Set and after save the Set and try to filter after that. This should help you.

Is it possible to make a checkbox checked by default? I created a filter and it shows “internal” and “External” I want “Internal” check by default allways. Is this possible? Can it be done with some custom code ?

Hello tuukie

Thank you for using Filter Everything PRO.

Unfortunately it can be done only in case if you open the page with selected in URL filter. For example https://example.com/type-internal/ You can place link to this page with such URL parameter for example in the Main menu and visitors will open your page with pre-selected “Internal” checkbox.

Yep that works, but I have WPML on that website and when changing language the /type-internal/ is gone and everything is visible.

Hello tuukie

You can insert appropriate link in the Main menu in another language. But this requires to have translated filters. How to translate Filter Set to another language you can find here – https://filtereverything.pro/resources/with-wpml-polylang/

Regards.

Is there any documentation on working with ACF fields?

Hello jgutowski

Thank you for using Filter Everything PRO.

In general the plugin works with ACF fields in the same as with Custom Fields because they are Custom Fields in any case. ACF only provides convenient interface for interaction with them.

But you may also to see this video tutorial from WPTuts – https://www.youtube.com/watch?v=Ki7LBcrYuAo It’s about Free version, but it works in the same way in PRO.

The Ajax feature doesn’t work. I tested the filter first without Ajax enabled and it works fine. With Ajax enabled, it shows all results. I checked the documentation but I can only find a section on Ajax causing issues with other aspects of the site, not with it not working. Can you help?

Hello laurayeffeth

Thank you for using Filter Everything PRO.

Usually the reason is in wrong configured value for the “CSS ID or Class of Posts Container” option. I recommend you to look on this article about how to configure it right – https://filtereverything.pro/resources/plugin-settings/#ajax

Optionally you can provide me with link to the page with this problem and I can say what exaclty value you have to set for the option.

Thanks for getting back to me. It turns out it was a conflict with Genesis Connect for WooCommerce. I’ve decided not to use that plugin.

Hello laurayeffeth

Okay. Thank you for your notification about that. Regards.

Hi. I’m unable to activate license key. Credentials sent by PM

Thank you for the details. The license is activated.

Thanks for your prompt assistance. Everything is good now!

Great. I’m glad that your problem is 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!

Hi! Quick question. I would like to use filters horizontally. It works except the apply and reset buttons are shows below the filters. I’d like them to appear on the right of the filters, on the same line. Is this possible? Thank you!

Hi FlorenceGee

In general yes, it always possible. But it requires some CSS adjustments. Unfortunately I can’t provide such CSS code example, but if you familiar with CSS or if you have a developer, who can help you with this, it is not so complex to achieve that.

I would just need a CSS code example please. Thanks!

Hi FlorenceGee

In general support https://codecanyon.net/page/item_support_policy here does not provide any code customizations. But sometimes I provide my customers with code snippets if I already have them or if they require less than 10 minutes for writing. This case requires more and I can only say that if I will have time for that I will try to provide you with it. But I can’t promise and for the moment I have no such time. I’m sorry.

Regards.

Hi there, I have the same issue as described here https://wordpress.org/support/topic/filter-not-showing-on-mobile-devices/

I tried adding the short code and it is still not coming up in the mobile version. Any suggestions please?

Hi freefallapps

Thank you for using Filter Everything PRO.

Please, provide me with link to the page with this problem. Optionally you can send it via PM.

Thank you. Regards.

Hi,

I have 2 bugs with flatsome theme :

1) Result count on the top is not updated, it’s stay the same (it’s working with storefront).

2) When you select checkbox filters and then refreshing the page (not hard refresh, simple F5), the checkbox filters checked are wrong (for example you can have filters for 5 colors but after refresh 4 checkbox are selected despite the products shown are okay).

Edit: it’s occuring with firefox, looks okay with chrome (for the 2)).

you can see it live : https://infallible-shtern.217-160-53-245.plesk.page/shop/

it’s a vanilla WP + Filter Everything plugin + Flatsome theme and nothing else…

And btw, is there any option to disable multiselection (for types other than radio) ?

Thanks for your help ! :)

Hi DailyLost

Thank you for your reports.

1. Counter is updated every time if you load filtering results by direct link or you don’t use AJAX. Plase open for example this link – https://infallible-shtern.217-160-53-245.plesk.page/shop/couleur-green/ and you will see that counter works fine.

If it does not work with enabled AJAX it means that you did not include the couunter in the container you specified for the CSS id or class of the Posts Container Just specify more common container that includes this counter and your products and it will be updated every time, when you select a filter term.

2. Indeed, I reproduced this in FireFox. I’m not sure about the reason of such behaviour but I do not have any control of this situation. I can only make checkbox checked from JavaScript code and why exactly FireFox removes one of them I have no idea. It’s rather the question for the FireFox developers than for me. I think any other plugin with JS-coded selection of checkboxes works in the same way in FireFox. But if I will find something that can solve this problem, of course I will fix it.

Hi,

Yes for 1) I ended including the counter in the container (it’s outside with flatsome). So i override the theme file.

2) ok

Thanks

Great.

I’m glad that your issues is already solved.

Hello. Thanks for the plugin!

There are not enough additional variables in the SEO Rule to describe categories for me. There’s only ‘site_title’ and ‘page_number’. How to add a Custom Fields of category to the SEO rule?

Hello pavelf7

I think you can try to add it with ACF plugin and on the page, where you want to display it, you can get field’s value by SEO Rule ID. To get the SEO Rule ID you can use next code:
if( class_exists( 'FilterEverything\Filter\Pro\PluginPro' ) ){
    $seoFrontend = \FilterEverything\Filter\Container::instance()->getSeoFrontendService();
    $seoRulePostId = $seoFrontend->get( 'seoRulePostId' );

    var_dump($seoRulePostId);
}

In which file should I insert this code? do I need to change something in the code?

Hello pavelf7

If you are not familiar with PHP you have to ask or hire a developer to help you with this. Unfortunately such development questions are not included in the plugin support here on CodeCanyon. I would be glad to help you with this for example for extra payment, but unfortunatley I have not time for such service.

Thank you. Regards.

Hello, i have same problem like man before me, I am using Collapse Filters Widget on Mobile devices. I want it to be closed on the mobile device after the filter on a new page. Now on initial page is closed but after the filtering it is open.

Thanks

Hello ilija1973

Thank you for using Filter Everything PRO.

In general custom coding is not provided under CodeCanyon item support policy, but as it requires less than 10 minutes of my time I’m not against to provide it. Please, add in the Filters -> Settings -> Experimental – Custom CSS next code:
body.wpc_show_open_close_button .wpc-filters-widget-content.wpc-opened{
    display: none;
}

This should help you :-)

Hello, I’m Sébastien from Polylang Pro and we have a customer in common which can’t make working your plugin with ours… The issue is your filters are working well with Polylang, but when the customer adds Polylang Pro, then it stops working. The line in your code which is preventing it to work is https://plugins.trac.wordpress.org/browser/filter-everything/trunk/src/wpc-third-party.php#L441 Why do you return false if Polylang Pro detected ? There’s surely a reason, and I invite you to contact us through https://polylang.pro/support/ I’m sure we’ll find a solution to make our both plugin work together. Hope to hear news from you soon. Regards

Hello sebastienserre

I’m sorry for the late response.

In general the main problem is not in this function. From my side it looks like the main problem is in the hook ‘pll_get_post_types’ that often does not work.

Here is example from your documentation:
add_filter( 'pll_get_post_types', 'add_cpt_to_pll', 10, 2 );

function add_cpt_to_pll( $post_types, $is_settings ) {
    if ( $is_settings ) {
        // hides 'my_cpt' from the list of custom post types in Polylang settings
        unset( $post_types['my_cpt'] );
    } else {
        // enables language and translation management for 'my_cpt'
        $post_types['my_cpt'] = 'my_cpt';
    }
    return $post_types;
}
But in fact it did not work for my customer “Huzebio” and I changed it to
function flrt_add_cpt_to_pll( $post_types, $is_settings ) {
    if ( $is_settings ) {
        $post_types[ FLRT_FILTERS_SET_POST_TYPE ] = FLRT_FILTERS_SET_POST_TYPE;
    }
    return $post_types;
}

But it seems it depends from the Polylang PRO version and in dependancy from it I have to use first or second code example.

My goal is to make post type ‘filter-set’ translatable post type to allow users to create Filter Sets in accordance with languages on their sites. So my question is next – how to make the ‘filter-set’ post type always translatable in Polylang PRO?

Please, let me know. Thank you. Regards.

Hello, Could you please contact us at https://polylang.pro/support ? We’ll check how to help you the best to solve this issue once for all. Regards

Hello sebastienserre

I tried, but the form requires Polylang PRO license key ) Is there any other way to contact with you without this key?

I’ve already asked about the key in our common customer that faced with the issue.

Regards.

Hi,

Your plugin looks great !

However i’m a bit worried with all extra url created with the filters, as they would have very low value for me.

Is there an option to disable links for the facets ?

Thanks

I think i get it.

If i play with “Indexing depth” and “Indexing filters”, i get meta robots noindex nofollow on specific pages, so i can disable indexing attributes not very useful for SEO.

If there is more that i should know, thanks to tell me :)

Thanks

Your plugin is really easy to use, congratulations !

I just have 2 questions : – Would it be possible to add a rel=”nofollow” for links to “noindex” pages ? – Is it possible to display a range for a product attribute ? (it’s greyed out as it is)

Thanks :)

Hello DailyLost

Thank you for purchasing the plugin and for your warm words about it.

1. You can add rel=”nofollow” attribute to all filter links using hooks Term HTML hooks. Please, see here more info about them – https://filtereverything.pro/resources/hooks/#term-html-hooks But these hooks do not allow you to understand what links are indexable and what are not. So you have choice to add it to all links or do not add at all.

Optionally you can replace all permalinks with GET-style variables in URLs. As it is in Free version of the plugin. For example ?color=yellow&size=large instead of /color-blue/size-large/ To get this, just add in the functions.php of your active theme next code:
define( 'FLRT_PERMALINKS_ENABLED', false );

2. Yes. sure. You can create range filter for any taxonomy including product attribute. If it is greyed out it means you selected taxonomy that is not related with post type specified in Filter Set. Please, check these moments carefully.

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