Debugging

Bypass FiboFilters loading

This setting is useful anytime you test how some elements or functionalities run in your store with FiboFilters on vs off. Bypassing FiboFilters makes it easy to identify potential conflicts with third party plugins.

To completely bypass FiboFilters on any given page, you need to add the ?nofibofilters=2 URL parameter to the page address, for example:

https://example.com/shop/?nofibofilters=2

Additionally, you can bypass JS files only, setting the ?nofibofilters value to 1:

https://example.com/shop/?nofibofilters=1

We recommend bypassing anytime you’re testing FiboFilters for conflicts with your theme or other plugins. It’s a much faster method than manually disabling our plugin from the WordPress dashboard.

Alternatively, you can do it directly in PHP. The following snippet completely bypasses FiboFilters (since v1.6.0):

add_filter( 'fibofilters/nofibofilters', fn() => '2' );

Filters Frond-end Debugger

A filters debugger is a special tool that allows analyzing filters directly on the front-end. If a particular filter should be displayed on a category page, but for some reason, it is not, the filters debugger will help you to find and analyze possible issues.

Turn on the filters debugger

To turn the filters debugger on, go to WooCommerceFiboFiltersFiltersEnable Filters Debugger.

Front-end debugger option
The front-end debugger option in WooCommerceFiboFiltersFilters

Next, in the admin bar in the FiboFilter Pro → select the submenu “Show filters debugger”. The debugger is only visible for logged in users with the “Administrator” role.

Front-end debugger in admin bar
Enabling the front-end debugger on the admin bar

If the admin bar is hidden, the Filters Debugger can be accessed directly by executing the following function in the browser console (since v1.6.0):

fiboFilters.showDebugger();

Debugging process

All filters that were created in the filter builder will also be displayed in the filters debugger window. Detailed information is displayed after expanding the filter name.

Front-end debugger data
SourceThe source of the filter’s data. For example, for a category it is tax_product_cat.
When to showA filter’s visibility that can be changed in the filter settings:
  • always: the filter is always displayed
  • auto: the filter is displayed conditionally, according to the “90% rule”
Is visibleA confirmation whether or not the filter is visible on the particular page
Number of products associated with the filterThis is the percentage value of products associated with a particular filter. For this value to be presented, the “auto” option has to be selected in the “When to show” filter setting.

For example, if this value is “70/100”, it means that only 70% of products in the given view are associated with this filter. Therefore, the “90% rule” is not met, and the filter won’t be displayed.

It’s possible that the remaining 30% of the products should also be associated with the filter – it has to be adjusted in WordPress. Alternatively, the 90% rule value can be lowered globally or for a specific filter.
Current ratioThe current ratio will equal 0.07 if 70/100 of the products are associated with a particular filter
Ratio threshold from which the filter can be visibleBy default, this value is set to 0.9 (90%). At least this percentage of products must be associated with a filter for it to be displayed.
The 90% rule value can be lowered globally or for a specific filter.