PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Issue with Pagination and Filtering (Empty Results) on WOOF

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello WOOF Support,

I'm encountering an issue with pagination and filters on my WooCommerce site:
Website: https://www.auboafumant.com/boutique

Issue:
When I navigate beyond page 1 of filtered products and select another filter, it often results in an empty product grid, even though products exist for that filter.

Steps to reproduce:

  • Apply a filter on the boutique page.
  • Go to page 2 (or any next page).
  • Select another filter option.
  • Observe the empty product grid.

My setup:

  • WooCommerce version: 9.8.1
  • Theme: Astra (latest)
  • Builder: Elementor
  • Tested browsers: Chrome (latest), Firefox

WOOF settings:

  • AJAX mode: Tested both enabled and disabled
  • Autosubmit: Enabled
  • Set filter automatically: Enabled

Already tried:

  • Compatibility snippet from WOOF documentation for Elementor
  • JavaScript workaround to reset pagination
  • Cleared caches repeatedly

Could you please help me?

Thank you,
Au Boa Fumant

Hello Au

Please try to check this option - https://share.pluginus.net/image/i20250410113454.png

Hello Pablo,

Thanks for your reply. I just tried this modification and it didn't solved my problem.
Any other possible solutions please ?

Have a good day

Au boa Fumant

try in file - \woocommerce-products-filter\ext\url_request\js\url_parser.js - add this code - https://share.pluginus.net/image/i20250410123112.png

    //remove pagination
    let all_vars = new URLSearchParams(vars);
    if (all_vars.has('product-page')) {
        all_vars.delete('product-page');
vars ="?" + all_vars;
    }
Clear all cache and do a test

Great, it's working—thank you, Pablo!

I have a second question: would it be possible to add a code snippet that ensures only one filter can be expanded at a time, similar to an accordion UI behavior?

Hello

Unfortunately, the plugin does not have such a feature. The plugin has similar functionality but for sections  -https://products-filter.com/extencion/sections

You can hire a developer to implement this custom functionality.