Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,745 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8990 comments found.

Hello! I want to disable the clear url of the pro version and use it as it is in the free version with the parameters (./?width=3&height=2). Is that possible?

Hello kostasmenu.

Sure, it is possible. To achieve this, please add next code string in the functions.php file of your active theme:

define( 'FLRT_PERMALINKS_ENABLED', false );

Thats working great!Thank you

Super, I’m glad :-)

I would be thankful for a review about the plugin here – https://codecanyon.net/item/filter-everything-wordpress-woocommerce-filter/31634508

styling going wrong checkout showing duplicated. how can I fix?

Hello ebzoneap

Thank you for purchasing the plugin and sorry for the late response. It’s because of war in my country (Ukraine).

In general it’s your theme specific CSS issue, but you can solve it if you add next CSS code in FIlters -> Settings -> Experimental -> Custom CSS

.wpc-filters-widget-content input[type=checkbox]:checked + label:before{ display: none; }

check box is solved now. but what about sort by drop down? drop down suppose to besides the label of “Sort by”. how can I fix it too? https://ibb.co/3m3vLnX

Ok, super. I’m glad that it is solved now.

In general this can be achieved via CSS and I would be glad to help you with this. But this is customizing and unfortunately it is something outside of the item support policy. I recoomend you to ask a developer to help you with this.

Love the product. purchase the Pro version. I am wondering if they can by arranged in-line across the top of the page? this is the site I am working on http://dev.johnalmond.ca/projects/

Hello Grantclan62.

Thank you for purchasing the plugin. And sorry for the late response. It’s because of war in my country (Ukraine).

If you mean to make filters horizontally like here – https://www.auslandsjob.de/jobs/job_type-vollzeit/job_filter_country-europa/ you can achieve this via CSS adjustments.

Try please to add next CSS in Filters -> Settings -> Experimental -> Custom CSS https://gist.github.com/wpserve/ffc87e04af835f27d64db36da6c0b940 and your filters will become horizontally.

Hi, I have 2 questions:

1. The price range is not working. For example, when the min price is selected, it will not stay at that number. 2. And how do I add the color filter of a variable product?

Website: https://shop.derksenenderksen.nl/shop/

Hi Stepasyuk, I have send you the login credentials.

Hi chinlaw

Thank you for your credentials. I checked this and realized that you use URL prefix for price with "_" char at beginning. It seems there is bug with this and I recommend you use URL prefixed for range filters without "_" at the begining. I changed the prefix and now all works fine https://shop.derksenenderksen.nl/shop/?min_prijs=1187&max_prijs=1662

I will fix the bug in the future updates.

Thanks for your great help!

presale question i want to show the filter close and onclick open like an accordion is it possible ?

Hello kapamarou

Thank you for your interest in Filter Everything.

In general it is possible, but requires additional coding. Out of the box such feature is not supported.

Hello kapamarou

I’m glad to inform you that now this feature is available in the plugin.

Hi,

I have bought your plugin to filter products that are extended with some ACF-Fields. The filter ist already working but in the select (dropdown) it shows the value of the ACF-field, not the label.

So to make it maybe more understandable: In our products there are ACF-fields with checkboxes where you can add multiple values to a product. For example: if you have a book – you can set topcis like, science-fiction, action, crime, ... and you can select more than one of them… In ACF we worked with value : label like “1 : science-fiction”, “2 : crime”, ... and – the filter is showing the id (value)...

Thanks in advance.

I will send you a link via pm. The values are coming from acf – custom field.

Strange. Today the labels showed again. But: As I started to filter the first filter the values appeared again…

Ok, thank you for your link. I checked but it seems I can not understand what are values and what are labels in your dropdowns.

In general the reason of the problem may be in code I provided you. You have to change it in accordance with both your meta keys. Unfortunately I provide this code as is and do not support it. Maybe you have to ask a developer to help you with this.

Also maybe you tried to change values and labels in ACF field and expected to see them in filters. As I said before in filter they can be changed only if you update any products with these new values. And also I reccomend you do not enable AJAX until your filtering will be configured to work normally. And also check please whether you use any cache plugins.

Hello, is it possible for the category with child to have the child with indent and not everything on the same level (checkbox filter)? And also is it possible to insert the different filters inside an accordion? this because when there are a lot of filter the user has to scroll a lot and the layout / user experience is not nice. Thanks

Hello blinkerart.

Sorry for the late response. It’s because of war in my country (Ukraine).

1. By default all children elements have indent if you enabled option “Show hierarchy” in the filter More settings section. Here is example how it looks – https://demo.filtereverything.pro/posts/ But if on your site all elements have the same level it means you have CSS on your site, that overrides CSS from my plugin.

2. Out of the box Filter Everything supports folding for filters. It can be activated in More options for a Filter. Here is example how it looks – https://demo.filtereverything.pro/product-category/clothing/women/color-black/c-kind-dress/?max_price=250 (bottom filters)

Accordion behavior can be added for a filters, but as customization of the plugin.

