Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 16,188 sales
Recently Updated

Stepasyuk supports this item

Supported

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

9150 comments found.

When assigning a Parent Filter . Using example of Parent Filter Labeled ‘BRAND’. When using the DROP DOWN option, the widget will show “Select Brand First”. That is good. I like that.

But when using the CHECKBOX option, there is only a Dash. Is there any way to show the same “Select Brand First” in the Checkbox option?

Hello SapphireSales

It seems you use overriden checkbox.php template that was not updated in accordance with this new option. In general Checkboxes view also shows this phrase “Select Brand First” but you have to use checkbox.php file from the latest plugin update.

Thank you. Looks like I already updated before your reply because it now works like a charm.

It’s great :-)

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.

I’ve recently upgraded to PRO. Filtering custom taxonomies worked with old GET params, but now when I select from drop-downs I get “Page not found”. I’m thinking it has something to do with permalinks.

My archive page: /articles/ After I select ‘news’ from the drop-down: /articles/fe_category-news/ (404)

Any thoughts on where I’m going wrong?

I’ve tried to update permalinks and to change the URL prefix. No success. Any other thoughts on where to look? Or tips on how to troubleshoot?

Do I need to do any custom rewriting of slugs for the post-type?

Hello circuscommunications

Do you use Permalinks Manager or some other similar plugin? If yes, it is not compatible with Filter Everything PRO in mode with enabled permalinks. Usually in such case my customers add in the functions.php of their active theme next code string:
define( 'FLRT_PERMALINKS_ENABLED', false );

and it disables permalinks for filters and they work in mode with GET parameters like in Free version.

But if you don’t use Permalinks Manager, please, send me credentials to your /wp-admin in accordance with this document I will check if there is no bug.

Thank you.

Not working multi language separate domains

I did LOVE both the admin part and the front-end of your plugin, but sadly I had to change to some other product filter because of problem with a multi language site.

I had to make separate filters for each language, but that’s not a problem – I have to do this with several other plugins too.

It handles a multi language site where language are set by sub directory ( /en/ /fr/), but my site uses language setting by diferent domains.

In this setting the second and third language returns ‘zero’ on all filters. The URLs work (like /cat-helmets/col-purple/) but the filters don’t work. This I guess, is an indication that the plugin find the products but don’t manage to connect with the filters.

If this issue is fixed in future versions I’ll most likely change back to your plugin.

Hi OpalDigital

If you can send me credentials to your site in accordance with the document I can check it and try to make it work. Or at least will you know if it is possible to solve at all.

Hi, I have a problem with the mobile version. The desktop version works fine but i have a problem with the pop up mobile version. I tried all settings but cannot solve the problem. What happens is that the button shows corectly but when i click on it the filters appear but are not clickable. If i try to click something the popup just closes. Can you help?

nmoussas

Try please to add in the Filters -> Settings -> Experimental -> Custom CSS next code:
.wpc_show_bottom_widget .wpc-filters-overlay{
    display: none;
}

This should help you.

Thanks a lot it works!

I’m glad that the 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!

Hello.

The plugin works great so far, the only issue I have is that ACF taxonomy filter shows the taxonomy’s ID, not label, both in the filter and in the addressbar URL. I managed to fix the filter using one of your codes you shared in one of the comments here https://gist.github.com/wpserve/0634299bcc67d03bef77119dd20c86e7 but I had no luck fixing the URL in the addressbar, even though I’ve tried several variations of the other codes you shared.

Can you please tell me how to fix this and have the ACF taxonomy label in the URL instead of taxonomy ID?

PS. If it helps, this is the page I’m working on https://realcars.vertevo.com/nos-voitures/ and the problematic taxonomy is Villes / Cities (all other filters are regular ACF fields).

Thank you, Ovidiu

It’s taxonomy, but from another CPT, so the only way I can use it is via ACF field. I even set it so it’s return value to be Term Object, but still the ID is returned. Could it be ACF issue? So… not sure what to do to fix this… I’m currently looking for a way to clone/mirror that CPT’s taxonomy to a custom taxonomy of the Products CPT, so then I can use it in the filter.

...or, another option I’m looking into is to make both CPT share same taxonomy, which seems easier to be done, but all the info I find is about how to do it when registering the CPT, but nothing about what to do when the CPT is already registered. I know is not plugin/support related, but if you can help, please do.

Thank you.

It’s sorted, I just shared CPT’s taxonomy with the Product and now I’m able to use the taxonomy in the filter. If anyone interested, this function shares an existing taxonomy with another CPT.

