Skip to content
Advertisement

Display out of stock products on specific category – Woocommerce

I use the woocommerce / inventory menu settings to hide all of the “out of stock” products from category listings.

But there are some products them i want to display in certain categorys even is the stock is 0. Is there a function that can override the upper “main switch” in certain categorys?

Advertisement

Answer

Somehow I coudnt find it before, but here is the solution regarding to businessbloomer:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement