Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,762 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8999 comments found.

I would dynamically create internal links for existing values filters.

I have 3 type of filters:

- Place - Location Type - Event Type

While in place (rome) i need to create links like:

/event-type-private-party/place-rome/ /event-type-degree/place-rome/ /event-type-18-party/place-rome/

and so on…

Is there any function to retrive existing terms (event types) for a current taxonomy (place in this case)?

manzullo

I would like to help you with this, but this is something out of the support policy scope. I can not write code for you or to develop required algorhytm to solve your task as it requires some efforts, some time which I have no and this is not provided for by the support policy.

Probably you have to ask a developer to help you with this. Functions above will be useful for him.

I hope you understand me.

ok thank you. I can understan. So can you support me about more about this functions?

Sure, I could only tell you what they do but these already described in comments above them.

1. flrt_get_page_related_filters() – returns array of all filters from the Filter Set related with current page or empty array if there are no filters

2. flrt_selected_filter_terms() – returns all selected filters or false if there are no selected filters

Hi there,

We have 2 issues which we do not manage to sort them out so am asking for your help.

1. We have established 4 filters which are setup to be displayed in all category pages and 1 filter which should be displayed only in a specific category. When we acces the specific category – only the dedicated filter is displayed, the other 4 filters are missing

2. For those 4 general filters (stock status, brands, price range and price type) – all the values displayed in sidebar close to each checkbox are correct as values, however when you select some checkboxes the Brands and Price Type (based on _sale_price meta) are not doing anything, the page is reloaded with the same number of products.

If you need any extra details, please do let me know.

Many thanks!

Hi Florian

Thank you for your credentials. I checked your site.

1. About your 4 widgets for all archive pages for post type and separate widget for certain category – it’s normal behavior of the plugin and there is no any errors. Certain Filter Set has bigger priority than common and if it is specified only it (or several certain) will be shown.

But I’m not sure why do you use 4 Filter Sets instead of to use single Filter Set with all 4 filters? I think it would be better in your case and You can specify certain Filter Set for specific Category with all 5 filters.

2. On your Shop page there are no products, only Product categories. You have to configure your Shop page to show also products but not only Product categories.

And it seems that your Product category pages and Shop page have different WP_Queries. It means that you have to create different FIlter Sets for your Shop page and for all your Product category pages.

Thank you for your help Andrey, we managed to setup the plugin as it should work due to your feedback above. Take good care of you and your family. Slava Ukraini! ❤️

Thank you webbing. Heroyam Slava!

Hey! Great plugin. But im having problems to translate Filter labels or even to chose witch filter i whant to display in widgets. No options to chose from when iw created multiple filters. Just a blank filter everything: filters widget block. I use Polylang Pro and Loco translate.

Btw, i suggest u add info to “Show hierarchy” option that it only works with checkbox list. Lost some time looking for solution, why it doesnt work when i was using “labels list”.

Ok, thank you for your suggestion. But I’m not sure how to use hierarchy for labels list. They are placed in a line and they can not be expanded/collapsed – https://prnt.sc/cWU9w1jfU4ah

Hi, i’m adding some custom fields to the seorules post type. I would help about to retrieve the ID of the current rules post ID

Hello manzullo.

You can get post ID for SEO Rule for current filters combination with the next code: if( class_exists( 'FilterEverything\Filter\Pro\PluginPro' ) ){ $seoFrontend = \FilterEverything\Filter\Container::instance()->getSeoFrontendService(); $seoRulePostId = $seoFrontend->get( 'seoRulePostId' ); var_dump($seoRulePostId); }

I have tried unsuccessfully to set up my first filter on WooCommerce Product Category for Pages I have upgraded to Pro but this option is not clickable in the Filter Everthing dropdown list. I am confused

Hello burnagebete

Thank you for purchasing the PRO.

If you can not select desired taxonomy for filter, it means that this taxonomy is not related with the Post type selected for Filter Set. Try please to select Products as post type and after to select Product Category for filter.

Also I recommend you to look into documentation how to configure filters correclty – https://filtereverything.pro/resources/quickstart/

Thank you for your help, I have now created the filter. Unfortunately I now have another problem as the Elementor Widgets are not available in the Elementor page. I have try all manor of different combinations after research on your support site and in your documentation. This issue does not appear to be documented, or am I missing something

Hello burnagebete

If you mean that you can’t find Filter Everything widgets in Elementor sidebar, it is known problem in the last Elementor versions. Search bar for that widgets doesn’t work, but you can scroll Elementro sidebar and find there FIlter Everything widgets and select them.

If you have problems with other Elementor widgets, it seems you have to ask Elementor support about that.

Hi Stepasyuk,

First and foremost, thoughts and prayers to you and everyone in Ukraine! Our hearts go out to all of Ukraine as we watch the news from BC Canada. Wish we could do more aside from donations . . .

I just bought the pro version of your fantastic plugin. Enjoying reading and learning about all the options, etc. I do have a question regarding the “xx products found line” – please see screenshot. https://prnt.sc/1nAMktpxBlqg

Is there a way I can place the “xx products found line” under the Chips panel? Or even below the last filter?

Thanks!

Peter

Hi Petermgr.

Thank you for your words of support. Indeed, not only words are important to us now, but also real help.

About your quesiton – yes, sure. You can use function flrt_posts_found_quantity( $filter_set_id ) that returns number of posts found.

Example that you can put in your sidebar or page template // 237 is Filter Set ID <?php echo flrt_posts_found_quantity( 237 ); ?> products found

But you have to be familiar a bit with PHP or ask a developer to help you to put this code in the right place.

Why is edit showing on the page where my filter set is displayed and how can I get it removed?

Hello junkmailblitz

It is useful link for convenience to edit current Filter Set. But you may not worry, it is visible only for logged in administrators. All other users do not see it.

But if you want to hide it anyway, you can add next CSS in Filters -> Settings -> Experimental -> Custom CSS .wpc-edit-filter-set{ display: none; }

This comment is just to leave feedback for future improvements. I can see from others comments that there isn’t a way to duplicate sets.

Ideally it would be create to duplicate filter sets or be able to apply one set to multiple categories.

The duplicate feature would be ideal.

Hi onlinegrowthgroup

Thank you for your advice. This task is already in my schedule and I will notify you here in comments, when it will be ready.

Hello,

I am trying to add brand icon in “brand” filter but it does not show up. I am using electro mandras theme and the brand attribute is called brand.

I have tried adding php code i found here in the comments but I get this error:

“Cannot redeclare wpc_term_brand_logo() (previously declared in wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php:161)”

Any idea?

Hello dimitrakopoulospant

Thank you for purchasing Filter Everything PRO.

Indeed, if you get this error it means that this code already presents in the plugin. This code expects that your Brand taxonomy is 'pa_brand' or 'pwb-brand' which most popular Brands plugin use. And also this code expect that icon URL stored in the image term meta field.

If you theme or plugin or custom code for Brands uses another taxonomy name or another name for term meta field, you have to modify this code in wpc_term_brand_logo() in accordance with these names. Probably it will require a developer’s help if you are not familiar with PHP coding.

Hi there, I hope you are doing well! I am having issues that I need support with. On one page I have a filter inserted via a sidebar widget and it’s functional. On another page I added another filter (different one) via a shortcode and that one doesn’t work. The filter shows up but it doesn’t seem to be linked to the query and does not filter the posts. I tried all available queries in the backend filter page, emptied cache everytime etc, no success. May I please send you credentials via email to have a look? Thank you,

wigdesign

Your second filter works also, but you have to configure your AJAX for this page correctly. You can specify “CSS ID or Class of Posts Container” value for the appropriate Filter Set as .vc_col-sm-8.column_container

Optionally you can add your own ID for that container and specify it for the Filter Set. I’ve sent you link with example of the working filter.

Amazing it works, thank you so much!

Super, I’m glad that it works for you now :-)

I would be appreciate about a review for the plugin here on CodeCanyon https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/reviews/31634508

Thank you in advance.

hi, i have installed filter everything to my website and insert it to my blog page. However, when I filter with posts, it still showing all posts after loading, please help

webpage: https://siriusa.asia/supplements

Hi, I have tried all the wp_query in the filter and set the what to filter as post also but it still not filtering in my blog page

Maybe can you access my site and have a look for it?

Yes, sure. I already answered you about that in other comment.

