Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,656 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8951 comments found.

Hello stepasyuk ,

I need to be able to translate the title of the sorting widget.

example:

“sort by: rating ascendancy rating descendant ...”

This title does not appear anywhere in wpml translations. In the wpml configuration these options appear as translatable:

Filter Sets (filter-set) Filtros (filter-field) SEO Rules (filter-seo-rule)

nothing else.

After scanning the plugin with wpml, those strings do not appear in the translation strings either.

Any ideas? Thanks : )

Solution:

Use this shortcode in widget titles

“[wpml-string context=my-domain name=my-name]My string[/wpml-string]”

: )

My purchase code is: 79b1d8a5-b5b5-498c-a95f-38dbb337f3c1

The plugin don’t work better. If you try to filter this page https://staging-d7bf5be60ebe.microelettricacatalogue.com/category/protection-relays/protection-relays-for-transformer-protection/ via the left sidebar, selecting, for example, the “CEI-021” certification, the result is wrong, because no product has that certification “CEI-021”. I’m working with Elementor Pro + ACF (for the custom product features) + Ele Custom Skin (for the custom product archive). I’m waiting for your response. Thanks in advance

Hi Turibuda,

Thank you for choosing Filter Everything PRO.

Go to the filter set setting and in the “And what to filter” choose another query and hit update then check the workability.

Best Regards,
- Victor

Добрий день! Щось мені підказує, що ви мене зрозумієте українською)) Питання таке. Намагаємось налаштувати сео-правила. Сайт відкритий для індексації. Атрибути відкриті для індексації. В налаштуваннях фільтру обрані фільтри позначені для індексації. Але чомусь в коді готової сторінки фільтрації бачимо тег <meta name=’robots’ content=’noindex, nofollow’/> Звідки він береться та як його прибрати? Приклад сторінки тут: https://lapa.shop/cats/burma/burma-color-blakitna-burma/

Hi ruslanyh,

Unfortunately, we do not debug/provide custom codes following support policy here on CodeCanyon. In addition, we do not have time to do this even under the terms of payment. We are very grateful for your understanding.

Best Regards,
- Victor

But you created a filter, right? I’ll give you an idea. Add another filtering option: sold and unsold items. In this case, we will not have to install additional codes and they will not conflict with your plugin. And your plugin will become more functional ;)

Hi ruslanyh,

Well there is the ability to create a filter by stock status if you are using Woo – https://prnt.sc/Vqoe4swcUwAT and here are the filter settings – https://prnt.sc/gR3izkko4PfW

Best Regards,
- Victor

I am having problems displaying posts default category as a filter. I believe it is the same problem faced by the user mgcl1 but I cannot see what the fix was. Can you please help? Thanks

Hi ModMedDev,

Please provide more detailed information on the issue with screenshots and the link to the page with the issues so we can check it. Also, write instructions on how we can recreate the issue you are facing on that page.

Best Regards,
- Victor

For the author filter, is it possible for it to display the Display/Full Name, or nickname, instead of the username?

Hi triangle-media,

Not out of the box it will require custom coding. We would simply recommend using the ACF custom field with author options that you want to display in your filter and simply apply to your posts. So when you create any post just choose the needed “author” option. And make a filter by that custom field.

Best Regards,
- Victor

We’re using Filter Everything Pro v. 1.7.5, and the filters on our product listing page stopped filtering. We’ve tried with both AJAX enabled/disabled and nothing happens. Example product listing page:

https://indigobiosciences.com/nuclear-receptor-assays/target-receptor-androgen-receptor-or-androgen-receptor-ar-nr3c4-or-estrogen-receptor-alpha-era-nr3a1/

Hi Sheldondev,

We have checked the site and the filtering is working correctly, what is not working is the checking mark next to the filter, because of some CSS conflict with the theme or custom CSS. Here is how you can fix it by removing those styles – https://prnt.sc/x89iWFDXif3f

Best Regards,
- Victor

Hi Victor,

