To show out-of-stock products at the end of the search results follow these steps:
- Go to the Searchanise (Smart Search & Filter) control panel > Preferences section > Products tab.
- Select Show out of stock products at the end of results list option.
- Apply the changes.
That’s it. The out-of-stock products will be displayed at the end of the list with the search results.