Home Forums WoodMart support forum Hiding Out-of-Stock Terms in Filters

Hiding Out-of-Stock Terms in Filters

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #672890

    webkosmos
    Participant

    We’re experiencing an issue with the Woodmart WooCommerce Layer Nav Size filter in the Shop Page Widget Area.

    When a user selects a specific size (e.g. Size 2), the filter displays all products with that attribute, including the out-of-stock products. However, we have already configured WooCommerce to hide out-of-stock products from the catalog.

    The expected behavior is that out-of-stock terms should not appear in the filter options, since those products are not visible on the shop page.

    Could you please help us resolve this?

    Attachments:
    You must be logged in to view attached files.
    #672916

    Hello,

    The Layered Nav filters — including the size filter — currently do not account for variation-level stock.

    They check if any product (including variable products) has that term assigned, regardless of whether the specific variation is in stock or not.

    You can also verify the same behavior by switching to a default WooCommerce theme (like Storefront with the default attributes widget) — it will function the same way.

    Best Regards,

Viewing 2 posts - 1 through 2 (of 2 total)