The filtering is working now because we rolled WooCommerce back to 7.9.0 – If we update Woo to anything above 8.0, the filtering breaks, as you can see on our staging site here: https://indigobioscstg.wpengine.com/nuclear-receptor-assays/species-cyn-monkey/

The products display is using the standard [products] shortcode from WooCommerce, and the page builder is BeaverBuilder.

We checked it with the latest version of Woo and everything is working well. Try to choose another query from the filter set the setting in the “And what to filter?” dropdown, then hit update and check the workability.

Best Regards,
- Victor

Hello

on mobile devices I want to put filters on the top I tried all options but not moving to the top

Hi kldalhalabi,

Are you using the widget area to display the filter widget? If yes, then more likely in mobile mode your widget area is at the bottom of the page, that’s why it is not on the top of the page. Try to change the place of the widget area in mobile mode or use the shortcode [fe_widget] to place the filter widget in the needed place. More about shortcodes can be found here – https://filtereverything.pro/resources/shortcodes/

Best Regards,
- Victor

Hi,

I purchased your addon (4e30c895-281b-4f88-a7b0-3d6eca6e72d8) and can’t activate it via wordpress dashboard.

How to activate it please?

Sorry Victor :-( Sent !

The license is activated and everything is working well.

Best Regards,
- Victor

Thanks!

Hi, is it possible to connect the search filter to a specific product attribute field?

By default, the search filter searches in all the product content. This gives me inaccurate results. It would be awesome if it is possible to only search within a specific product attribute field or perhaps custom field.

Is this possible to do?

Thanks in advance. Rod

Hi Rodenike,

Thank you for choosing Filter Everything PRO.

Not sure what exactly you are looking for, do you want to search filter terms inside the filter widget like this – https://prnt.sc/tphshRwAWG86 or do you want to somehow change the posts search field logic?

Some screenshots with the issue and the link to the page with the issue would be great, so we can check it ourselves.

Best Regards,
- Victor

Hi Victor, thanks for such a quick reply. Please see this screenshot to find out which search field I mean:

https://woocommerce-972249-3542382.cloudwaysapps.com/wp-content/uploads/2023/09/Screenshot-2023-09-20-at-12.41.17.png

Is it possible to connect this search field to a specific product att field, custom field or even just product title?

This search field is searching products by the title/description/SKU in products. It works with the filter, basically if you choose any filter term and try to search anything it will take it into account.

Our plugin only passes the search phrase to WP_Query which is filtered. And WordPress itself already decides to search in three fields – post_title, post_excerpt, post_content.

If you want to search only by post_title, you need to modify WP_Query through a hook. This hook can be ‘wpc_filtered_query_end’ – in our plugin. Or the classic WordPress hook – ‘pre_get_posts’ (or others in the WP).

Best Regards,
- Victor

Hi,

I have a problem whereby the mobile filter button for a custom post type (created in ACF) is also showing on unrelated pages. This is the archive I am filtering via the sidebar widget – https://medcourse.co.uk/education/on-demand-courses/.

When selecting “where to filter” on the filter set, the only option that works for this custom post type is “Common WordPress pages”. Then, the only appropriate option for filtering is “all archive pages for this post type”.

This works great for the intended page, but is also showing on standard pages (only in mobile, as I don’t have the sidebar enabled). For example, here https://medcourse.co.uk/education/providers/.

I’ve tried selecting a taxonomy of “on demand courses” but this meant the filter didn’t work.

I can work around this by doing a display:hidden css on these specific pages, but I’d rather not have to.

How do I ensure that the filter only displays on the archive for the “on demand courses” post type?

Yes, that is the needed option.

Best Regards,
- Victor

Perfect. This works great. Thanks for your help.

James

Hi medcourse,

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!

Best Regards,
- Victor

1. Adding an excluded filter option not working

There are currently four options for one filter. We want to add a 5th option (archive). We want the archived item to remain OFF of the main filter sets, and then we will create an additional filter set that will show up on a separate Archive page. So we added the Archive answer, checked that box on a couple of posts, and verified the front end. Even though the filter set was set to INCLUDE only the other 4 answers, the two archive items were showing up in the output. So then we switched the filter to simply EXCLUDE the archive answer. The same results happened. All items showed up, including the excluded items. Also, a non-labeled option shows up in the filter with ”(1)” next to it. I thought it might be a ghost label for archive posts, but the (1) stays the same, no matter how many posts are checked for that item. The filter is using radio boxes. If we switch to checkboxes, the ghost (1) goes away, but the archive items are still showing up. I’ve thought of trying to exclude the archived in the query itself, but that is much more cumbersome to maintain over time. Any thoughts on what is going on or how we can fix this?

2. Limited initial display

Is there a way to display a small number of results (perhaps featured results) before a filter is chosen, and then ALL of the results after the filter(s) are chosen. We’re NOT looking for pagination of the results. We’re looking for ALL of the results to show up direct on a single page, but only after an initial filter is chosen. Is that possible?

3. Re-using filter sets on multiple pages.

We have tried to use a filter set within a ‘global section’ (Salient Theme). Although it allows it as an option, when this is selected, nothing shows up in the relevant query dropdown. The only work around we have come up with is to use pages, but that requires a unqiue filter set for each page, even if the filters/set are the same. Can you explain how we can make it work within the global sections, so that we can easily push out a similar filter set to multiple pages?

4. Duplicating filter sets.

If there is no solution to utilize global sections, we could use a duplicator plugin, but when we tried to use “Duplicate Page” (which has been installed on the site and works in every other area), it allows the duplication of a filter set, but it does NOT duplicate the individual filters. Is there a known conflict with this plugin? https://wordpress.org/plugins/duplicate-page/

Thanks for your assistance.

Hi brettmwillis,

1. Adding an excluded filter option not working

Include/Exclude only adding or removing filter terms from a filter widget, not removing products from the page.

2. Limited initial display

Possible only with custom coding, out of the box there are no features like that. If you want to write a custom feature like that, this function will be useful for you:

// Check if is a filtered page
/**
 * @return bool true if it is a filtered page and false if not
 */ 
flrt_is_filter_request();
// Usage example:
<?php 
if( flrt_is_filter_request() ){
    // Your useful code
} ?>

3. Re-using filter sets on multiple pages.

Inside the filet set in setting, there is such option https://prnt.sc/1PhgR8jfJgfD if on each page there is the same query it will work correctly across all of the pages, but if the query on each page is unique (lots of plugins doing it in such ways) it won’t work. The only solution is to create a filter set for each page. There is no work around at least at this point.

4. Duplicating filter sets.

No there is no conflict with it, it is just not working due to the complexity of the plugin features, as it simply copies the “page” not the rest of the data. However, our development team is very positive about adding a duplicate feature to the plugin.

Best Regards,
- Victor

Is it possible to display a filter button on Desktop? It only appears on mobile (even after adding the short code and enabling the setting)

I am creating a filter that just displays brands, I want this to still be displayed on mobile. The other filter on the page, is a long list which I do not want visible.

So the idea is to disable the brand filter set still but hide the normal filter and have a button for it

This does not work because if I set the width to 500, the filter button appears but when I click it, the css is messed up. It is only correct once the width is <500

I just want a filter button to be displayed and useable on desktop

Hi centrable,

It won’t work like that if you have two filter sets on one page, as this is a global setting. Only with custom coding, it would be possible. Or create a container for desktop and mobile that will work like a filter button and not use mobile pop-up just use the custom solution on it. So when you click on that container it will open a modal with the widget area.

Best Regards,
- Victor

Hello, How do i style the drop down? When i choose a parent category from block options, am unable to filter based on the sub category. How do i work around this? How do i filter out only specific categories?

Hi sachingopalakrishnan,

So basically you wan to create two filters? one for parent categories and the second one for sub categories?

Best Regards,
- Victor

Yes Sir … I should be able to filter out subcategories once the main category is chosen …

There is no such possibility to separate one filter into two. But you can add two filter sets on one page and use include/exclude functionality to make one filter with parent categories and a second one with subcategories.

Best Regards,
- Victor

Hello,

I just purchased your pro version. I would like to know in what way i can do the following:

I got a main product filter for products called ‘werkplekken’. I would like to make a filter visiable on condition of the selection. So for example, if I select ‘broadcasting’ I would like to show ’ Sensor technieken’

I have managed to realise the conditional visability for the active filter group, but not the selected filter.

Thanks in advance

https://crowdcom.apear.dev/shop/

Hi Kabbap,

Thank you for choosing Filter Everything PRO.

Well, for example, you have a color filter and size filter, all you can do is when you choose a color term then a size filter appears, using the parenting option in the settings. There is no such functionality to show different filters depending on which term was chosen. At least not yet.

You can write only custom code for this purpose using the flrt_selected_filter_terms();

Note: this function works correctly only if it fires after the Main WP_Query. It means after hook ‘pre_get_posts’ fired.

/**
 * @return array|false all selected filters or false
 */
flrt_selected_filter_terms();

Best Regards,
- Victor

I find it hard to write this code. Can I pay you to do this for me :) ?