Hello and thanks for reply. Try to be safe first and not worry about the delay! Can you please tell me where is the filter More settings? I am trying to find it already for 30 min without success, Thanks

Sure. Every filter contains it. If you expand filter you will see appropriate link – https://dev.filtereverything.pro/More_options.png

Hi Stepasyuk, I try to add the sorting widget on a page. I first added it in the widget area. Now I try to place it with the shortcode [fe_sort] to place it on a page. I checked the place to check the id number. But I don’t a id number. This is what I get: ‘Wrong Sorting widget id. Please, specify correct.’ Can you help me with this? I’ve got the pro version. Thanks. With kind regards, Nicky

Hi Nicky

Sorry for the late response. It’s because of war in my country (Ukraine).

As I see your support period (6 months) is expired so I can spent my time to help you in case if you continue your support period. This costs less than regular plugin license.

For the moment I can only advice you to check the documentation about the Sorting Widget and common plugin info - https://filtereverything.pro/resources/sorting-widget/

I hope you understand me.

Hallo Stepasyuk! Unfortunately, the filter does not seem to work even if Ajax is disabled. Could you please take a look at https://dewetec.it/shop/. Thank you!

Hello baalpid7

Ok, no problem. Make please support preparations on your site, I can check the problem from your /wp-admin and it will be much faster to solve it.

Filter is no longer showing for current category . I have a lot of sub Categories Fantasy>Monster>Dragon.. But if you go to Monster non of the sub category’s show any more when before they did…

FantasyprintsNL

Thank you for your screenshots. Unfortunately this information is not enough to solve the problem and I can only guess that your template, which displays your products contain additional PHP code that removes some of selected from DB products.

I do not requires this, but if you send me credentials, I can definitely find the reason. It is safe, you may no worry.

I have send you the info so you can have a a look.

Hello FantasyprintsNL

Thank you for you credentials. You use old version of the plugin 1.5.1 but there are new 1.6.0 available here on CodeCanyon. Just update it as I did it on your site copy.

Hi,

First of all, thanks for a great plugin!

How can I change the category view to hierarchical like this example instead of the flat one? I want sub-categories to fall under the parent. https://demo.filtereverything.pro/product-category/electronics/

Hi sparflo

Thank you for your warm words about the plugin.

This option available for filters by hierachycal taxonimes like Category. You can activate it in FIlter -> More options -> Show Hierarchy checkbox

In general I recommend you to look in the documentation to familiary with all Filter options – https://filtereverything.pro/resources/filter/

Sorry, I actually tried to find the information, but totally missed the button “More options”. I would recommend you to move the link to the bottom left corner next to “Close” and “Delete”. Thanks a lot for your quick reply!

Ok, super. I’m glad that your problem was solved. And thank you for your suggestion, I will consider this.

Love this product, and I have the Ajax feature kinda working, but once any filtering is done my 3 column layout (for desktop) is ignored and the content is displayed in one column only. If the page is refreshed then the columns display fine. I’m using Smarter Sections for filters on my archive page. Hoping you can assist and help me to get this working. Thanks in advance for your help.

Hello eseyo

Thank you for you warm words about the plugin. Nice to hear them.

It seems you have the problem described in this article – https://filtereverything.pro/resources/ajax-related-problems/

If shortly – your template uses JavaScript function to dynamically generate that 3 columns layout. After AJAX refreshed content this function shuld be fired again to generate 3 columns again. And this article describes how to do that.

But this requires to be familiar with JavaScript or ask a developer for help.

Hello, I know that it is possible to make a horizontal filter but would it be possible to have both vertical filter and horizontal filter working together?

Example: vertical filters: color, length, price and horizontal filter (above the products): gender and age, but they are compatible. For instance, if I choose gender: women, vertical filters adjust to my selection. Would it be possible with your plugin?

Hello effa54.

Yes, it is possible. Here on demo page is live example with two different Filter Sets – https://demo.filtereverything.pro/apply-button/

You can use this code example created for 2 Filter Sets to make them (and only them) horizontally – https://gist.github.com/wpserve/7683f0e6e1bfbb0c9eba224137e47942

Thank you and am I able to display two filter sets at the same page?

Sure. Here is small description of the important moments related with this – https://filtereverything.pro/resources/filter-set/#multiple-sets

How can I achieve adding several groups of product tags to the same sidebar? So I can create 3-4 tag groups for 4-5 tags each with separate titles that will do faceted inclusive filtering.

Hello studioleland

You can achieve that via creating several Filter Sets where you can add filters by tag, but using Include/Exclude terms option to determine what exactly tags will be in each group.

And also this requires to add several Filter widgets in the sidebar – one widget per one Filter Set.

But this solution is something like a hack and I reccommend you (if it is still possible) to create Custom Taxonomies instead of tag groups (for example with CPTUI free plugin) and create all filters by these taxonomies in single Filter Set.

Such solution requires more efforts but is more flexible, more correct from site architecture point of view and have a lot of benefits.

