Tagged: search
Hello,
Ajax product search to show down the products when 1 letter is pressed instead of minimum 3 letters. Right now it shows products with image when 3 letters are pressed. Is it possible to show that when even 1 letter is pressed. Any jquery or other code to do that? Right now i’m working on localhost.
Here it is what i mean: https://www.screencast.com/t/bx76lz6ZVxnF
TIA
Hey alvi147,
Thanks for the update.
That is possible but you need to modify the js > avia.js file directly. Look for the AviaAjaxSearch function around line 35:
//creates ajax search
new $.AviaAjaxSearch({scope:'#header, .avia_search_element'});
Set the minChars option to 1 instead of 3:
//creates ajax search
new $.AviaAjaxSearch({scope:'#header, .avia_search_element', minChars: 1});
Best regards,
Ismael