woocommerce layered nav widget returning out of stock products (5 posts)

  1. wildwest99
    Posted 1 year ago #

    I have 'hide out of stock' checked in the settings, however when using the layered navigation widget to filter results by shoe size, it is returning products which have that size listed as an attribute, but the size is out of stock. Is there a fix to this?


  2. WP Lab
    Posted 1 year ago #

    Hi Austin,

    I haven't tested this, but it seems they came up with a solution or workaround on stackexchange:


    It should be noted that "it will not be very performant on larger catalogues, but it technically works" - which might be the reason why this is not part of the WooCommere core...

    For the record, this has been reported to woothemes as well - but as an idea instead of a bug: http://ideas.woothemes.com/forums/133476-woocommerce/suggestions/3846266-layered-navigation-hide-out-of-stock-items

    kind regards,


  3. Bill Karkavos
    Posted 1 year ago #

    A workaround on this is much needed indeed. I ve voted up the idea on the Woothemes Idea board.

  4. byran
    Posted 1 year ago #

    Totally agree on that, have also voted up the idea on Woothemes Idea board. The solution in the above link doesn´t work in latest Woo-Commerce. Any other suggestion on solution?

  5. profago
    Posted 12 months ago #

    I have the same problem, this is a very annoying question for large catalogues. Anyone has find a solution?

Topic Closed

This topic has been closed to new replies.

About this Topic