Unfortunately, we are unable to accommodate requests for custom features, even with the option of additional payment. Our current focus is centered on the expansion of plugin functionality, so we physically do not have enough time to do it.

We appreciate your understanding and remain committed to enhancing your experience with our product.

We can only recommend finding the needed dev on such platforms as Upwork or any others.

Best Regards,
- Victor

Hello,

Can we integrate sorting widget on serach results page? Here is an example:

>> https://ibb.co/VLDbGV2 >> https://dentstore.ro/jolisearch?s=autoclav

Thank you!

Hello Victor. Please tell us how can we do this “you need to have a sorting widget inside your widget area in the admin dashboard” using Filter Everything? Thank you

Hi weblike,

You need to go to the widget area from the admin dashboard and place the filter everything – sorting widget – https://prnt.sc/ROY3-oUDP2HB here as you see you can create the needed sorting options.

Then please place the shortcode on the needed place of your page. We just used sider to for to place there a shortcode [fe_sort] – https://prnt.sc/ul5pyamuQn6k

On the page where you have placed the shortcode you will see this message – https://prnt.sc/4E_2qhniG-_w then go back to the the shortcode and use the ID of the needed sorting widget [fe_sort id=”4”]

More about shortcodes you can read here – https://filtereverything.pro/resources/shortcodes/

