Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,686 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8967 comments found.

Hi,

We set up a multilingual website using polylang. All product attributes and values are translated.

We’ve noticed the filter is using the base url of the main language. Because we are using a multi domain set up with different tld urls, the filter is generating a lot of 404 pages.

https://www.ceralith.be/natuursteen/boordstenen/materiaal-chinese-hardsteen/ is an example of url generated by the filter in the main language, which is correct. https://www.ceralith.be/pierre-naturelle/bordures/materiaal-pierre-bleue-chinoise/ this is an example of url generated by the filter in a translation. Since the url for the translation is certalith.fr a lot of 404 pages are generated.

Is it possible to use a relative url structure ( only uri)?

Hi JoelFranssen

Yes, there is an issue with that in Polylang, as they are using a bit custom way to return the needed domain names for different languages, it is not changing it in the default way like WPML does in order to retrieve the needed data. But as far as we know, there should be a fix for that soon.

Best Regards,
- Victor

Could you give me an ETA for the update, please?

Hi JoelFranssen

We just reached out to the development team, and they are currently fully busy with other functionalities, so they are not sure about the release date at the moment. We will inform you right away as soon as we receive any updates on it.

Best Regards,
- Victor

Hi there, I am having issues with the PRO version of the product filter I just purchased. It is not filtering the products correctly, and the number count is also incorrect. How do i contact you for support? I have screenshots of what is happening. Thanks.

Hi wennie2

Thank you for choosing Filter Everything PRO.

Did you follow the QuickStart guide – https://filtereverything.pro/resources/quick-start/ it is a very important part as it helps to understand the basic and most important settings of the plugin.

If it won’t help, please send the credentials to the wp-admin dashboard following this document so we can check it.

Best Regards,
- Victor

I asked this question a few days ago, but not sure your response understood the question… rewording for clarity:

Is there a way to set a filter value by default when the page loads?

e.g. we’ve added a filter on _stock_status and want to default to showing “in stock” products when the page loads.

Note: we want to keep the filter; we don’t want to just show in stock products. —we want the customer to still be able to switch between in stock and all products, but have the value of the filter on page load set to in stock.

Is that possible?

Hi 6qtc9cqy5c

Only by the URL. For example, you have a shop page with filters, and by default, you want some filter to be chosen like stock status, you choose that filter and copy that URL with the filter, and then use that link for your shop page.

There are no other ways.

Best Regards,
- Victor

Is there a way to change the urls

from

/format/like/this/

to

?something&like&this

and to us ajax/js rather than physical links for the filter options?

Hi centrable

The only thing that you can do from the list is turn off the friendly URL permalink manager from our plugin so the URL will be like GET parameters.

In general, there is no support for accounts whose support period has expired following the support policy.

But we can help you later after all requests from accounts with valid support periods are processed. It may take some time – days or weeks.

If you want to receive it faster, please extend your support period, and this request will be processed in the first queue for supported accounts.

Best Regards,
- Victor

Thank you I’ve used define( ‘FLRT_PERMALINKS_ENABLED’, false );

Is there anyway to just use AJAX and not display the link in the html? (ie test) for the filter

Hi centrable

No, unfortunately, that is not possible.

Best Regards,
- Victor

Hi,

When filter selected, it puts those posts to the top of the list but then still continues to load all other posts.

I’m using Jupiter X theme with Elementor (v3.23.1) – WordPress 6.6 – PHP 8.2.

In the plugin settings:

- Post Query 2 (is the only one that works in the way described above) - Container Class = .elementor-widget-raven-advanced-posts - Ajaz – Yes - URL prefix = category

Test URL = https://manpowergroup.wpenginepowered.com/insights/

Also, is there a way to stop the filter options being collapsed by default?

Many thanks for your support,

J.

Hi jonathan7799

Thank you for choosing Filter Everything PRO.

The infinite, load more, AJAX paginations are using default query, they are simply ignoring the filtered query. For Woo products, there is this plugin who have compatible infinite, load more paginations – https://wordpress.org/plugins/load-more-products-for-woocommerce/

For other CPT there are load more anything, or other plugins that are compatible.

Also, there is a hook wpc_filtered_query_end:

do_action( 'wpc_filtered_query_end', $wp_query );

With the help of this hook, you can make the pagination work with the filtered query, and pass the pagination parameters on it.

Best Regards,
- Victor

i have just purchased the plug-in after a trial period. Activation goes well but when i update the plug-in from v 1.7.6 to v 1.8.5 all my current filters are gone. Everything works fine when i do not update to the latest version. Is there a way to back-up the filters prior to updating and restoring them after?

Hi administratie73

Thank you for choosing Filter Everything PRO.

Weird, can you please send the link to the page where previously the filters were displayed, so we could check it?

Best Regards,
- Victor

We have checked your PM message, yeah this is very weird behavior.

Can you please send the credentials to the wp-admin dashboard following this document so we can check it and try to update it as well? Just make sure you made all of the needed backups.

Best Regards,
- Victor

Hi, on https://family-fundus.de/kategorie/schnitzeljagd/story-detektiv/alt-5-jahre/ there are layout shifts which are not normal.

For comparison: If you first go to https://family-fundus.de/kategorie/schnitzeljagd/ and then click on “8 years” in the filter on the left and then on “Detective” as the topic, the layout shifts downwards after each page load. Can you see why it does this? That wasn’t the case until recently and I can`t see the reason.. Thanks!

Hi jens151

This is not connected to the plugin or its functionality. But as an exception, we can point out the issue – https://i.imgur.com/BIw0ShA.png

It pushed the content to the bottom, so when there is less than let’s say 12 it goes down.

Best Regards,
- Victor

OK, I see. Thanks!

purchase code: 18a23dd5-5518-4648-ac81-ed4010210cdb

Good afternoon, you still haven’t returned our money. The refund request was submitted 2 months ago. Why?

It turns out that you just stole money?

MiraSmurkov

If your refund request has not been processed, you can always initiate a dispute and involve Envato moderator in your refund request. Please, use this option to resolve your issue.

Hi, I’m interested in possible solution to the problem I already wrote.

I used your plugin with Divi woo extended on their products module.

That is their grid of products and your filter works but messes up their pagination done with Ajax on second page if there are more results then one page .

So I saw this post with same problem someone wrote and in there is something about the possible solution maybe.

https://www.elegantthemes.com/marketplace/divi-woocommerce-extended/support/ticket/133786/page/1

So is it possible to make something from your side to make it compatible?

Their plugin works currently only with native WooCommerce filters.

I can setup both on test page and send you everything to test. I think I already did few months ago.

Hi duckrogers007

You need to modify the pagination with the help of this hook:

do_action( 'wpc_filtered_query_end', $wp_query );

in order to apply pagination parameters on the filtered query. As it is using default query, that’s why you are seeing other products on the second page.

Best Regards,
- Victor

Hello! The mobile version of the filter on the website is not showing up for on the page https://uscaeu.com/

What could be the issue? Access has been provided (if needed)

Hi orderivs

The issue here is in your styles that make display none – https://i.imgur.com/2D848O7.png So you need to check both elements and set it to the display block, and remove this display none important style from it.

Best Regards,
- Victor

HI, Hope you’re well. I’ve upgraded to FE Pro. The filter works fine on the main shop page. https://les-parfums.co.uk/shop/

On other archive type pages (by category or attribute) i.e https://les-parfums.co.uk/product-category/fragrance/for-him/, The “full” filter shows. I’d like it to only show filters and values relative the the page. So in this example it would only show “men” as gender – not “women” or “unisex”. And then only brands that are in the “men” category, sizes that are only in the “men” category, types that are only in the mens category and so on.

I look forward to your help and support. Thank you.

Best regards Ifti

Lol worked it out I think! Created separate filters for each specific category/attribute page and assigned. That works! I notice that I will be creating a similar filter set for each category – is there a “duplicate” filter option – that would make things much speedier! Thanks again!

Hi Ifti

Thank you for choosing Filter Everything PRO.

No, unfortunately, the filter set duplication is only in plans currently, such functionality is not in the plugin yet.

Best Regards,
- Victor

mkv5

mkv5 Purchased

Filtering not working with numeric Taxonomy – I have created a custom taxonomy (using ACF) to store Year data on my custom post type data. When I access the archive page for the custom taxonomy and then apply any other filter (e.g. tag) and click Apply I get a 404. It looks like the filter seems to strip out the numeric information from the archive URL. The issue can be seen here: https://staging.christinanoblearchive.com/taken_year/1971/ (archive page for the Year Taxonomy for the term 1971). If you select a filter and click apply you are directed to https://staging.christinanoblearchive.com/taken_year/ which 404’s.

