I came across this app that helped me hide out of stock products and also unhide products that are back in stock. This app requires no coding.
Hides products if product doesn't have any image.
Excludes certain products from hiding.
Hides out of stock variants.
I'm leaving a link below, Check it out.
Please sign in to leave a comment.