This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: How to set a "typing delay" before presenting search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to set a "typing delay" before presenting search results Reply To: How to set a "typing delay" before presenting search results

#30549
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

Thank you for your kind words!

There is actually a 300ms delay hard coded for the input triggers. It is not possible to change, but there are few options you can change to make the mobile experience better.
First, I recommend checking if this option is turned off. By default it should be, so the mobile keyboard should not show when the search stops. Some devices (mostly Apple IOS) still also have an automatic keyboard control, which cannot be altered. It changes frequently, so I cannot tell for sure which ones do that. An even better practice in my opninion is, to completely turn off the live search on typing on mobile devices, and allow the mobile keyboard “magnifier” button (return key equivalent) to trigger the search: https://i.imgur.com/h09DGTv.png

To sort the products by rating, sales number (popularity) or the price, you can use the custom field based ordering, and use one of the following fields there:

total_sales
_wc_average_rating
_price

For example, sorting by price ascending: https://i.imgur.com/4OBdhS2.png