# Showing in-stock and backorder products only

![](https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9rmHbZfTKVQ7YzbIZL%2Fuploads%2FM9nBbhH5jgFjnK04ev8e%2Fimage.png?alt=media\&token=8b7bd754-8413-4d63-8b2a-a7743c573494)

* Open up the **Frontend search settings -> Custom fields** panel
* Click to create a **New filter**
* For the filter name you can choose anything, we typed "Stock"
* For the field name choose **\_*****stock\_status***
* For the field type choose **Hidden**
* For the field value enter: `instock::onbackorder`
* For the field operator choose **EXACTLY LIKE**
* Save the field and the search settings