Hi mkv5

Add at least one letter to the taxonomy year page slug so instead of /1971/ it’ll look like /1971y/ and then test it. Do not forget to update the filter set after this change as well.

Best Regards,
- Victor

mkv5

mkv5 Purchased

Amending the slug to include a non-numeric character does fix the particular issue. I have changed the slug on the Year 1971 to 1971y See https://staging.christinanoblearchive.com/taken_year/1971y/ and filtering now works. I have also confirmed that having a tag with a purely numeric slug breaks in the same way that my custom taxonomy did. I have changed the slug for the tag Agriculture to 777777 and filtering on the tag archive strips out the tag slug and results in a 404 see https://staging.christinanoblearchive.com/tag/77777/ I can amend the all of the existing Year Taxonomy terms to have a non-numeric slug, but I am concerned that if one of my editors adds a new Year term when entering new data then this will have a purely numeric slug and so won’t filter properly.

The tags can have numerical slugs only, if you will use tags only for filtering. But if you are planning to place filters on those tag pages, then they should contain at least one letter in the slug.

If you are using tags only for filtering and have such a 404 error, then the prefix should be changed to the unique one in the Filters -> Settings -> URL prefixes, for example from tag to the fe_tag

Best Regards,
- Victor

I have the same issue as Rrota. Though, it was my first try. WPML not filter says it is not set in translation. I set the setting right according to your docs. Is there any news yet?

Hi stefanv38

We should get the answer approximately tomorrow when all of the tests will be finished. When we receive information about this, we will let you know in this comment thread.

Best Regards,
- Victor

Cheers mate. btw, apart from this, it works awesome. The cascading part is how it should be.

Hi stefanv38

So far, the development team is working on it, in order to find the roots of this behavior. Since it could be caused by any recent updates, this process can take more time than we expected in order to check it all.

Best Regards,
- Victor

Hi,

I’m using FilterEverything Pro with Polylang Pro. Currently, it’s set up not to translate filter sets, which saves me from recreating them all.

However, my filter sets are specific to each product taxonomy, and these taxonomies have translations.

Is it possible to display the filter set in all languages for that taxonomy?

I’ve configured “Where to filter?” to Taxonomy. If I leave it on “Any Taxonomy,” it shows up on all my products, not just the pages of that specific taxonomy. If I choose a taxonomy from the list, I can only select one, and it only works for that language.

Can I select multiple taxonomies in “Where to Filter?” Or is that not possible?

Hi gabriel810

Thank you for choosing Filter Everything PRO.

No, unfortunately, there is no ability to choose multiple taxonomies from that list. This will require creating multiple filter sets.

Best Regards,
- Victor

Hello everyone and thanks for your attention. I would like to ask for help regarding your plugin that I purchased here, I can’t add either the price filter or the filter that shows the subcategories of the searched category. For example, if I open the “Category 1” page it should show on the left “Sub-Category 1; Sub-Category 2; etc.,

Plus I can’t get the license confirmed on Envato, it says I’ve never purchased anything!

Can you help me?

Thank u

Hi beautifullifecreativestudio

Thank you for choosing Filter Everything PRO.

1) Numerical range slider filter – go to the filter set, hit add a new filter, and choose “Custom Field Numeric” If you are using WooCommerce the default meta key for price is _price

2) To turn on hierarchy, you need to go to the filter set navigate to the needed category filter, click “more options” and enable “Show Hierarchy” on the category pages you will see it like this – https://demo.filtereverything.pro/category/health/ you can turn on to hide empty filter terms to “always hide.”

3) In order to get the license, please follow these instructions – https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key We’d recommend using incognito mode for it, in order to log in with the correct account where the plugin was purchased.

Best Regards,
- Victor

Amazing, you are the best. Thank you.

The filters are working fine, but I have issue with the search field. The results are so loosely related to the search querry, that I would even prefer to only search by CPT’s title, but can’t find that option. Any suggestions how to approach it? I’d like the search results to include only the CPTs that have the search term in their title.

