In Sparq, you have the ability to manage the visibility of out-of-stock items in your collections and search results. By enabling a specific option in the general settings, you can ensure that products with no available inventory are hidden from view.
Go to the menu item Theme > General settings
Within the general settings, locate the "Hide out of stock" section., locate the "Out-of-Stock Visibility".
Enable the option that controls the visibility of out-of-stock products in collections and search results.
Once you change the setting, the system will scan your catalog again for out-of-stock data. This might take a while depending on your catalog size for your store.