add_action(‘init’,’add_taxonomy_to_cpt’); function add_taxonomy_to_cpt() { register_taxonomy_for_object_type(‘taxonomy’, ‘post_type_name’); }

Thank you.

Great Ovidiu

I’m glad that you were able to solve this by yourself. Indeed, it is the best solution in your case – to use the same taxonomy for several post types.

Hey this is great.. but I have a hierarchie in the categories..

It only shows the 1st level no matter if I use radio or dropdown. Is it possible to show a tree, at least 1 level down?

maincategory 1 subcategory 1 subcategory 2 subcategory 3 maincategory 2 subcategory 1 subcategory 2 subcategory 3 maincategory 3 subcategory 1 subcategory 2 subcategory 3

Hello ravi000

Thank you for using the plugin.

Please, enable hierarchy in the appropriate checkbox under More options section in your filter by Category.

Hello Stepasyuk,

I bought your plugin yesterday. Unfortunately, I am very dissatisfied because there are technical problems and a lack of translation options. We are a German company and to convey seriousness it is essential to have German texts. There are also problems with the mobile search function. After selecting and confirming the filters, the page often does not load. Of course I turned off Ajax and turned on compatibility mode… in the end I’m disappointed because your plugin is basically a great one, but quickly reaches its limits. Because of this I would like to return the purchase, I would be really grateful if that were possible?

Kind regards, Lasse von Kölln

Hello kiezhundberlin

Thank you for purchasing the plugin.

You can always create a refund request from your account here on CodeCanyon and it will be processed in accordance with Refund Policy Rules.

But also I would like to know what exactly does not work on your side. Send me please details about the problems (link to the page, screenshots, descriptions etc) to allow me to check them.

Thank you.

Hello. Can you give me a php code that show the actually term for the generatepress hook, please? I would like to insert only the term there.

It’s for the posts, not for woocommerce.

Hello luckybernd27

I’m not sure I understand what is your goal at all and what you mean about actually term. Can you please describe it more clear for me? Thank you.

P.S. FYI – custom coding is not provided under CodeCanyon item support policy.

I’ll try it. In your SEO rules, the terms are output using variables. I would also like to output these variables via a hook in Generatepress. It’s for the optimization text. For this I need the php code for the output of the variable. What I mean is the filter variable for the actually category term. I hope it is more understandable.

Hello luckybernd27

Thank you for your explanation. Now I understand clearly what is your goal. You can use function flrt_selected_filter_terms(); that returns all selected filter terms (or false if nothing is selected) on a page. You can use it in your hook to replace your category variable with category term. More functions available in the plugin you can find here – https://filtereverything.pro/resources/functions/

Hi, We have this Filter plugin on a site built with Elementor that filters a custom post type called Events.

It seems that every time an Event post is added to the site we have to re-update the filter. Is this supposed to happen?

Let me know if there is any more information you need from me.

Thank you.

Hi digital395

Thank you for using Filter Everything PRO.

Indeed, the plugin has internal cache that saves filters data some time to make it to work faster. This cache resets automatically if you update any of your post, page, product etc. But also you always can reset it manually by opening your site with URL containing parameter ?reset_filters_cache=true For example – https://digital395.com/?reset_filters_cache=true

Optionally you can add this URL to the cron on your server and it will reset the cache periodically.

Hello Stepasyuk,

I hope You and people close to you are all doing fine!

I found a topic regarding Kadence theme and white horizontal space (Chips) on each page when filter is activated. You provided an override CSS for a fellow user @Carsten12 which I also tested, but unfortunately it did not solve this issue.

I’m using a free version of Kadence theme. On filter settings I’m using a hook “Kadence_before_main_content”. Do you have any other solutions / idea we could try?

All the best, thank you and take care.

Regards, Sam

Hello Sam

Thank you for your care and for using Filter Everything PRO. Thanx God we all are fine.

Please, send me link to the page with this problem and I will let you know how to solve it. As I understood you have the same problem – extra white space under Filter Everything Chips, right?

Hi Stepasyuk,

Sorry about delay on my comment. Site is still under construction and client does not want to share logins to anybody due problems in history for doing this. Regarding this problem I have with Kadence theme (yes, extra white space under Chips), it’s solved now. I managed to add a global CSS and sofar this seems to do the trick.

Should someone else have similar problem with Kadence theme, this is a CSS I added on my site.