Best Regards,
- Victor

Thank you Victor. Great explanation!

https://scenttocoventry.com/product-category/accessories/

You can see here the product brands don’t resemble the brands on the page.

How can it just be filtered to whats on the category without having to create lots of different filters.

Done thanks

Just to confirm I want like this.

Gender -

Male, Female, Unisex

Collections -

Perfume, Aftershave & Cologne, Skin Care, Testers, Gift Sets, Minis, New In, Staff Picks, Accessories

Brands -

List of brands that are on collection page displayed.

Price Range -

Price range

Please ensure this is on all product category pages including when you search a product and click a brand from the brand selection here >https://scenttocoventry.com/brand/armani/

We have checked the site and the issue is that each category page has a unique query. We set the page on the specific category page – https://scenttocoventry.com/product-category/accessories/ and everything is shown correctly. You need to either make the query the same on all pages or create a filter set for each category page.

As to the functionality that you need you can use something liket this example:

<h1>Select an Option</h1> <form id="navigationForm"> <select id="optionSelect" name="options"> <option value="google">Google</option> <option value="yahoo">Yahoo</option> <option value="bing">Bing</option> </select> <input type="submit" value="Go"> </form> <script src="script.js"></script>
and JS
document.getElementById("navigationForm").addEventListener("submit", function (e) {
    e.preventDefault(); // Prevent the default form submission behavior

    // Get the selected option value
    const selectedOption = document.getElementById("optionSelect").value;

    // Define URL mappings based on selected options
    const urlMappings = {
        google: "https://www.google.com",
        yahoo: "https://www.yahoo.com",
        bing: "https://www.bing.com" 
    };

    // Navigate to the corresponding URL
    if (urlMappings[selectedOption]) {
        window.location.href = urlMappings[selectedOption];
    }
});

Best Regards,
- Victor

Hi, www.scenttocoventry.com.

I’m trying to setup filters where they only apply to that page.

I know theres a option called “where to filter” however we have tons of different categories and also search related results where we’d like the filter to generate according to the products on the page and not on other pages.

We’d also like to create a part that says “Gender” and they can choose male or female and it goes to the catgeory page with all male or female products.

We’d also like to create a part that has different categories they can select and it goes to that category instead of filtering the categories within the page they are on.

I hope you understand.

Thank you.

Hi ovacreative1,

If you want to place the filter set on the product categories, you need to choose from the “Where to filter” dropdowns “Product categories” + “Any Category”. But it will work correctly if all of the category pages have the same query.

This functionality you can create on your own, basically all you need to do is create a dropdown with different links, and the “Go” button that will send you to the chosen link option male/female.

Again this can be created the same as the previous functionality, just create a list of link to all categories and place it there so it will redirect you to the needed link that was chosen, the filter do not have such functionality. It can redirect you from one page to another only.

Best Regards,
- Victor

My filters stopped working. From the moment of installation until now, everything worked great, now it stopped working. Sometimes the first level of filtering works but the second level doesn’t work at all. You can see the filter here and try to filter between the brands – https://cellfi.co.il/product-category/%D7%9E%D7%9B%D7%A9%D7%99%D7%A8%D7%99%D7%9D/ I went through all the settings and made comparisons to other sites where I have the plugin, Everything is configured correctly and still not working I would be very happy for your help

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

Best Regards,
- Victor

sent the credentials

We have checked the site and it seems the issue happened because of the Elementor page template that was implemented, or any changes that were made to it. Now each category page has a unique query on it, not like previously when it has the same query across all of those pages. When we set the filter set on a certain category page like this for example – https://wh45ioookj.tempsite.io/product-category/%d7%9e%d7%95%d7%9e%d7%9c%d7%a6%d7%99-%d7%94%d7%a6%d7%95%d7%95%d7%aa/ everything is working but when we choose Any Category it is not working because the queries on the pages are unique. You need to check what are the last changes that were made on the site and those templates. Or create a filter set for each category page.

Best Regards,
- Victor

Good morning. I believe we have purchased your plugin on two occasions for two different clients. For one of them, desguacescordoba.com, we installed and configured it for their website. Last week we migrated the site to another server and now the plugin does not work because we need to enter the license. The problem is that we do not have that license because I have tried to enter the “Item Purchase Codes” and none of them work. Can you provide us with the correct license and if not, where can we see it? Best regards.

Hi SeintoSOFT,

Thank you for choosing Filter Everything PRO.

Please check this page to understand how to get the license keys – https://filtereverything.pro/resources/license-key-issues/

Best Regards,
- Victor

Thank you!

Hi I’m getting these errors in my PHP logs that seem to come from the filter everything plugin:

- PHP Warning: Undefined array key “used_for_variations” in /srv/htdocs/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php on line 1187

- PHP Warning: Undefined array key “logic” in /srv/htdocs/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php on line 1203

- PHP Warning: Undefined array key “logic” in /srv/htdocs/wp-content/plugins/filter-everything-pro/src/Entities/EntityManager.php on line 1208

Could you please provide me with a technical solution?

Thank you

Hello, Thank you for your feedback. I’ve created a lot of filters. Redoing everything would take a lot of time! Would you have a technical solution for correcting these warnings without having to redo all the filters in my shop please?

Hi kelprestation,

Well, you’ll still need to delete them from the database to fix the warning. In fact, you can just ignore them as they are just warnings and not errors or anything critical. It shows a warning that it didn’t find the certain option in a filter that was created earlier because there was no such option in older versions. It doesn’t have any impact on the system or plugin workability.

Best Regards,
- Victor

thank you for these explanations, I understand. I’ll have no choice but to leave them.Cordialy. Bruno

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