Code

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Discussion on Filter Everything | WordPress/WooCommerce Product Filter

Cart 15,657 sales
Recently Updated

Stepasyuk supports this item

Supported

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

8952 comments found.

Hello. On our website https://bootcenter.com/auf-lager/ we used your plugin to filter motorboats. Our problem: as soon as the customer selects one or more options, the individual motorboats become unclickable. Why? Here you can see all the settings of the plugin: https://bootcenter.com/wp-content/uploads/2023/09/screenshot-filter.jpg Thank you for your help.

Hi bootcenterkonstanz,

Ah, now it is understandable what you meant by that.

In order to fix this issue you can read this documentation – https://filtereverything.pro/resources/ajax-related-problems/ Right now you can turn off AJAX and it will work.

Best Regards,
- Victor

Hello Victor, thank you very much. The problem with the non-clickable elements is now solved. However, turning off AJAX has created a new issue: when a visitor checks a box, the page reloads (the box stays checked, but it’s still irritating to keep getting back to the header and having to scroll down). Can you help us with this? Please check: https://bootcenter.com/auf-lager/

Hi bootcenterkonstanz,

Add this code to the functions.php it will work like an id anchor:

// FE ID ANCHOR CODE
add_filter( 'wpc_filter_term_url', 'wpc_filters_url_ending_for_specific_page', 20 );
function wpc_filters_url_ending_for_specific_page( $url ) {
     // Check if the current page has a specific ID, e.g., 18540
     if ( is_page( 18540 ) ) {
         $url .= '#after_full_slider_1';
     }

     return $url;
}

The id is the page id where you have a filter set. We checked the page and choose it, so it should work right away.

Best Regards,
- Victor

ACF is using a custom taxonomy however on the frontend, the taxonomy ID is being displayed instead of the name/label.

Hi Victor. Unfortunately none of these are working for me. I also made sure to pay attention to meta names. Can you assist further?

Hi web561,

Can you please send the credentials to the wp-admin dashboard following this document so we can check it? And please provide full information on taxonomy names ect so we can check it all right away.

Best Regards,
- Victor

Hi web561,

1) We have placed the filter set on the specific ingredients page, and chose the correct query from the “And what to filter”

2) Those are taxonomies, ID that you said because you created it by custom field, but it is the “Ingredient Categories” taxonomy you do not need that filter by custom field “category” Also we have added the second category as taxonomy as well.

If you go to the item and see all of the available custom fields for the post – https://prnt.sc/xyQ8UCOLHgnk there are two taxonomies “manuf…” and “category”. Also, you have certification custom field.

You don’t even need any code in your functions.php file.

Best Regards,
- Victor

Hello, I’m Freelancer license user in case it doesn’t show the “purchased” tag. How can I translate this heading and the buttons(shown at the screenshot bellow)? I prefer not to use third-party plugin if possible.

https://i.ibb.co/1sk7jmK/screenshot.png

Hi dopereff,

Thank you for choosing Filter Everything PRO.

The button labels can be translated by Loco Translate and the “Filter” title can be translated via string translation.

Best Regards,
- Victor

Hey, why do I always get the message: Invalid license key. Please enter correct license key.

Even though I bought it???

Hi uGurYXL,

Thank you for choosing Filter Everything PRO.

It is important to keep in mind that the License key and CodeCanyon purchase code are two different things.

If you need to set the License key for the Filter Everything PRO plugin, simply head to Filters -> Settings -> License and click the “Get your License Key” button.

It will take you to a new page where you can log in with your Envato credentials (with an account where you have purchased the plugin) and obtain your License key.

It is a simple process but if are having any issues (automatically logging in with another account) simply use incognito mode in your browser.

Best Regards,
- Victor

Hi there, yesterday I bought your plugin (pro version) and tried to activate it on my new WooCommerce shop. It crashes my dashboard and when I turn on the debugging mode I get this: “Fatal error: Uncaught Error: Call to undefined function FilterEverything\Filter\Pro\Api\curl_init() in /var/www/mysite/wp-content/plugins/filter-everything-pro/pro/Api/ApiRequests.php:53 Stack trace: #0 /var/www/mysite/wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php(327): FilterEverything\Filter\Pro\Api\ApiRequests-> sendRequest() #1 /var/www/mysite/wp-content/plugins/filter-everything-pro/pro/wpc-utility-functions.php(410): flrt_set_the_trident() #2 /var/www/mysite/wp content/plugins/filter-everything-pro/pro/filters-pro.php(64): flrt_init_common() #3 /var/www/mysite/wp-includes/class-wp-hook.php(310): FiltersPro >init() #4 /var/www/mysite/wp-includes/class-wp-hook.php(334): WP_Hook>apply_filters() #5 /var/www/mysite/wp-includes/plugin. php(517): WP_Hook>do_action() #6 /var/www/mysite/wp-settings.php(632): do_action() #7 /var/www/mysite/wp-config.php(96): require_once(’...’) #8 /var/www/mysite/wp-load.php(50): require_once(’...’) #9 /var/www/mysite/wp-admin/admin.php (34): require_once(’...’) #10 /var/www/mysite/wp-admin/plugins.php(10): require_once(’...’) #11 {main} thrown in /var/ www/mysite/wp-content/plugins/filter-everything-pro/pro/Api/ApiRequests.php on line 53”

