Hi @maykato, Your code for hiding OOS products for search results works, but there is an issue. It prevents “Search orders” in WooCommerce>Orders to display any results.
Would it be a chance for you to provide with me an updated code?
This reply was modified 4 years ago by lorensdesign.