I have come up with something like that, but it doesn’t seem to work. The results still include the content of the CPT I’m searching through, which renders the whole search functionality useless. What am I missing or doing wrong?

function limit_search_to_cpt_titles($search, $wp_query) { global $wpdb; }

// Only modify the search query on the main query and if a search term is provided
if ($wp_query->is_main_query() && !is_admin() && $wp_query->is_search() && !empty($wp_query->query_vars['s'])) {
    $search_term = $wpdb->esc_like($wp_query->query_vars['s']);
    $search_term = ' ' . $search_term . ' ';
}
// Modify the search query to limit to CPT 'projekty' titles only
$search = $wpdb->prepare(" 
    AND {$wpdb->posts}.post_title LIKE %s
    AND {$wpdb->posts}.post_type = %s
    AND {$wpdb->posts}.post_status = 'publish'
", $search_term, 'projekty');
return $search;

add_filter(‘posts_search’, ‘limit_search_to_cpt_titles’, 10, 2);

Hi madziel

We’d love to help, but unfortunately, we do not debug/provide custom codes as this is out of the scope of support policies here on CodeCanyon.

Here is an example of the code in the plugin inside how it is adding the search by SKU to the Woo products, so you might want to use this example and make it exclude some entities from searching

add_filter( 'posts_search', [$this, 'addSkuSearchSql'], 10000, 2 );

    public function addSkuSearchSql( $search, $wp_query )
 {
        if( $wp_query->get('flrt_query_hash') || $wp_query->get('flrt_query_clone') ){

            if ( $wp_query->get('wc_query') === 'product_query' || $wp_query->get('post_type') === 'product' /* || $wp_query->get('post_type') === 'product_variation' */ ) {
                global $wpdb;

                $product_id = wc_get_product_id_by_sku( $wp_query->get('s') );
                if ( ! $product_id ) {
                    return $search;
 }

                $product = wc_get_product( $product_id );
                if ( $product->is_type( 'variation' ) ) {
                    $product_id = $product->get_parent_id();
 }

                $search = str_replace( 'AND (((', "AND (({$wpdb->posts}.ID IN (" . $product_id . ")) OR ((", $search );
                return $search;
 }

 }
        return $search;
 }

Best Regards,
- Victor

Thank you, that helped!

Hi, I have created a horiyontal filter: https://www.waschbecken.com/shop/

However it is not filtering, I tried different Where & What to Filter and different Id / Classes but without success. Ajax was disabled.

Screenshots: https://ibb.co/YBLj0DR https://ibb.co/qx8RTDf

Kind regards!

Hi klitzing

We have checked the site, and in the Filter Set changed the query to the second one and hit update, and everything is working.

Also, in the Avada builder we chose the default simple pagination in order to make it work normally, as infinite scrolling using its own logic and ignoring the filtered query. For Woo products, there is this plugin that uses compatible algorithms – https://wordpress.org/plugins/load-more-products-for-woocommerce/

Best Regards,
- Victor

Thank you very much!

Great support!

Hi, on search page (products woo) the filter are not appear. https://tinyurl.com/25c5o2e6 Any suggestions?

Hi rashkoff

Either you are using a search plugin that uses its own not-compatible search template, or your search page doesn’t display widgets. For Woo search it should use the “product search” widget.

In general, there is no support for accounts whose support period has expired following the support policy.

But we can help you later after all requests from accounts with valid support periods are processed. It may take some time – days or weeks.

If you want to receive it faster, please extend your support period, and this request will be processed in the first queue for supported accounts.

Best Regards,
- Victor

Is Item Purchase Code the same as license key? WHen I enter my item purchase code into license key in wordpress, it does not accept it. Where do I find my license key?

Hi optimisticallygreen

Please follow those instructions – https://filtereverything.pro/resources/license-key-issues/#how_to_get_the_license_key in order to get the license key. Also, we’d recommend doing it in the incognito mode.

Best Regards,
- Victor

I have a problem with the plugin. Right after I upload and activate the plugin to my website I get a error message in the back-end. The whole back-end freezes, front-end still working.

Hi HashtekNL

Thank you for choosing Filter Everything PRO.

Can you please send the error text to us? You can send it via PM if you want – https://codecanyon.net/user/fe_support

Best Regards,
- Victor

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