Can you help me out with this? Thanks!

Hi Victor, thanks for reply. The website is hosted on DigitalOcean VPS and Curl has been enabled and tested. Something else?

Hello again, we have managed to make it work. Server is running on PHP 8.1, so when installing a Curl you need to do it for that version specifically and not just install in in a standard way and let it choose the latest one.

Yes, that’s exactly how it should be done. We are glad to hear that the issue was resolved, great job.

Best Regards,
- Victor

getting an unknown error trying to active pro license

Hi wilkisama,

Thank you for choosing Filter Everything PRO.

It seems that your server does not allow connection with our license server. We can activate it on our side, but we need the following things from you:

1. Credentials to your /wp-admin following this document
2. And your license key.

Please, send all these via PM.

Best Regards,
- Victor

done

Hi wilkisama,

The license was activated and everything is working well now.

Best Regards,
- Victor

Hello,

I have a carpet shop with the gem (theme) but I can’t use any kind of filtering plugin in this theme. For example I have width and length for each carpet in my custom meta key (_width and _length) and I used WBW product filter Pro that didn’t work with the theme It works with my old theme (porto wp bakery) After that I bought Filter every thing pro, It can find the carpets but can’t show them in the shop or any page and just repeat the shop page every time. I used grid filter of the gem in elementor that I can use custom meta key also with that and it didn’t work also. What should I do please help me?

Hi tabrizi_,

Thank you for choosing Filter Everything PRO.

Can you please send the link to the page with the issue? The Filter Everything does not show products it is only filtering them, so if you have a page with WP_Query that displays those products it will filter them. (On the empty page it won’t show anything).

Best Regards,
- Victor

Hi, I have just installed your plugin and I am in the process of configuring it. The problem I have is that the price in the filter does not change when I switch the currency. I am using the CURCY plugin for currency switching which I understand is supposed to be supported. The funny thing is that in the testing environment, when I was testing with free versions of both plugins the filter worked fine when switching the currency. I saw there was a similar case opened about 2 months ago by user ozzycdj. I was wondering if you sorted it out with them. Cheers

OK, no problem. You still have the access to the site. The only thing in the last week was that I moved the website to .com domain so for a period of time wp-admin may not have redirected properly. Keep me updated, I really like the plugin and I am looking forward to be able to use it fully. Cheers

Hi vasjas,

Thank you for your patience.

We have added the code below to the functions.php file and it is working now with the premium version of CURCY, with the next updates it will be added to the plugin:

add_action('init', 'flrt_add_currencies_support_add_pro');
function flrt_add_currencies_support_add_pro() {
    if ( flrt_is_woocommerce() ) {
     // For the CURCY PRO - Multi Currency for WooCommerce
         if ( defined( 'WOOMULTI_CURRENCY_VERSION' ) && WOOMULTI_CURRENCY_VERSION ) {
            // Converts values into selected currency. Visible in the range slider form
            add_filter( 'wpc_set_num_shift', 'flrt_set_curcy_shift', 10, 2 );
            function flrt_set_curcy_shift( $value, $entity_name ) {

                if ( $entity_name === '_price' ) {
                    if ( method_exists( 'WOOMULTI_CURRENCY_Data', 'get_ins' ) && function_exists('wmc_get_price' ) ) {
                        $settings = WOOMULTI_CURRENCY_Data::get_ins();

                        if ( ! method_exists( $settings, 'get_current_currency' ) || ! method_exists( $settings, 'get_default_currency' ) ) {
                            return $value;
                        }

                        $currency           = $settings->get_current_currency();
                        $default_currency   = $settings->get_default_currency();

                        if ( $currency !== $default_currency ) {
                            $value = wmc_get_price( $value, $currency );
                        }
                    }
                }

                return $value;
            }

            // Converts values back to default currency for WP_Query
            add_filter( 'wpc_unset_num_shift', 'flrt_unset_curcy_shift', 10, 2 );
            function flrt_unset_curcy_shift( $value, $entity_name ) {

                if ( $entity_name === '_price' ) {
                    if ( method_exists( 'WOOMULTI_CURRENCY_Data', 'get_ins' ) && function_exists('wmc_revert_price' ) ) {
                        $settings = WOOMULTI_CURRENCY_Data::get_ins();

                        if ( ! method_exists( $settings, 'get_current_currency' ) || ! method_exists( $settings, 'get_default_currency' ) ) {
                            return $value;
                        }

                        $currency           = $settings->get_current_currency();
                        $default_currency   = $settings->get_default_currency();

                        if ( $currency !== $default_currency ) {
                            $value = wmc_revert_price( $value );
                        }
                    }
                }

                return $value;
            }
        }    
    }
}

