PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]
Botoscope is currently in early access

Support Forum

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

“In Stock” filter shows products with the selected variation even when that variation is out of stock

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.

I’m experiencing an issue with the “In Stock” filter button in the product filter on my WooCommerce store.

The expected behavior is that when a customer selects a specific variation (for example, a size) and then clicks “In Stock”, the filter should display only products where that specific variation is actually available (stock quantity > 0).

However, this is not what happens.

Example:
I have products with size variations (XS, S, M, etc.). Some products have the XS variation defined, but the stock quantity for XS is 0 (out of stock).

When I:

  1. Select the XS size in the filter

  2. Click “In Stock”

the filter still shows all products that simply have the XS variation, even if the XS variation is out of stock.

Expected behavior:
The filter should show only products where the selected variation (e.g., XS) has stock greater than 0.

Current behavior:
The filter shows all products that contain the XS variation, regardless of whether that variation is actually in stock.

Question:
Is there a way to make the “In Stock” filter work based on the stock status of the selected variation, not just on the existence of the variation?