Hello,

great plugin. But do you know what is really missing? A text-search for title for example. or generally in excerpt/content. :)

Hello BuddyHoli

Thank you for your warm words about the plugin and for your advice. I will definitely add this field in the future updates and this task is already in my schedule. I will notify you about the result here in this comments thread.

Hello, We use your plugin to filter products by categories with the show hierarchy enabled but we would like to have always them uncollapsed could you tell me how we can achive it ? thanks in advance Best regards,

Hello prezenz.

Thank you for purchasing the plugin.

This can be done via plugin’s code customizing and requires a developer’s help. I have already this task in my schedule and I will add this in future plugin updates, but I can’t say when this will be ready.

Hello. I added a category and assigned a post. Unfortunately this is not displayed. But as soon as I assign another category to the post, it is displayed. Can you please help me?

hs-technik

Thank you for your credentials. I checked this and realized that you displayed on your page blog posts from several categories https://prnt.sc/wCptHFTNheJ7, but not from the category “HS-Technik Li-Ion Akkus” So this is the reason, why you see it empty in Filters widget.

Try please to show all posts on the page (remove selected categories from Blog posts module in Avada) or at least add the category “HS-Technik Li-Ion Akkus” to the Blog posts module and you will see it non-empty in Filters widget.

Hello thanks for your great and fast support. I have add the category but filter is empty. Posts for this category now display but Filter Widget show a “0” – any idea?

You should also update the Filter Set. I did it and now it is “HS-Technik Li-Ion Akkus (2)”

Hey there, any chance you can make this elasticpress compatible?

Hello Puru991

Thank you for purchasing the plugin.

This task was already added to my schedule but for the moment I can’t say when exactly it will be ready. But I will notify you about the result here in comments.

Thank you so much, waiting to purchase more codes when this is done

Hi, I have an issue with the Price slider. The Slider has no color, I tried to add CSS but had no success. Also, the Elements at the start and the end of the price slider are not round.

Hello artlinedesign

It seems it is influence of your theme CSS or maybe some plugin. Provide me please with link to the page with the problem, I will check it and let you know how to fix it. Optionally you can send it via PM.

Hi, I use Pods Framework Plugin https://github.com/pods-framework/pods for dynamic data in WordPress (Like ACF). Does your plugin work with Pods Framework integration (Filter by Custom Field, Custom Post Type created by Pods)? Thanks

Hi vietnghe

Yes, it was tested with Pods and works with this plugin.

Hi! We use Elementor Pro and the post widget with number pagination. When we order the posts in a random order, some of the posts come back in the following pages. Do you know how we avoid this from happening? Thanks

Hi expomangersante

I’m not sure I understood you about the problem. Can you please explain it more clear or maybe provide me with screenshot/video?

Thank you.

Hi, we are using your plugin and are happy with it. We would like to sort the filter terms numerically. Can this be implemented? Or will there be an update soon with this option?

Hi hariswebspark

Thank you for purchasing the plugin.

1. In general you can sort terms by any parameter, but of course it requires additional coding. Here is example how to sort terms by menu_order value stored in term meta fields – https://gist.github.com/wpserve/6068fdfb0fe8312edb3406b32e0f0cea

If you are familiar with PHP or you can ask a developer to help you, this code is good example how to achieve that.

2. This is evidence of some JavaScript conflict. Send me please link to the page with the problem I will check it. You can send it privately via PM.

Hi, thanks i will have a look at it. I did send u an email with the link. Can you please check this asap? Webshop owner gets impatient ;)

Hi hariswebspark

Thank you for your link. I checked this and realized that you have JavaScript code error on your site. I’ve sent you link to the screenshot with this error on email. I think you have to fix it and after to try to check if variation removing works after that.

BTW, I’m not sure how and where you tried to remove variations. It would be better if you provide me with screenshot or even short movie how you tried to do that.

Hello, I am trying to put a filter on a product tags -page, so that the filter would filter according to the product categories I have. It, however, does not filter anything, but shows everything under that one tag. What could I do to make this possible? Thank you!

Nevermind, I solved it other way! Stay safe!

Hello fannilaa.

Thank you for purchasing the plugin. I’m glad that your problem is solved now.

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