Best Regards,
- Victor

Thank you!

Hi,

I managed to install the plugin on my page but every time I choose a filter, nothing happens on the gallery. It’s a posts gallery made with Envira

Thanks for your help :-(

Done, Thanks for your help, again

We have set it to the 4th query and everything is working. Please note that your gallery is only showing 10 items at the time. We would recommend adding a pagination addon to it.

Best Regards,
- Victor

Thank you very much !

Hi,

I can’t find the “Filter Everything” widget in Elementor.

Help? :-(

Fixed by another way :-( No Elementor widget found

Hi queentobe,

In Elementor the widget can be found under the “WordPress” section – https://prnt.sc/c8HiNqSv89Jl you can find the filter widget there – https://prnt.sc/78mh5h6b1gwv and Place it on your page – https://prnt.sc/SEDOdraFAdrE

Best Regards,
- Victor

Hey Viktor, how can i display the right sorting in my Filters? From the lowest number to highest? Here you can see the Blue works automaticly correct, but the red not :/ https://prnt.sc/a4m0WeuCwP3p

Okay i found the tight solution. Thanks anyway :D

Hi ProdbyDaan,

We are glad to hear that the issue was resolved.

Best Regards,
- Victor

I am trying to activate my license, but I get an Unknown error when I try to do it.

Hi formo1,

Thank you for choosing Filter Everything PRO.

It seems that your server does not allow connection with our license server. We can activate it on our side, but we need the following things from you:

1. Credentials to your /wp-admin following this document
2. And your license key.

Please, send all these via PM.

Best Regards,
- Victor

hi , i’d like to try this first since i can find no documentation on elementor usage , like is there an elementor widget for it in the pro version ? so i’ll try the free version first. is it possible to migrate my filters on the free version if i buy the paid version after ?

thanks in advance for your reply

Hi AFRINFORMATIQUE,

Thank you for your interest in the Filter Everything plugin.

Under the “WordPress” section – https://prnt.sc/c8HiNqSv89Jl you can find the filter widget – https://prnt.sc/78mh5h6b1gwv and Place it on your page – https://prnt.sc/SEDOdraFAdrE

When you have the free version all you need to do is install the RPO without deleting the Free one, and all the filters will be on the place.

Best Regards,
- Victor

I have a problem with the pro version (the plugin was purchased today). Free version is working fine, but i’m limited with the options there. Some info about the server: Apache, PHP 8.1, cURL 7.68. The installation went ok, but after activation the dashboard does not work anymore (and it’s working well after deactivation via ftp). I’m getting an error:

Fatal error: Uncaught Error: Call to undefined function FilterEverything\Filter\Pro\Api\curl_init() in /var/www/mysite/wp-content/plugins/filter-everything-pro/pro/Api/ApiRequests.php:53 Stack trace: #0 /var/www/mysite/wp-content/plugins/filter-everything-pro/pro/wpc-default-hooks-pro.php(327): FilterEverything\Filter\Pro\Api\ApiRequests-> sendRequest() #1 /var/www/mysite/wp-content/plugins/filter-everything-pro/pro/wpc-utility-functions.php(410): flrt_set_the_trident() #2 /var/www/mysite/wp content/plugins/filter-everything-pro/pro/filters-pro.php(64): flrt_init_common() #3 /var/www/mysite/wp-includes/class-wp-hook.php(310): FiltersPro ->init() #4 /var/www/mysite/wp-includes/class-wp-hook.php(334): WP_Hook>apply_filters() #5 /var/www/mysite/wp-includes/plugin. php(517): WP_Hook->do_action() #6 /var/www/mysite/wp-settings.php(632): do_action() #7 /var/www/mysite/wp-config.php(96): require_once(’...’) #8 /var/www/mysite/wp-load.php(50): require_once(’...’) #9 /var/www/mysite/wp-admin/admin.php (34): require_once(’...’) #10 /var/www/mysite/wp-admin/plugins.php(10): require_once(’...’) #11 {main} thrown in /var/ www/mysite/wp-content/plugins/filter-everything-pro/pro/Api/ApiRequests.php on line 53

Hi skola_liman,

Thank you for choosing Filter Everything PRO.

If you already purchased the plugin, please write your request from the account where you purchased it.

Best Regards,
- Victor

Hello, I am a PRO purchaser. Licence Code: 45b79f09-1574-4470-943c-dbedc440bab1 I want to show the filter on a regular webpage (not shop page, not homepage). there is widget for Woocommerce product grid (shortcode [product]). The filter filters products by different fields. how can I set the filter to appear on this page? How should I set the “where to filter?” fields.

Thanks Isabella

Hi Isabella,

Thank you for choosing Filter Everything PRO.

You can go to the filter set setting and in the “Where to filter” dropdown choose “Pages” + “My page name”.

Best Regards,
- Victor

Great thanks this worked well!

Hi Isabella,

I’m glad that your issue 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

Hi, is there an easy way to style the “filter title”? - Want it bold

Oh now we see, well you didn’t turn on AJAX functionality. Right now it is just refreshing the page that’s why there is no loading icon.

Best Regards,
- Victor

Now it shows but this is the error we get now?

It appears that this page does not contain a container with the specified «HTML id or class of the Posts Container». Try to specify the correct one in the Filter Set settings or the common plugin Settings.

You need to specify inside the filter set setting “HTML ID or Class container…” the class or ID of the products container for example like here – https://prnt.sc/XkpALAvIkrng use the browser tool inspect to find the correct one.

Best Regards,
- Victor

Hi. I download the zip plugin and installed it and entered the key. It says “Invalid license key. Please enter correct license key.”

Tried i many times now. Cant activate it. Please help :-)

Br Kenneth

Hi kst2,

Thank you for choosing Filter Everything PRO.

Please check this page and read the “How to get the license key” – https://filtereverything.pro/resources/license-key-issues/

Best Regards,
- Victor

Hi, I’m looking to include direct links to my category pages (rather than filters) as part of my filter set, however I don’t seem to be able to achieve this. I’ve tried 2 approaches:

1) Manipulate the links/URL of the Product Category filters to link directly to the category pages, rather than a filter – I couldn’t find a way to achieve this.

2) Add the category list to the top of the filter set. This works for desktop, however as I am using ‘Special Pop-up Filters Widget for Mobile’ this doesn’t seem to work either as the list is displayed on the page, rather than in the popup. I was trying a few things to achieve this, mainly ‘wpc_terms_before_display’.

