I have a large number of products that are out of stock. They have a status of ‘out of stock’ and a quatity of 0.
I would like these to be hidden from the admin ‘products page’.
They do not appear in the shop. This is working correctly. I want them to be hidden from the admin pages.
How can I do this?
I am happy to write a piece of code to do this. What function is used to generate the list for the product page?
Thanks, George