How to hide "out of stock" products

- Go to the Settings page, then tab Product

- Turn on two following options:

+ Hide out of stock Products/Variants

+ Only hide out of stock Products/Variants after filtering