Any advice would be appreciated.

Thanks

wpc_terms_before_display

Hi highfielddashmore,

Well, you can make 2nd option work by using hook ‘wpc_before_mobile_filters_widget’:

// Define a callback function for the 'wpc_before_mobile_filters_widget' action hook
function custom_before_filters_widget_callback() {
    echo '<select name="choice">
            <option value="first">First Value</option>
            <option value="second" selected>Second Value</option>
            <option value="third">Third Value</option>
          </select>';
}
// Hook the callback function to the 'wpc_before_mobile_filters_widget' action
add_action('wpc_before_mobile_filters_widget', 'custom_before_filters_widget_callback', 10, 2);

Best Regards,
- Victor

Perfect! Thank you Victor, my apologies I didn’t see that hook documented anywhere, that’s exactly what I was looking for! Appreciate the quick response.

Hello Victor,

tanks for the Plugin, after Update the Filters don’t work anymore. Is there a known bug with version 1.7.14?

https://www.revisionsklappen.com/produkte/revisionsklappe-revisionstuer-brandschutzklappe-brandschutztuer/

The Changelog says 1.7.15 ist the latest Version, but there is no Update for that at the WP Backend.

Thanks and BR

Hi Victor, thanks.

After download and Update to .15 version. The Filter still don’t work.

Do you have any Idea why? Thx and BR

Hi AndersUSeim,

The second thing you can try is to go to the filter set setting and in the “And what to filter?” choose another query and hit update, then check the filter workability.

Best Regards,
- Victor

Hi Victor, thanks a lot, that solved it :-)

BR

Hi, is there a possibility to make our filters look less a mess? Now the levels go into the product arhcive: https://petsolutions.stagingmtea.be/winkel/cat-hond_wandelen-or-hond_wandelen_kleding-or-hond_wandelen_kleding_jassen/

Hi mrijnwal,

Absolutely, you can change this mess styling with this simple fix – https://prnt.sc/bkP_dCROA7Ha

Go to the Filters -> Settings -> Experimental -> Custom CSS and paste this code:

.wpc-filters-main-wrap ul.children {
  margin: -30px;
}

This should fix the mess.

Best Regards,
- Victor

We still face some issues now. 1° We cant click on the ”+” signs anymore 2° options are overlapping https://www.loom.com/share/794dd85675874742bf45acde0baab6b2

Hi mrijnwal,

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

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