Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ordering/Grouping Out of Stock Items to the bottom of the search results › Reply To: Ordering/Grouping Out of Stock Items to the bottom of the search results
May 6, 2021 at 12:37 pm
#33100
Keymaster
Hi,
Actually, I think it is possible without any custom coding. Try using the “stock_status” custom field for the primary ordering, and relevance as secondary: https://i.imgur.com/5ibnSxd.png