The product filter is not working properly

3 replies2 participantsUpdated by Andrew Mitchell

  • Avatar: Crashraider
    Crashraider
    Participant

    If you go to the product page and filter by size M, it shows you, for example, products that only have size L in stock but are out of stock in size M.

    The way it should work is that if I filter by size M, it only shows me products that you have in stock in size M.

    Please, contact administrator
    for this information.

    3 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Crashraider,

    To ensure that out-of-stock products are not displayed in the filter, please enable the following option in your WooCommerce settings:

    Dashboard → WooCommerce → Settings → Products → Inventory → Hide out of stock items from the catalog

    Best regards,
    The 8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Crashraider
    Crashraider
    Participant

    But I want to show out-of-stock products in the catalog, but I don’t want them to be taken into account when filtering. Is that possible?

    Also, I’d like to show out-of-stock products with a label that says “Out of Stock.”

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Crashraider,

    Thank you for reaching out. Unfortunately, the conditions you have specified require additional customization, as such settings are not standard for the filters.

    Best regards,
    The 8Theme Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register