NO BUG: Checkbox filter including out of stock items

Browser: Safari 26.0; Chrome 140
OS: macOS
URL: https://wildlingstoys.com/shop-test/

I’m rebuilding my WooCommerce shop filters using Bricks Builder functionality (migrating from WP Gridbuilder, which had the opposite issue of not returning all options).

Can anyone confirm if I’ve missed a setting or misconfigured something? Or is this likely a bug in Bricks Builder’s filter functionality? Any guidance would be greatly appreciated!

Current Behavior

  • Filters are returning all options, including categories that are entirely out of stock.

Example:

  • Donations show a count of 2, but both products are out of stock. If I select the filter, the grid correctly returns “no items found.”
  • Tickets show a count of 3. Only 1 product is in stock, and selecting the filter correctly returns just that 1 item.
  • This behavior is consistent across all filters.

Settings

  • Main Query Loop**: Hide out of stock = enabled
  • Filter**: Hide out of stock = enabled
  • WooCommerce**: Hide out of stock = enabled

Expected Behavior

  • Out-of-stock products should not be counted in filter counts.
  • Categories that are entirely out of stock should not appear as filter options.

Environment

  • Bricks Builder: 2.0.2
  • WooCommerce: 10.1.2
  • WP Grid Builder: 2.3.0
  • ACPT: 2.0.35
  • Advanced Themer for Bricks: 3.3.7
  • Core Framework: 1.9.0
  • Fluent Snippets: 10.51
  • FastPixel Website Accelerator: 1.0.48 (page excluded)
  • Perfmatters: 2.5.0
  • Relevanssi: 4.25.0





Hi @userblah,

I can replicate the issue on your website, but two of us can’t replicate it locally. How do you have stock management configured per product?
I’ve tested multiple ways, but the count number was always correct.

You could also try to disable other plugins, just in case, if some of them is affecting this.

Please let me know,
Matej

1 Like

Well, I figured it out. I disabled WP Gridbuilder, and it instantly resolved itself. I didn’t think it would have caused a complication since they weren’t on the same page, but I’m not surprised. Ironically, WP Gridbuilder’s biggest issue was that it wasn’t returning all options. Now it was making more options appear than it should have.

Thank you for taking a look!

Ah, yeah, having another filtering plugin installed and active is not something that you should have if you use Bricks filters, as it might cause issues like this. The same actually goes for mixing all filtering plugins.

Anyway, I’m glad you figured it out, so I’m marking the topic as no-bug.

Thanks for response,
Matej