> For the complete documentation index, see [llms.txt](https://knowledgebase.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/showing-in-stock-and-backorder-products-only.md).

# Showing in-stock and backorder products only

![](/files/sZxjY86SnaGQVxB29lBC)

* 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