/* List */ #main .wpc-custom-selected-terms ul{ padding-right:0px; padding-top:0px; padding-bottom:0px; margin-bottom:0px; }

Ahh, one feature suggestion if I may (if it would be possible): please add “copy/duplicate filter” function. For users like me who have many similar kind of a filters this would save a lot of time.

Thanks, take care and Happy New Year! rgd, Sam

Hi Sam.

Great. I”m glad that your problem is already solved.

Sure, the filters duplicate feature is already in my development schedule. But it requires some time to be implemented. I will notify you here in this comments thread when it will be ready.


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 and Happy New Year!

HI author,

I am vantinh and have been working for a small company in Berlin

Proplem : is it possible to display User name ? or user firstname last name on the filter the user name of acf custom field type USER not display USERNAME because I set it in acf custom field returning user id .

how can display user name in your plugin ?

Hi briba1

What do you mean that filter worked only one time? What exactly does not work for the moment? Plese, let me know.

I just have a long holiday in jan 2023 . I would like to test it again later .it could be an error in the staging site that the website works very weak during loading site.

other question :could you send me your plugin , with that we can filter both of posts and products in one time ? you can send me via : chuvantinh1991@gmai.com or van-tinh.chu@botiss.com or any ways you want. that is very important for our customization.

Hi briba1

Sure, no problems, enjoy your rest in these holidays :-)

Unfortunately I have no such version of the plugin. In first versions there were code that partly allowed to support this. But in the last updates I’ve deleted some of such previously commented code as it looked as garbage.

As option, you can try to uncomment wp-content/plugins/filter-everything-pro/pro/wpc-utility-functions.php:578 part of this code and also add new option “Any” in the wp-content/plugins/filter-everything-pro/src/Admin/FilterSet.php:362 in the array. There is some chances that it will work.

Conditional filters, Hello, https://chooko.ie/shop/?product_cat=sport-equipment This page has a item type filter that should change the terms based on the selected sport, how do we do that. I assume it needs to be dine in code? I haven’t seen any documentation for this scenario.

Hello chukosport

Thank you for using Filter Everything PRO.

As I understand you expected that the filter “By Type” will show only terms related with the opened Product category. As I see it looks now like these terms are correct. In any case if you enable “Emtpy terms -> Always hide” in your Filter Set it will work as you need.

Pretty permalinks. Hello, if you go to this https://chooko.ie/shop/?product_cat=sport-equipment page, you can see the url is not “pretty” I saw in the plugin description there is a way to create pretty urls for all filters, can you show me how that is done, or link me to a documentation that clearly describes how to set it up?

Hello chukosport

I’m not sure where you get this URL, but this part product_cat=sport-equipment in your URL is not relatd with any filter. It looks like typical Product category URL in WooCommerce whe you use it without permalinks. But if you have filter by Product category with prefix “product_cat” I recommend you to change it to another URL prefix to avoid conflict with WooCommerce Rroduc category URL structure.

Hello,

As beyondforward wrote below, the license does not work for me either. I hope for your help!

upd. in the answer to “beyondforward” you say that I need to click the “Get your license key” button and log in with my account. When I try to get a license key in this way, after authorization I get this error “Something went wrong. Please, return back and try to click on “Get license key” button again.” I wrote to codecanyon support, but they sent me here.

I also noticed one bug. In my products, I use a checkbox with some values, which is created using advanced custom fields, and in the filter, I use this checkbox as a drop-down list. And if I completely delete some value, then this value still remains in the drop-down list in the filter. Although this value no longer exists in products.

I hope to get help in solving these two problems. The problem with the license must be solved first of all, because I cannot use the plugin, because it is locked.

Hello gworksoy1

Please, send me credentials to your /wp-admin in accordance with this document I will check it myself.

Thank you.

I just bought your plugin and I am using GeneratePress theme. I see the Filtering is available as a block when adding to a widget. However, it’s not available in GeneratePress as a block in their Elements. Not sure who is responsible for that or if you both have to work on it together to make it work. But, any chance you can make the block available with their Elements module?

Hello webassetcan

Thank you for purchasing the plugin.

I’m not sure about GeneratePress blocks, but you always can insert FIlters widget as shortcode [fe_widget] into any widget or text block of any page builder. Here you can find more about shortcodes supported by the plugin – https://filtereverything.pro/resources/shortcodes/