Hello Andrii, when using select (dropdown) elements, how can I customise the default option value? It would be nice to have such a field in the ‘More options” section.

I saw that but there’s no way to make this dynamic. In my language ‘select’ can be more than one word depending on the context of the field. So it would be ideal to have a field in the filters settings.

Ja_Co

The field definitely will be added in future plugin updates. I already added this task to my schedule. You can change this phrase on any other desired (in English) and translate it in any languages in accordance with this article – https://developer.wordpress.org/themes/functionality/internationalization/

Try please to read a bit abuout common gettext and translations theory and you will be able to translate it on any languages.

UPD: if you want to make it dynamically dependently on a filter you can use hook apply_filters( 'wpc_view_include_filename', $filter['view'], $filter, $set )

to determine what exactly template to include for desired filters. It is not so complex to do this, but requires to be familiar with PHP a bit.

Nice to hear, thank you. I’ll make it work until the field lands. Thanks again!

Hi Stepasyuk.

I’m a Filter Everything Pro user and use it alongside with MetaBox (competitor of ACF).

Everything works great, except I want to be able to filter products based on a Relationship with a Custom Post Type

Concrete example: My products are linked with a custom post type called “Ingredients”. At the moment I can’t figure out how to filter my products based on this relationship.

In the comments I saw you have a fix for this (atleast for the ACF relationship). Could you make this work for metabox?

Hi Antiigen

Thank you for purchasing Filter Everything PRO.

In case of ACF issue there was only problem that instead of related post Titles filter displayed their post IDs and solution was to convert one in another.

But in case of MetaBox it seems you have to know where this plugin stores its relationship data. Usually they are IDs and they may be also stored in post meta fields. So you have to know what exactly meta field was used for this and create filter by Custom Field with the meta key of the field.

Here is code example how to convert IDs into Titles – https://gist.github.com/wpserve/a9a58cb8a37be1472ded53296147cc56

Goodmorning. unfortunatly I could not get it to work with the code example.

metabox saves these relationships in a seperate db which has a couple of columns One contains the ID of one post type (column called “from”), another contains the ID of the other (products in this case) (column called “to”). Another column saves the name of the relationship.

details on this page: https://docs.metabox.io/extensions/mb-relationships/

Not sure if you could help me out based on this information

Antiigen

Okay, I understood you. Hypotetically you can filter products by data from external DB and you have to use hook ‘wpc_filtered_query_end’ for that. This hook allows you to modify original WP_Query and you can replace that relationship post meta query with your custom code that selects products related with “Ingredients”. But of course it requires to be a PHP developer or ask somebody who familiar with it.

Hello Andrii. I have a question regarding sorting functionality. I have implemented this via shortcode above the shop loop area but in both themes there are some problems : https://di-strategies.com/c/resume-templates/ – here everything is fine before I choose some option. Then there is no chance to sort by different thing again. Could you please have a look when you have a while? On Shoptimizer it works great.

it works fine, sorry for bothering

Super, I’m glad for that.

Hello, I’m getting error when I select multiple options with Ajax mode. Here is the staging link where you can check:https://theredstaging.wpengine.com/trp-events/ 1) Go to past events section and click on sort/filter option 2) Once it’s open in popup, try to select multiple options, and see the URL, also once you do reset it stop working.

Can you please check and let us know the solution please.

Thank you.

Ok, sure, generaldata

I can check it if you provide me link to the page, where Filters widget looks as it should be – for example just in regular sidebar, not in popup and the problem will remain.

https://theredstaging.wpengine.com/careers Try to select multiple options and see the URL

Ok, thank you for your example.

It seems there is something with your server config. Try please to make support preparations on your site in accorance with this instruction – https://docs.google.com/document/d/1drDyTnF39LQAxk8BL8PR2hSJdpBm_SE9dR9Yh8of1JU/edit#heading=h.agqaekcbz5j8

and write please comment here that you done it. I will check it and find the reason in 5-15 minutes.

Hello, is it possible that if we delete the shop page and then after we create a new page and set it as the shop page, the filter does not recognize that page any more? In fact with two different website (same theme, same plugins etc…) we can not display the filter on the shop page on one of it. Inside the setting for “And what to filter?” in one we have “Product query. Main query” on the other only “Product query”. Thanks

Hello blinkerart

In case of the Shop page you have several possible values of the “Where to filter?” field:
- Common pages – Shop page
- Pages – Shop page
- Common pages – All archive pages for thisPost type

Try please to play with all these values and check what will work for you.

Ok thank you. Is it possible to set the filter with multiple condition, like Shop Page and All archive product page?

For the momen unfortunatelyt no, but this will be added in future updates.

How is it compatible with the Themify editor, i did not see Themify mentioned.

Hello samuelmaeder

Thank you for using Filter Everything PRO.

Yes, it is compatible with Themify but with some specific settings related to the Themify architecture. For example AJAX feature works for site visitors but for logged in administrators it may not work.

Also it requires separate Filter Sets for Shop page, for product category pages (one common Set for all categories), for tag pages etc.

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