Thanks, it does work, however. there is still a conflict with GeneratePress. Basically, I created a filter set for a custom post type I created, let’s say it’s Books. In GeneratePress, I can create custom sidebars using their Elements. It seems that once I create the filter set for the CPT, it’s at that point that I cannot edit the Element in GeneratePress to insert the shortcode. I checked after activating your plugin, I could edit an Element in GeneratePress. But, only after I create the filter set and filters can I NOT edit the Element. So, unfortunately I cannot even insert the shortcode.

Hello webassetcan

I’m sorry for the late response.

Can you please show me on screenshot details of the problem? Or maybe to record screen video and reproduce the error. It would be great to understand what is the problem. Maybe it is related with some JavaScript code conflicts.

Thank you.

Ciao, how can I exclude posts from the search based on a meta key? Let me explain better, to define that a car came I use a custom field that resists a value “yes” or “no”. Can I exclude filters based on this rule? is there a way to do this from your plugin? Of course I ask you this because my query already excludes these posts with this custom field that has the value “yes” and consequently the filter leads me to show empty search results.

Hello giuseppedichiara

My plugin allows you to create a fitler by Custom Field and it will contain two values – Yes and No based on text values of your field. And it allows to visitors to select posts with Yes value or with No value.

If you need to exclude such posts via custom code, you can use hook ‘wpc_filtered_query_end’ that pass through $wp_query and fires after filters were applied to the $wp_query.

Do you mind giving me an example? Because I don’t understand if in the hook I have to include all the query or if I can only indicate what to exclude.

For example, I must exclude custom post “car” whose custom field “flag_campi_auto_auto_venduta” is equal to “si”

I have a problem, if you visit marcelloo31.sg-host.com/car with the following credentials, username rstar password: $b73~$2$41j_ you will find that all filters work except the one of the price. can you tell me why? (is within the accordion “prezzo”)

Hello giuseppedichiara

Using hooks requires to be familiar with WordPress and PHP or ask a developer to help you with it. Unfortunately such custom coding is not included in the CodeCanyon item support scope and excluding of posts is not provided by the plugin (but the plugin provides vice versa – to inlcude posts by some criteria)

About price filter – it looks like it was configured wrong or maybe your prices in fact use another meta key than was used in the filter.

REDACTED

Hello Erna.

Thank you for using the plugin.

It looks like conflict with some of your URL prefixes. If any of the URL prefixes contains words like “kennisbank”, “builder” or some other “suspicous” words, try please to change it to something another in FIlters -> Settings -> URL Prefixes

License key not working. I tried the ‘Item Purchase Code’ and ‘Item ID’ listed in the license, as well as the txt file name ‘7039941’ and none worked. Can you help?

Licensor’s Author Username: Stepasyuk

Licensee: Scott Reed

Item Title: Filter Everything — WordPress/WooCommerce Product Filter

Item URL: https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/31634508

Item ID: 31634508

Item Purchase Code: d2403b9c-6906-4a99-b8c1-1dbfa9d1aa1c

Purchase Date: 2022-12-12 14:55:47 UTC

Hi beyondforward

Thank you for using Filter Everything PRO.

Please, note that License key and CodeCanyon purchase code are different things. To set License key, please go to Filters -> Settings -> License, click on the “Get your License Key” https://prnt.sc/-ehm9df3H_XT and you will be redirected to the new page. Log in there with your Envato credentials and you will see your License key for the Filter Everything PRO plugin.

Hi is there also a “Filter term name hook” voor the chips?

Hi eaonflux

Please, replace your /wp-content/plugins/filter-everything-pro/src/Chips.php file content with this content – https://gist.github.com/wpserve/f21f0c6adb4d5e126c1ea53299a532de and you will be able to use the hook ‘wpc_chips_term_name’:
...
$wpc_chips_term_name = apply_filters( 'wpc_chips_term_name', $term->name, $term, $filter ),
...

This code will be able in the next plugin version so you will just update your plugin as usual and this hook remain to work.

ah thanks

is it somehow possible too have 2 or multiple product category blocks in 1 filterset? i need to split the product category in to 2 seperate blocks in 1 filterset

Hello eaonflux

You can use a trick – to creaate 2 or more Filter Sets and point them to the same page. And in every your Filter Set you can add filter by Category. But pay attention that you have to add 2 or more Filters widgets on the page – one widget per one Filter Set.

Hello eaonflux

You can use a trick – to creaate 2 or more Filter Sets and point them to the same page. And in every your Filter Set you can add filter by Category. But pay attention that you have to add 2 or more Filters widgets on the page – one widget per one Filter Set.

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